joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae150
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ae178
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ae178
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400b1d40
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, [0x1400ba555]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b1d95
mov rdi, rax
lea rdx, [0x1400ba576]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b1d95
mov rsi, rax
lea rdx, [0x1400ba584]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b1d95
mov r14, rax
xor edi, edi
jmp 0x1400b1e1d
lea rcx, [0x1400ba510]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b1e89
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b1e89
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b1e89
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b1e89
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400b1e89
mov r14, qword [rsp + 0x20]
movzx eax, byte [0x1400d7030]
mov ecx, 0x18
mov edx, 8
call fcn.1400541c0
test rax, rax
je 0x1400b1e8b
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1400d7078], rbx
je 0x1400b1e7c
mov rsi, rax
cmp qword [rbx], 0
je 0x1400b1e66
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.1400541d0
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
mov ecx, 8
mov edx, 0x18
call fcn.14005f780
int3
Function at 0x140024310
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400232b0
nop
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.140026550
mov rax, qword [rsp + 0x60]
add rax, 0x2c
mov rcx, rax
call fcn.140026550
mov rax, qword [rsp + 0x60]
add rax, 0x40
mov rcx, rax
call fcn.140026550
mov rax, qword [rsp + 0x60]
add rax, 0x58
mov rcx, rax
call fcn.140021de0
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x88], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x90], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov rax, qword [rsp + 0x60]
add rax, 0x88
mov qword [rsp + 0x20], rax
lea r9, [0x14026def0]
mov r8d, 1
xor edx, edx
lea rcx, [0x14026df00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
call qword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x78], 0xffffffffffffffff
jne 0x140024437
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x80], 0
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x140037770
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x70]
add rax, 0x58
mov rcx, rax
call fcn.140013ae0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400377f8
cmp dword [rsp + 0x30], 3
je 0x1400377ee
cmp dword [rsp + 0x30], 4
je 0x1400377ee
cmp dword [rsp + 0x30], 0xb
jne 0x1400377f8
mov eax, dword [rsp + 0x34]
cmp rax, 4
je 0x1400377fc
xor al, al
jmp 0x140037856
mov rax, qword [rsp + 0x70]
add rax, 0x58
mov rcx, rax
call fcn.140013ae0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140037854
xor al, al
jmp 0x140037856
mov al, 1
add rsp, 0x68
ret

Function at 0x140049230
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x1400562d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402582b8]
mov rcx, qword [rsp + 0x50]
call fcn.1400220a0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14007cf20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400220a0
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x78], rax
lea rdx, [0x1402582e0]
mov rcx, qword [rsp + 0x78]
call fcn.1400220a0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.14007cf20
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400220a0
nop
lea rcx, [rsp + 0x98]
call fcn.140026cc0
nop
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x170]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0xa0]
call fcn.140021f00
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xb8]
call fcn.14007c8a0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140013ae0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xb8]
call fcn.140026cc0
nop
cmp dword [rsp + 0x38], 0
jne 0x14005653a
lea rax, [rsp + 0x190]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
call fcn.140021f00
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.14007c8a0
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140013ae0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xe8]
call fcn.140026cc0
nop
cmp dword [rsp + 0x40], 0
jne 0x14005652e
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x208], ecx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0xf0]
call fcn.1400282e0
nop
lea rcx, [rsp + 0x110]
call fcn.1400282e0
mov eax, dword [rsp + 0x44]
add rsp, 0x1b8
ret
Function at 0x140065cd0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x378
lea rax, [rsp + 0x100]
mov qword [rsp + 0x50], rax
lea rdx, [0x140257588]
mov rcx, qword [rsp + 0x50]
call fcn.1400220a0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14007cf20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400220a0
nop
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x78], rax
lea rdx, [0x1402575b0]
mov rcx, qword [rsp + 0x78]
call fcn.1400220a0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.14007cf20
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400220a0
nop
lea rcx, [rsp + 0x98]
call fcn.140026cc0
nop
mov r8d, 0x104
lea rdx, [rsp + 0x160]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rax, [rsp + 0x140]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
call fcn.140021f00
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xb8]
call fcn.14007c8a0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140013ae0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xb8]
call fcn.140026cc0
nop
cmp dword [rsp + 0x30], 0
jne 0x140065ed5
mov eax, dword [rsp + 0x388]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x34], 4
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1402575c8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x380]
mov ecx, dword [rsp + 0x388]
mov dword [rax + 0x208], ecx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xe0]
call fcn.1400282e0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400282e0
nop
add rsp, 0x378
ret
Function at 0x14006a0f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x2c], 1
mov ecx, SafeArrayPutElement
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14006a13d
mov dword [rsp + 0x2c], 2
lea rcx, [rsp + 0x38]
call fcn.14001f6f0
nop
lea rcx, [rsp + 0x60]
call fcn.14001f6f0
nop
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_SetErrorInfo
cmp dword [rsp + 0x24], 0xc8
je 0x14006a175
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_SetErrorInfo
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x90]
call fcn.140061840
test eax, eax
jne 0x14006a239
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14006a239
movzx eax, byte [0x14029a010]
test eax, eax
je 0x14006a239
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetPhysicalCursorPos]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
lea rdx, [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.1400d13e0
movzx eax, al
test eax, eax
je 0x14006a239
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.14001f4d0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.140063e00
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14006a239
mov dword [rsp + 0x24], 0x1b7740
mov r9d, dword [rsp + 0x24]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14006a260
jmp 0x14006a27a
cmp dword [rsp + 0x28], 1
jne 0x14006a26f
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_SetErrorInfo
xor eax, eax
cmp eax, 1
jne 0x14006a163
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x60]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x38]
call fcn.140026cc0
mov eax, dword [rsp + 0x34]
add rsp, 0x88
ret
Function at 0x14007aec0
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x2c], 0x4c11db7
mov rax, qword [rsp + 0x40]
mov r8d, 0x400
xor edx, edx
mov rcx, rax
call fcn.14023e690
nop
mov dword [rsp + 0x20], 0
jmp 0x14007aefb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jg 0x14007afbb
mov r8b, 8
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.14007b050
shl eax, 0x18
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x24], 0
jmp 0x14007af3e
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 8
jge 0x14007af8f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
and eax, 0x80000000
test eax, eax
je 0x14007af65
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
jmp 0x14007af6d
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
shl eax, 1
xor eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x14007af34
movsxd rax, dword [rsp + 0x20]
mov r8b, 0x20
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
call fcn.14007b050
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x14007aef1
add rsp, 0x38
ret

