joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c5fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00485390
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x602a5c
call fcn.00493ae8
mov ecx, dword [0x59f240]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004826e0
mov esi, 0x59f298
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x485037
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48502e
cmp al, 0xff
je 0x48502e
dec al
mov byte [ecx], al
jmp 0x485037
push ecx
call fcn.004b487f
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004b0450
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x48507d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x485074
cmp al, 0xff
je 0x485074
dec al
mov byte [ecx], al
jmp 0x48507d
push ecx
call fcn.004b487f
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00493b6f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4aaaf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c75e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0049fa7a
mov eax, dword [0x5a2d58]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0049f9ac
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004ab5a0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4aab97
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4aab8e
cmp al, 0xff
je 0x4aab8e
dec al
mov byte [ecx], al
jmp 0x4aab97
push ecx
call fcn.004b487f
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4aabc8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4aabbf
cmp al, 0xff
je 0x4aabbf
dec al
mov byte [ecx], al
jmp 0x4aabc8
push ecx
call fcn.004b487f
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4b6f2f
Capabilities:
Get graphical window text

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

Function at 0x4b8620
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 0x4b8662
call fcn.004be5cc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b8662
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b8659
xor eax, eax
jmp 0x4b866a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b8670
pop edi
pop esi
pop ebx
ret 4

Function at 0x4beafc
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 0x4beb2a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4beb48
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bea62
jmp 0x4beb48
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4beb48
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bea62
test edi, edi
mov eax, edi
jne 0x4beb32
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401d40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub edi, 0x65
ror eax, 0x8c
sbb esi, 0x61
bswap ebx
add edi, 0x7c
mov ebx, 0x32
and eax, 0xa6
imul ebx
neg eax
bswap esi
add ebx, 0x62
inc edi
neg eax
inc ebx
bswap ebx
dec edx
sbb eax, 0x5a
rcr edx, 0x72
ror eax, 0x7d
sub edi, 0x19
sub edx, 0xa5
rcr eax, 0xe5
and ebx, 0x4c
neg esi
imul edi
imul eax
bswap esi
imul edi
dec ebx
mov edi, 0xf
sbb ebx, 0x16
ror edi, 0xd9
or ebx, 0x4c
dec ebx
bswap esi
or ebx, 0x40
not esi
inc edi
not ebx
dec edx
ror esi, 0x22
not esi
sbb edi, 0x89
bswap edx
not ebx
imul edi
mov ebx, 0x49
sbb ebx, 0xdc
dec esi
and esi, 0xea
xor ecx, ecx
xor edi, edi
sub esi, 0x35
bswap ebx
add esi, 0x5f
inc edx
add edi, 0xf9
inc edi
ror edx, 0x29
dec ebx
rcr edi, 0x82
dec edi
neg eax
neg ebx
dec eax
and esi, 0x30
bswap esi
rcl esi, 0xb6
imul edi
imul esi
bswap esi
rcr ebx, 0xe5
neg ebx
neg eax
sub ebx, 0x30
inc esi
sbb edi, 0xb5
rcr edi, 0x6c
rcr esi, 0x38
bswap ebx
rcr edx, 0xad
neg ebx
sub eax, 0xac
rol esi, 0xc1
imul eax
not esi
mov edx, 0xcd
imul edx
rcl esi, 0x14
mov esi, 0xc6
ror ebx, 0xa
sub esi, 0xa8
rcr edi, 0xc1
mov ebx, 0xd8
rol esi, 9
bswap eax
dec edi
add ebx, 0xfd
rcl edx, 0xf2
and ebx, 0xde
dec ebx
rcl eax, 0x61
mov ecx, dword [ebp + 0xc]
imul ebx
sub edx, 0xa5
rol edx, 0x65
imul edi
dec ebx
imul ebx
imul edi
or eax, 0x48
neg esi
neg ebx
imul ebx
bswap edx
inc eax
bswap ebx
ror edi, 0x64
rcl eax, 0
inc eax
add eax, 0x27
bswap esi
rcr edi, 0x64
ror eax, 0xc2
bswap edx
bswap edi
imul esi
dec esi
inc ebx
dec esi
rol esi, 0x32
inc edx
neg edi
sbb edx, 0xb9
add edx, 0x72
dec edx
mov edx, 0xd7
sub eax, 0xfc
add esi, 0xdd
rol edi, 0x77
imul eax
bswap ebx
rcr esi, 0xa5
add ebx, 0x98
and edi, 0xd
not ebx
inc edi
add eax, 0x99
sub edx, 0x92
bswap ebx
not eax
add edx, 0xc9
neg edx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, ebx
mov eax, eax
not byte [edi]
xor eax, esi
mov eax, ebx
xor esi, eax
xor ebx, ebx
mov eax, ebx
xor eax, ebx
mov esi, esi
xor ebx, eax
mov esi, ebx
add byte [edi], 0x79
xor eax, ebx
mov ebx, eax
xor ebx, ebx
mov eax, eax
mov esi, eax
xor eax, ebx
xor esi, ebx
mov eax, eax
xor ebx, ebx
sub byte [edi], 0x30
mov esi, ebx
mov esi, eax
mov esi, ebx
mov eax, ebx
mov esi, ebx
mov ebx, eax
xor esi, esi
mov eax, esi
mov ebx, eax
imul byte [edi]
inc edi
loop 0x401ef4
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407454
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49a894]
jne 0x40745e
repz ret
jmp fcn.0040be36
Function at 0x40d63d
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.0040a3ff
and dword [ebp - 4], 0
cmp dword [0x49be14], 0
mov ebx, eax
jne 0x40d6ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d79f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d79f
push eax
call fcn.0040a38d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49be14], eax
call esi
push eax
call fcn.0040a38d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49be18], eax
call esi
push eax
call fcn.0040a38d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49be1c], eax
call esi
push eax
call fcn.0040a38d
pop ecx
mov dword [0x49be24], eax
test eax, eax
je 0x40d6ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a38d
pop ecx
mov dword [0x49be20], eax
mov eax, dword [0x49be20]
cmp eax, ebx
je 0x40d746
cmp dword [0x49be24], ebx
je 0x40d746
push eax
call fcn.0040a408
push dword [0x49be24]
mov esi, eax
call fcn.0040a408
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d746
test edi, edi
je 0x40d746
call esi
test eax, eax
je 0x40d73d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d73d
test byte [ebp - 0xc], 1
jne 0x40d746
or dword [ebp + 0x10], 0x200000
jmp 0x40d77f
mov eax, dword [0x49be18]
cmp eax, ebx
je 0x40d77f
push eax
call fcn.0040a408
pop ecx
test eax, eax
je 0x40d77f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d77f
mov eax, dword [0x49be1c]
cmp eax, ebx
je 0x40d77f
push eax
call fcn.0040a408
pop ecx
test eax, eax
je 0x40d77f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49be14]
call fcn.0040a408
pop ecx
test eax, eax
je 0x40d79f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d7a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40629d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42275c], 0
jne 0x4062db
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4062b1
mov dword [ecx*4 + 0x422758], eax
inc ecx
cmp ecx, 0x100
jl 0x4062ac
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406308
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x422758]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4062e9
not eax
pop ebp
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x40ed6f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x40eae0
pop edi
inc ebx
add esi, ebx
call fcn.0040eda3
sub esi, 1
xor dword [edx], edi
add edx, 1
or ebx, ebx
sub esi, 1
cmp edx, eax
jne fcn.0040ed6f
add ebx, ebx
ret
Function at 0x4029f4
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.00403fa8
test esi, esi
jne 0x402a2a
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.00404098
jmp 0x402a48
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402908
mov edi, eax
test esi, esi
je 0x402a48
cmp dword [ebx], 0
je 0x402a48
dec esi
jmp 0x402a31
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030d0
Capabilities:
Query or enumerate registry value

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

