joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051610
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x14004b320]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x14004aec0]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, [0x14005b54c]
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rsi - 0x14]
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
lea r9d, [rsi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x14005c350]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.14004af30
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140050da0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400527b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140053448
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140053492
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140053492
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140053492
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140053492
cmp dword [rcx + 0x84], 0xe
jbe 0x140053492
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140053494
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r9d, r9d
mov qword [rbp + 0x47], 0
mov r8d, 0xc8
mov dword [rsp + 0x20], 0xc4000000
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x24], 0x424d53fe
mov rdi, rcx
mov qword [rsp + 0x28], 0x40
mov qword [rbp - 0x79], 0
mov qword [rbp - 0x71], 0
mov qword [rbp - 0x69], 0
mov qword [rbp - 0x61], 0
mov qword [rbp - 0x59], 0
mov qword [rbp - 0x51], 0
mov dword [rbp - 0x49], 0
mov qword [rbp - 0x45], 0x80024
mov dword [rbp - 0x3d], 0x7f
mov dword [rbp - 0x39], 0xcdab0201
mov dword [rbp - 0x35], 0xcdab0201
mov dword [rbp - 0x31], 0xcdab0201
mov dword [rbp - 0x2d], 0xcdab0201
mov dword [rbp - 0x29], 0x78
mov dword [rbp - 0x25], 2
mov dword [rbp - 0x21], 0x2100202
mov dword [rbp - 0x1d], 0x2240222
mov dword [rbp - 0x19], 0x3020300
mov qword [rbp - 0x15], 0x3110310
mov qword [rbp - 0xd], 0x260001
mov dword [rbp - 5], 0x200001
mov qword [rbp - 1], 1
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0
mov qword [rbp + 0x17], 0
mov dword [rbp + 0x1f], 0
mov qword [rbp + 0x23], 0xe0003
mov dword [rbp + 0x2b], 2
mov dword [rbp + 0x2f], 1
mov qword [rbp + 0x33], 0x30002
mov dword [rbp + 0x3b], 0
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400011d2
xor r9d, r9d
lea rdx, [rbp + 0x47]
mov rcx, rdi
lea r8d, [r9 + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140001a00
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400022d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000231e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000231e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000231e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000231e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000231e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002320
xor al, al
add rsp, 0x28
ret
Function at 0x140001120
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140046020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.140001110
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.140001110
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.140001110
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.140001110
lea ecx, [rdx + 0x42]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x41]
call fcn.140001110
lea ecx, [rdx + 0x45]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x44]
call fcn.140001110
lea ecx, [rdx + 0x4c]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4b]
call fcn.140001110
lea ecx, [rdx + 0x3e]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x3d]
call fcn.140001110
lea ecx, [rdx + 0x4f]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x4e]
call fcn.140001110
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.140001110
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x140040b4c]
call fcn.140001110
movzx ecx, word [0x140040b4e]
mov edx, 0xb
mov word [rsp + 0x54], ax
call fcn.140001110
movzx ecx, word [0x140040b50]
mov edx, 0xc
mov word [rsp + 0x56], ax
call fcn.140001110
movzx ecx, word [0x140040b52]
mov edx, 0xd
mov word [rsp + 0x58], ax
call fcn.140001110
movzx ecx, word [0x140040b54]
mov edx, 0xe
mov word [rsp + 0x5a], ax
call fcn.140001110
movzx ecx, word [0x140040b56]
mov edx, 0xf
mov word [rsp + 0x5c], ax
call fcn.140001110
movzx ecx, word [str.Unknown_exception]
mov edx, 0x10
mov word [rsp + 0x5e], ax
call fcn.140001110
movzx ecx, word [0x140040b5a]
mov edx, 0x11
mov word [rsp + 0x60], ax
call fcn.140001110
movzx ecx, word [0x140040b5c]
mov edx, 0x12
mov word [rsp + 0x62], ax
call fcn.140001110
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x1400012b0
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000d670
add rsp, 0x70
pop rbx
ret
Function at 0x140003510
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140046020]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rdi, rcx
mov r9, rdx
jb 0x140003541
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 8
mov r8, rdi
jb 0x14000354e
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.140001110
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.140001110
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.140001110
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.140001110
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.140001110
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.140001110
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x140040cfc]
call fcn.140001110
movzx ecx, word [0x140040cfe]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.140001110
movzx ecx, word [0x140040d00]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.140001110
movzx ecx, word [0x140040d02]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.140001110
movzx ecx, word [0x140040d04]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.140001110
mov word [rsp + 0x44], ax
mov r10d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor esi, esi
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r10 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x140003630
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x46], si
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400036a0
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000369b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003716
mov rcx, r8
call fcn.14000db48
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400036ea
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400036e5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003716
mov rcx, r8
call fcn.14000db48
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000d670
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.140016888
int3
Function at 0x140003720
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x140003742
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400037d6
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400037b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400037b0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003882
mov rcx, r8
call fcn.14000db48
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
mov qword [rdi + 0x18], 7
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x1400037f0
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003864
lea rdx, [rdx*2 + 2]
jmp 0x14000383b
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x140049040]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x14000386b
cmp rax, 8
jb 0x140003864
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000385f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003882
mov rcx, r8
call fcn.14000db48
xor al, al
jmp 0x1400037b7
cmp rax, 8
jb 0x1400037b5
lea rdx, [rax*2 + 2]
jmp 0x140003788
call fcn.140016888
int3
Function at 0x140003890
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x1400038b2
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140003946
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003925
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003920
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400039f2
mov rcx, r8
call fcn.14000db48
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
mov qword [rdi + 0x18], 7
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140003960
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400039d4
lea rdx, [rdx*2 + 2]
jmp 0x1400039ab
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2400
mov qword [rsp + 0x20], rbp
lea rdx, [0x140046c40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1400039db
cmp rax, 8
jb 0x1400039d4
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400039cf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400039f2
mov rcx, r8
call fcn.14000db48
xor al, al
jmp 0x140003927
cmp rax, 8
jb 0x140003925
lea rdx, [rax*2 + 2]
jmp 0x1400038f8
call fcn.140016888
int3
Function at 0x140004b40
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x140004cc2
test byte [r8 + 0x5e], 0x40
jne 0x140004b6d
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
mov r8d, dword [r8 + 0xb0]
add rdx, rax
movzx eax, word [rsi + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140004cc2
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140004ba6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140004bbd
add rdx, 0x28
cmp rdx, r9
jb 0x140004b94
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x140004cb8
cmp rbx, r15
jae 0x140004cb8
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x140004cb3
lea ecx, [rax - 8]
shr ecx, 1
je 0x140004ca7
lea r11, [rbx + 8]
mov edi, ecx
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x140004c32
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x140004c3e
cmp ax, 0xa
jne 0x140004c96
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x140004c8b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140004c72
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x140004c7d
add rax, 0x28
cmp rax, r10
jb 0x140004c60
jmp 0x140004c8b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x140004c8e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x140004c10
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x140004bf4
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x140006ac0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140046020]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400064e0
lea rcx, [0x14008aa40]
call fcn.140009ca0
mov ecx, 0x74
xor edx, edx
call fcn.140001110
lea ecx, [rdx + 0x65]
mov word [rbp - 0x30], ax
lea edx, [rcx - 0x64]
call fcn.140001110
lea ecx, [rdx + 0x72]
mov word [rbp - 0x2e], ax
lea edx, [rcx - 0x71]
call fcn.140001110
lea ecx, [rdx + 0x72]
mov word [rbp - 0x2c], ax
lea edx, [rcx - 0x71]
call fcn.140001110
lea ecx, [rdx + 0x2b]
mov word [rbp - 0x2a], ax
lea edx, [rcx - 0x2a]
call fcn.140001110
lea ecx, [rdx + 0x60]
mov word [rbp - 0x28], ax
lea edx, [rcx - 0x5f]
call fcn.140001110
lea ecx, [rdx + 0x67]
mov word [rbp - 0x26], ax
lea edx, [rcx - 0x66]
call fcn.140001110
lea edx, [rcx - 0x65]
mov word [rbp - 0x24], ax
call fcn.140001110
xor ecx, ecx
mov word [rbp - 0x22], ax
lea edx, [rcx + 8]
call fcn.140001110
lea edx, [rcx + 9]
mov word [rbp - 0x20], ax
movzx ecx, word [0x140040d5a]
call fcn.140001110
movzx ecx, word [str.pause]
mov edx, 0xa
mov word [rbp - 0x1e], ax
call fcn.140001110
movzx ecx, word [0x140040d5e]
mov edx, 0xb
mov word [rbp - 0x1c], ax
call fcn.140001110
movzx ecx, word [0x140040d60]
mov edx, 0xc
mov word [rbp - 0x1a], ax
call fcn.140001110
movzx ecx, word [0x140040d62]
mov edx, 0xd
mov word [rbp - 0x18], ax
call fcn.140001110
movzx ecx, word [0x140040d64]
mov edx, 0xe
mov word [rbp - 0x16], ax
call fcn.140001110
movzx ecx, word [0x140040d66]
mov edx, 0xf
mov word [rbp - 0x14], ax
call fcn.140001110
movzx ecx, word [0x140040d68]
mov edx, 0x10
mov word [rbp - 0x12], ax
call fcn.140001110
mov word [rbp - 0x10], ax
mov r10d, 0x133
xor eax, eax
xor r8d, r8d
mov word [rbp - 0xe], ax
mov r9d, r8d
nop dword [rax]
nop dword [rax + rax]
movsxd rax, r9d
lea rcx, [rbp - 0x30]
lea rcx, [rcx + rax*2]
lea eax, [r10 + r9]
inc r9d
xor word [rcx], ax
cmp r9d, 0x11
jb 0x140006c30
xor edx, edx
mov word [rbp - 0xe], r8w
mov cl, 0x52
call fcn.140002120
mov edx, 1
mov byte [rbp - 0x40], al
mov cl, 0x65
call fcn.140002120
mov edx, 2
mov byte [rbp - 0x3f], al
mov cl, 0x73
call fcn.140002120
mov edx, 3
mov byte [rbp - 0x3e], al
mov cl, 0x70
call fcn.140002120
mov edx, 4
mov byte [rbp - 0x3d], al
mov cl, 0x61
call fcn.140002120
mov edx, 5
mov byte [rbp - 0x3c], al
mov cl, 0x77
call fcn.140002120
mov edx, 6
mov byte [rbp - 0x3b], al
mov cl, 0x6e
call fcn.140002120
mov edx, 7
mov byte [rbp - 0x3a], al
mov cl, 0x30
call fcn.140002120
mov edx, 8
mov byte [rbp - 0x39], al
call fcn.140002120
mov edx, 9
mov byte [rbp - 0x38], al
mov cl, 0x31
call fcn.140002120
mov byte [rbp - 0x37], al
xor eax, eax
mov byte [rbp - 0x36], al
nop word [rax + rax]
movsxd rax, r8d
lea rdx, [rbp - 0x40]
add rdx, rax
lea eax, [r8 + 0x13]
inc r8d
xor byte [rdx], al
cmp r8d, 0xa
jb 0x140006cf0
lea rdx, [rbp - 0x30]
mov byte [rbp - 0x36], 0
lea rcx, [rbp - 0x40]
call fcn.140004f20
lea rcx, [0x14008aa40]
call fcn.140009ca0
lea rcx, str.pause
call fcn.140016308
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000d670
add rsp, 0x60
pop rbp
ret
Function at 0x14001beb4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001bce0

Function at 0x1406bd058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406bd1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406bd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406bd06f
add dl, dl
jne 0x1406bd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406bd0f6
xor eax, eax
add dl, dl
jne 0x1406bd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406bd1ad
add dl, dl
jne 0x1406bd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406bd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406bd07e
mov eax, 1
add dl, dl
jne 0x1406bd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406bd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406bd0fb
sub eax, ebx
mov ebx, 1
jne 0x1406bd14c
mov ecx, 1
add dl, dl
jne 0x1406bd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406bd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406bd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406bd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406bd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406bd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406bd15d
cmp eax, 0x7d00
jae 0x1406bd19b
cmp eax, 0x500
jb 0x1406bd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406bd07e
cmp eax, 0x7f
ja 0x1406bd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406bd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406bd1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406bd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1403ae058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1403ae1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1403ae089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403ae06f
add dl, dl
jne 0x1403ae096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403ae0f6
xor eax, eax
add dl, dl
jne 0x1403ae0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403ae1ad
add dl, dl
jne 0x1403ae0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403ae0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403ae0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403ae0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1403ae0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1403ae07e
mov eax, 1
add dl, dl
jne 0x1403ae106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403ae113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403ae0fb
sub eax, ebx
mov ebx, 1
jne 0x1403ae14c
mov ecx, 1
add dl, dl
jne 0x1403ae12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1403ae13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403ae123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1403ae07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1403ae168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1403ae175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403ae15d
cmp eax, 0x7d00
jae 0x1403ae19b
cmp eax, 0x500
jb 0x1403ae196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1403ae07e
cmp eax, 0x7f
ja 0x1403ae19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1403ae07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1403ae1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1403ae07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20