Function at 0x14007e2b0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [0x14025ed60]
mov rcx, qword [rsp + 0x48]
call fcn.1400220a0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14007cf20
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14001f4d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007c510
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140013ae0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xe0], rax
lea rcx, [rsp + 0x70]
call fcn.140026cc0
nop
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xe0], 0
jne 0x14007e388
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.140026cc0
mov eax, dword [rsp + 0x38]
jmp 0x14007e3e8
mov dword [rsp + 0x20], 0x2710
mov r9d, 0x2710
mov r8d, 0x2710
mov edx, 0x2710
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0xe0]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14007e3d2
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x30]
call fcn.140026cc0
mov eax, dword [rsp + 0x3c]
jmp 0x14007e3e8
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x30]
call fcn.140026cc0
mov eax, dword [rsp + 0x40]
add rsp, 0xa8
ret
Function at 0x14009b950
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov dword [rsp + 0x70], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xa0]
call fcn.14001eac0
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140080c80
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xb0]
call fcn.140024170
nop
cmp qword [rsp + 0x58], 0
je 0x14009bae6
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx]
mov eax, dword [rax + 8]
sub eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14009bae6
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14009bae6
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x40], 0x40cc0020
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xb0]
call fcn.140028f90
mov rax, qword [rsp + 0x90]
jmp 0x14009bb07
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xb0]
call fcn.140028f90
mov rax, qword [rsp + 0x98]
add rsp, 0x138
ret
Function at 0x14009bbd0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14023e690
mov dword [rsp + 0x70], 0x68
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x50]
call fcn.14001f4d0
nop
mov dx, 0x20
lea rcx, [rsp + 0x50]
call fcn.1400349f0
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x50]
call fcn.1400347f0
nop
lea rcx, [rsp + 0x50]
call fcn.140013ae0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140013ae0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14009bcc0
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x50]
call fcn.140026cc0
mov eax, dword [rsp + 0x58]
jmp 0x14009bcd6
mov dword [rsp + 0x5c], 1
lea rcx, [rsp + 0x50]
call fcn.140026cc0
mov eax, dword [rsp + 0x5c]
add rsp, 0xe8
ret

Function at 0x14009c3b0
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140091d60
lea rdx, [rsp + 0x28]
lea rcx, [0x14009bd70]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14009c690
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.14001f6f0
nop
lea rcx, [rsp + 0x28]
call fcn.140037000
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [rsp + 0x30], eax
xor r9d, r9d
mov r8d, 0x55
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
jne 0x14009c776
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [0x14025f9d8]
mov rcx, qword [rsp + 0x48]
call fcn.1400220a0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14007cf20
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.14001f4d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.14007c510
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x38]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x28]
call fcn.140026cc0
nop
mov rax, qword [rsp + 0xa0]
jmp 0x14009c7a5
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call fcn.14001f4d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.140026cc0
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x1400a95d0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov rcx, qword [rsp + 0x250]
call fcn.140013ae0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400a9608
mov eax, 0xffffffff
jmp 0x1400a9632
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400a9630
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
jne 0x1400a9630
mov eax, 1
jmp 0x1400a9632
xor eax, eax
add rsp, 0x248
ret
Function at 0x1400a9e40
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140097840
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x14009de60]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140097870
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400995d0
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x1400ab270
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x1d8
lea rcx, [rsp + 0x30]
call fcn.14009c690
nop
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rdx, [0x14025fa50]
mov rcx, qword [rsp + 0x48]
call fcn.1400220a0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14007cf20
nop
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.14001f4d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007c510
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14009a300
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x70]
call fcn.140026cc0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400ab423
lea rcx, [rsp + 0x30]
call fcn.140013ae0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x98]
call fcn.140022320
nop
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140064bc0
movsxd rax, dword [rsp + 0x24]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140064d50
lea rcx, [rsp + 0x98]
call fcn.140047390
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x30]
call fcn.140013ae0
mov qword [rsp + 0x80], rax
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x78]
mov edx, 0x70
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xe0]
call fcn.140096d50
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400810d0
nop
lea rcx, [rsp + 0xe0]
call fcn.14009b350
nop
lea rcx, [rsp + 0x98]
call fcn.1400282e0
nop
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x30]
call fcn.140026cc0
mov eax, dword [rsp + 0x38]
add rsp, 0x1d8
ret