joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f365
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45f47d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45f47d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047f0c1
mov esi, eax
test esi, esi
je 0x45f47d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45f47d
mov ecx, esi
call fcn.0045f2d0
cmp edi, eax
jge 0x45f47d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45f403
mov dword [esp + 0x34], 1
jmp 0x45f45e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45f47d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045e820
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47fa65
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47fa9d
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.0047daf2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047daca
jmp 0x47faa9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x481158
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 0x48119a
call fcn.00486e7f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48119a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x481191
xor eax, eax
jmp 0x4811a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004811a8
pop edi
pop esi
pop ebx
ret 4
Function at 0x4873af
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 0x4873dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4873fb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00487315
jmp 0x4873fb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4873fb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00487315
test edi, edi
mov eax, edi
jne 0x4873e5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406c47
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
mov eax, dword [0x41b214]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, 0x4183fc
lea ecx, [ebp + 0x58]
mov dword [ebp - 0x30], ebx
mov byte [ebx + 0x2e], 0
call fcn.00405a72
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x406c81
lea eax, [ebp + 0x5c]
push eax
lea edi, [ebx + 4]
push dword [edi]
call dword [0x4161f8]
call dword [0x416170]
push eax
call fcn.0040687c
lea ecx, [ebx + 0x20]
push ecx
mov esi, eax
call fcn.00406800
push edi
call fcn.004068f0
push 0
push 0xbb8
push 0xfa1
push dword [edi]
call dword [0x416250]
mov eax, dword [0x41c808]
mov esi, dword [0x416228]
push 0
push 0xc
mov dword [ebp - 0x24], eax
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x67
push dword [ebp - 0x24]
call dword [0x416254]
push eax
push 1
push 0x80
push dword [edi]
call dword [0x41626c]
mov eax, dword [0x41c808]
push 0
push 0x32
mov dword [ebp - 0x24], eax
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0x67
push dword [ebp - 0x24]
call dword [0x416254]
mov esi, dword [0x41626c]
push eax
push 0
push 0x80
push dword [edi]
mov dword [ebp - 0x2c], eax
call esi
and dword [ebp - 0x20], 0
push 0x58
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00408700
add esp, 0xc
push 0
lea eax, [ebp - 0x20]
push eax
push 0x5c
push 0x1f
call dword [0x4161ec]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x10], 0x2bc
call dword [0x416030]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x464]
test eax, eax
je 0x406d79
cmp eax, dword [ebp - 0x24]
je 0x406d79
push eax
call dword [0x416034]
mov eax, dword [ebp - 0x24]
push 0x3ec
mov dword [ebx + 0x464], eax
push dword [edi]
call dword [0x416208]
push 1
push dword [ebx + 0x464]
push 0x30
push eax
call esi
mov ecx, dword [ebp - 0x2c]
lea eax, [ebx + 0x448]
mov dword [ebx + 0x444], ecx
cmp dword [eax + 0x18], 8
jb 0x406db6
mov eax, dword [eax + 4]
jmp 0x406db9
add eax, 4
push ecx
push eax
push edi
lea esi, [ebx + 0x34]
call fcn.004041b4
test eax, eax
jne 0x406df1
mov edi, ebx
call fcn.00406f47
xor edi, edi
push 0
push 1
lea esi, [ebp + 0x58]
call fcn.004046e4
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004083aa
add ebp, 0x78
leave
ret
mov eax, 0x418418
lea ecx, [ebp + 0x3c]
call fcn.00405a72
lea edi, [ebp + 0x3c]
mov esi, ebx
call fcn.004074f2
push 0x5c
call fcn.00408690
xor esi, esi
cmp eax, esi
pop ecx
je 0x406e22
mov ebx, eax
call fcn.00404d5a
mov ebx, dword [ebp - 0x30]
jmp 0x406e24
xor eax, eax
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0x28]
push eax
push esi
push ebx
push 0x4066cc
push esi
push esi
mov dword [ebp - 0x28], esi
call fcn.00408d1b
add esp, 0x18
xor edi, edi
push esi
inc edi
push edi
lea esi, [ebp + 0x3c]
mov dword [ebx + 0x28], eax
call fcn.004046e4
jmp 0x406dd1
Function at 0x1008128
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1008163
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1008140
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x100817f
dec esi
je 0x1008178
dec esi
jne 0x1008184
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x40c090
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ca0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c82f0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40c1c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c0f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004614dc
xor eax, eax
jmp 0x40c23f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461619
push esi
lea ecx, [esp + 0xc]
call fcn.004618a8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4c1db8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c21d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040c020
test eax, eax
jne 0x40c21d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0040c020
test eax, eax
jne 0x40c21d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00452c40
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c1fc
lea ecx, [esp + 0x14]
push 0x4c1d90
push ecx
call fcn.00452bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c1fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c1ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004615c9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c10e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004614dc
xor eax, eax
jmp 0x40c23f
mov byte [esi], 0
push 0x4c1d8c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004614dc
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x427850
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4279e8
cmp ebp, ebx
jle 0x4279e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4278ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4278b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4278c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4278cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046121d
add esp, 4
cmp eax, ebx
je 0x4278ec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046121d
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4279de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4279c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4279b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4279a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4279b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4279b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x427950
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x427941
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x402a34
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404488
test esi, esi
jne 0x402a6a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404578
jmp 0x402a88
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402948
mov edi, eax
test esi, esi
je 0x402a88
cmp dword [ebx], 0
je 0x402a88
dec esi
jmp 0x402a71
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403640
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403620
xor eax, eax
push ebp
push 0x403619
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40365c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403620
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40430c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45f04c], 0
je 0x40436d
cmp word [0x45f220], 0xd7b2
jne 0x404335
cmp dword [0x45f228], 0
jbe 0x404335
mov eax, 0x45f21c
call dword [0x45f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45d070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404394
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45d030], 0
jne 0x404389
push 0
push 0x45d068
push 0x45d070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4062bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406322
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004046f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403010
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40630c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406329
lea eax, [ebp - 0x10]
call fcn.00404488
ret