Function at 0x403e2c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46e048], 0
je 0x403e8d
cmp word [0x46e21c], 0xd7b2
jne 0x403e55
cmp dword [0x46e224], 0
jbe 0x403e55
mov eax, 0x46e218
call dword [0x46e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46c06c
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 0x403eb4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46c030], 0
jne 0x403ea9
push 0
push 0x46c064
push 0x46c06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405b30
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 0x405b96
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.00404218
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c94
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b80
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b9d
lea eax, [ebp - 0x10]
call fcn.00403fa8
ret

Function at 0x40ada8
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 0x40ade1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404098
jmp 0x40adea
mov eax, ebx
mov edx, esi
call fcn.00403ffc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b49c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b314
mov eax, dword [0x46da0c]
cmp byte [eax], 0
je 0x40b518
mov eax, dword [0x46d818]
call fcn.00402b00
call fcn.00402834
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.004084cc
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 0x40b560
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b54e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46d7c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46e664]
call fcn.00405044
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 0x40bdb4
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 0x40be8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404040
lea eax, [ebp - 8]
call fcn.004044b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404468
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be74
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be6d
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.00404468
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be57
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be9c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be57
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 0x40be74
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be91
lea eax, [ebp - 8]
call fcn.00403fa8
ret

Function at 0x40c394
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 0x40c3f8
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.00404218
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407fe0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3ff
lea eax, [ebp - 0xc]
call fcn.00403fa8
ret

Function at 0x41a5bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46e884
cmp dword [edi], 0
jne 0x41a638
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46e880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46c46c
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a594
lea eax, [esi + 5]
call fcn.0041a5b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a5b4
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 0x41a60d
mov dword [0x46e880], 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 0x41bafc
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 0x41bb02
ret
Function at 0x41df88
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 0x41dfd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dfc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dfb0
jmp 0x41dfd9
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 0x41dfc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bdd8
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 0x42bd24
call sub.user32.dll_EnumWindows
ret

Function at 0x42bef8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42bf75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b958
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42bf1d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042b558
cmp dword [ebp - 4], 0
je 0x42bf5f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404468
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bf7c
lea eax, [ebp - 4]
call fcn.00403fa8
ret

Function at 0x42ee10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46eb54], 0
je 0x42ef5f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46d9a8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42ef5f
mov eax, dword [0x46eb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46eb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ef2e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46eb54]
call fcn.00413af8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ef26
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ef26
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ef26
mov eax, dword [ebp - 0x14]
call fcn.00437a20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ef26
push ebp
call fcn.0042edcc
pop ecx
test al, al
jne 0x42ef26
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42eee2
mov eax, dword [ebp - 0x14]
call fcn.00436550
dec eax
jle 0x42ef26
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403454
cmp byte [ebp - 1], 0
je 0x42ef26
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ef26
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46eb58]
call fcn.0042e598
inc edi
dec ebx
jne 0x42ee75
mov eax, dword [0x46eb58]
cmp dword [eax + 8], 0
jle 0x42ef46
mov eax, dword [0x46eb58]
call fcn.0042e628
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ef5f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ec34
pop ecx
test al, al
jne 0x42ef5f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret