joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51bf3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004e3e30
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6e7584
call fcn.0050a9e0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4e35a3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0050a9e0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4e359c
push 0
mov ecx, eax
call fcn.004da620
mov dword [esi + 0xc], eax
jmp 0x4e35a5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e35a5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x50d08f
Capabilities:
Get graphical window text

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

Function at 0x50e782
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 0x50e7c4
call fcn.00514526
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x50e7c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50e7bb
xor eax, eax
jmp 0x50e7cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050e7d2
pop edi
pop esi
pop ebx
ret 4

Function at 0x514a56
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 0x514a84
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x514aa2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005149bc
jmp 0x514aa2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x514aa2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005149bc
test edi, edi
mov eax, edi
jne 0x514a8c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ac1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436090]
jne 0x401acb
repz ret
jmp fcn.00402eb8

Function at 0x40c0a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d29
and dword [ebp - 4], 0
cmp dword [0x43ab00], 0
mov ebx, eax
jne 0x40c153
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c204
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c204
push eax
call fcn.00404cb7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ab00], eax
call esi
push eax
call fcn.00404cb7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ab04], eax
call esi
push eax
call fcn.00404cb7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ab08], eax
call esi
push eax
call fcn.00404cb7
pop ecx
mov dword [0x43ab10], eax
test eax, eax
je 0x40c153
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cb7
pop ecx
mov dword [0x43ab0c], eax
mov eax, dword [0x43ab0c]
cmp eax, ebx
je 0x40c1ab
cmp dword [0x43ab10], ebx
je 0x40c1ab
push eax
call fcn.00404d32
push dword [0x43ab10]
mov esi, eax
call fcn.00404d32
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c1ab
test edi, edi
je 0x40c1ab
call esi
test eax, eax
je 0x40c1a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c1a2
test byte [ebp - 0xc], 1
jne 0x40c1ab
or dword [ebp + 0x10], 0x200000
jmp 0x40c1e4
mov eax, dword [0x43ab04]
cmp eax, ebx
je 0x40c1e4
push eax
call fcn.00404d32
pop ecx
test eax, eax
je 0x40c1e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c1e4
mov eax, dword [0x43ab08]
cmp eax, ebx
je 0x40c1e4
push eax
call fcn.00404d32
pop ecx
test eax, eax
je 0x40c1e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ab00]
call fcn.00404d32
pop ecx
test eax, eax
je 0x40c204
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c206
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40da1b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x436090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x1bb112c], 0x930
jne 0x40da50
push 0x43469c
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bb112c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bb0e48], eax
jne 0x40da87
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401ac1
leave
ret
Function at 0x40daa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40dae3
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040da94
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0x28
sub dword [ebp - 4], 0x1e
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40dab0
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40dafb
or dword [0x1bb113c], 0xffffffff
mov dword [0x1bb1138], 0xa62e7790
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x103f6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.103f61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x103f607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103f606a
add dl, dl
jne 0x103f6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103f60dc
xor eax, eax
add dl, dl
jne 0x103f6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103f617d
add dl, dl
jne 0x103f60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x103f60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x103f6075
mov eax, 1
add dl, dl
jne 0x103f60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103f60e1
sub eax, ebx
mov ebx, 1
jne 0x103f6128
mov ecx, 1
add dl, dl
jne 0x103f610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103f6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103f6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103f6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x103f613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103f614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103f6136
cmp eax, 0x7d00
jae 0x103f616d
cmp eax, 0x500
jb 0x103f6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103f6075
cmp eax, 0x7f
ja 0x103f6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103f6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x103f619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x103f6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x248bec8b]
or byte [ebx + 0x40c0c80d], cl
adc dword [eax - 0x7d], 0xffffffc1
sub byte [eax + 0x74], 0xd2
inc eax
pop edi
push ecx
adc eax, 0x40c12a
mov eax, dword [0xd841382b]
add esp, 0xc
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
xor dword [ebx + 0x8458bec], ecx
mov byte [esp + edx + 0x3374c385], bh
sbb byte [ebp + 0xc], cl
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
push esi
dec ebx
pop esi
cwde
rol byte [eax], 0xff
salc
test eax, eax
daa
add eax, 0x8c2495e
and al, 0xd6
add eax, 0xef0afc80
pop esi
pop ebp
ret 8
les esp, [ebp + ebx*2 - 0xf]
xchg byte [edi], bh
inc edi
cmp ecx, dword [esi]
add byte [ebp - 0x3e], bl
or byte [eax], al
nop
nop
mov cl, 0x90
nop
nop
nop
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..pdata
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2ca2bc8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x675125f4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402944
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402981
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4029a1
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404364
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b08
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.004040f4
test esi, esi
jne 0x402b3e
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.004041e4
jmp 0x402b5c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a1c
mov edi, eax
test esi, esi
je 0x402b5c
cmp dword [ebx], 0
je 0x402b5c
dec esi
jmp 0x402b45
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40322c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x460020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032c4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032a4
xor eax, eax
push ebp
push 0x40329d
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 0x4032e0
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 0x4032a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x460020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x460020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f78
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46204c], 0
je 0x403fd9
cmp word [0x462220], 0xd7b2
jne 0x403fa1
cmp dword [0x462228], 0
jbe 0x403fa1
mov eax, 0x46221c
call dword [0x462238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
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 0x404000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460030], 0
jne 0x403ff5
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ed0
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 0x405f36
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.00404364
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402df0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f20
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f3d
lea eax, [ebp - 0x10]
call fcn.004040f4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004045b4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4087f5
test al, 0x10
jne 0x4087f9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b32c
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 0x40b365
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041e4
jmp 0x40b36e
mov eax, ebx
mov edx, esi
call fcn.00404148
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b378
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 0x40b399
mov al, byte [esp]
jmp 0x40b39b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ba20
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b898
mov eax, dword [0x461148]
cmp byte [eax], 0
je 0x40ba9c
mov eax, dword [0x460f5c]
call fcn.00402c20
call fcn.00402898
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.00408b6c
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 0x40bae4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bad2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x460f00]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x462668]
call fcn.004053e4
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 0x40c380
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 0x40c456
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040418c
lea eax, [ebp - 8]
call fcn.00404604
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045b4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c440
mov eax, ebx
call fcn.004026e4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c439
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.004045b4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c423
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c468
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c423
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 0x40c440
mov eax, dword [ebp - 0x10]
call fcn.00402704
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c45d
lea eax, [ebp - 8]
call fcn.004040f4
ret