Function at 0x408ac0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404948
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ad9
test al, 0x10
jne 0x408add
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b5ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b5e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404578
jmp 0x40b5ee
mov eax, ebx
mov edx, esi
call fcn.004044dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b5f8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b619
mov al, byte [esp]
jmp 0x40b61b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bca0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb18
mov eax, dword [0x45e508]
cmp byte [eax], 0
je 0x40bd1c
mov eax, dword [0x45e30c]
call fcn.00402e70
call fcn.00402874
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408dec
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bd64
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd52
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45e2b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45f668]
call fcn.004057d0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c600
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c6d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404520
lea eax, [ebp - 8]
call fcn.00404998
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404948
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6c0
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404948
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6a3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6c0
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6dd
lea eax, [ebp - 8]
call fcn.00404488
ret

Function at 0x40cbe0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cc44
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004046f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408798
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc4b
lea eax, [ebp - 0xc]
call fcn.00404488
ret

Function at 0x41deac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45f888
cmp dword [edi], 0
jne 0x41df28
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45f884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45d400
mov ecx, 2
call fcn.00402908
mov edx, 0x41de84
lea eax, [esi + 5]
call fcn.0041dea4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dea4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41defd
mov dword [0x45f884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41f494
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f49a
ret
Function at 0x421930
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x421981
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421968
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421958
jmp 0x421981
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x421969
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bc80
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42bde9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404520
mov eax, dword [ebp - 0x10]
call fcn.0042b9dc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42bcd2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004049e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042bff4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42bda7
xor eax, eax
push ebp
push 0x42bda0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042bb58
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042be18
test al, al
je 0x42bd7e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404578
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42bd7e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404948
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42bd78
mov eax, dword [ebp - 0x14]
call fcn.00404948
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404680
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042bc80
dec ebx
cmp ebx, 0xffffffff
jne 0x42bd31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bda7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042bb58
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404948
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042bb44
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bdf0
lea eax, [ebp - 0x3c]
call fcn.00404488
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004044ac
ret