Function at 0x40c9c8
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 0x40ca2c
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.00404364
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040843c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca33
lea eax, [ebp - 0xc]
call fcn.004040f4
ret

Function at 0x41dd44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46288c
cmp dword [edi], 0
jne 0x41ddc0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x462888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4603fc
mov ecx, 2
call fcn.004029dc
mov edx, 0x41dd1c
lea eax, [esi + 5]
call fcn.0041dd3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dd3c
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 0x41dd95
mov dword [0x462888], 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 0x41efec
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 0x41eff2
ret
Function at 0x421820
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 0x421871
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421858
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421848
jmp 0x421871
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 0x421859
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431fd4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x432194
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0043e024
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x432179
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x432037
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004040f4
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x432108
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x461250]
and eax, 0xff
bt dword [edx], eax
jae 0x4320ca
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.0043f040
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x432148
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004042dc
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004042dc
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00404474
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x432148
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004042dc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004043bc
jmp 0x432148
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004043b4
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00404654
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004043b4
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040c4e4
cmp al, 2
je 0x4320e8
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004043b4
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00404654
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004043b4
test eax, eax
jle 0x432162
push ebp
call fcn.00431ef0
pop ecx
jmp 0x432179
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.004035b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43219b
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404118
ret

Function at 0x432f08
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x432e54
call sub.user32.dll_EnumWindows
ret