joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4608a8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x460889
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x460898
or bl, 4
test esi, 0x20000000
je 0x4608a3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x466fac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x466fbe
add esp, 0xfffffff0
call fcn.004039a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422164
mov eax, dword [0x4eebec]
mov dword [eax + 4], ebx
mov dword [eax], 0x467350
mov eax, dword [0x4eebfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x46735c
mov eax, ebx
call fcn.00467368
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4170d0]
call fcn.00403600
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4170d0]
call fcn.00403600
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4170d0]
call fcn.00403600
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4170d0]
call fcn.00403600
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4170d0]
call fcn.00403600
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x463780
push eax
push 0
push 0
mov eax, dword [0x4eedf0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423bd8]
call fcn.00425394
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423bd8]
call fcn.00425394
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423bd8]
call fcn.00425394
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004678b4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x467734
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x467734
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x467734
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4670fb
call fcn.00403a00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x467518
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4676c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4676a4
mov dl, 1
mov eax, dword [0x417754]
call fcn.00403600
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x467693
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045512c
test al, al
je 0x467686
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4676d4
lea eax, [ebp - 0x254]
call fcn.0040977c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467686
xor eax, eax
push ebp
push 0x46767f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46770c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x467668
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040466c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x467668
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040466c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467686
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x467589
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c164
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4676ca
lea eax, [ebp - 0x260]
call fcn.004043fc
ret

Function at 0x468054
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4f0bc4]
cmp byte [eax + 0xa5], 0
jne 0x4680c5
cmp dword [0x4f0bdc], 0
jne 0x468086
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x468010
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f0bdc], eax
cmp dword [0x4f0bd8], 0
jne 0x4680a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f0bd8], eax
cmp dword [0x4f0be0], 0
jne 0x4680c5
push esp
push 0
push 0
push 0x467fb4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4f0be0], eax
pop edx
ret
Function at 0x4687b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f0bc4]
cmp dword [eax + 0x30], 0
je 0x468862
cmp dword [ebx + 0x94], 0
jne 0x46885c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x468748
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46885c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x468822
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46885c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419ab8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x468831
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4693c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4693f5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044ec
jmp 0x469402
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404450
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46a52c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46a56d
mov eax, esi
call fcn.004506d0
test al, al
je 0x46a56d
mov eax, dword [ebx + 0x84]
call fcn.004503cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46a56d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004503cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46e538
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042624c
cmp ebx, dword [ebp - 8]
jge 0x46e59b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426698
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426698
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004266c4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46e561
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46e5a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042624c
cmp ebx, dword [ebp - 8]
jge 0x46e607
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426698
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426698
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004266c4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46e5cd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4966bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x496773
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004048bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4966fe
call fcn.00403ebc
jmp 0x49677a
mov eax, ebx
call fcn.00402a88
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004048bc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x496727
call fcn.00403ebc
jmp 0x49677a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x496784
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x496748
call fcn.00403ebc
jmp 0x49677a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49677a
mov eax, dword [ebp - 8]
call fcn.00402ab8
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x7c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x4c], 0
jne 0x4e8d34
mov eax, dword [0x4eeeb4]
mov eax, dword [eax]
call fcn.00469670
pop ebx
pop ebp
ret
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4e8d49
mov eax, dword [0x4eeeb4]
mov eax, dword [eax]
call fcn.00469670
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
cmp eax, dword [edx + 0x4c]
jb 0x4e8d3d
pop ebx
pop ebp
ret
Function at 0x41f728
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 0x41f72e
ret

Function at 0x43c568
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c719
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404f80
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43c730
call fcn.00404be4
mov eax, ebx
call fcn.0041d66c
mov edi, eax
dec edi
test edi, edi
jl 0x43c620
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d640
mov edx, dword [0x42d408]
call fcn.00403d00
test al, al
je 0x43c61c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d640
lea edx, [ebp - 0x14]
call fcn.00443fd4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404f80
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c58
inc esi
dec edi
jne 0x43c5ce
mov al, byte [0x43c734]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43c740
mov eax, dword [ebp - 0xc]
call fcn.0040c5bc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404978
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00443fd4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43c730
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.00443fd4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43c730
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43c730
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43c74c
call fcn.0040a060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c720
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404904
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404904
lea eax, [ebp - 0x14]
call fcn.004048e0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404904
ret
Function at 0x4894dc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48950a
mov eax, ebx
call fcn.00489f94
cmp dword [ebx + 0x3c], 0
je 0x489503
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48957b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x48956d
cmp dword [ebx + 8], 0
je 0x48952c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x48953e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48956d
cmp dword [ebx + 8], 0
je 0x48951f
cmp eax, 3
je 0x489551
dec eax
jne 0x48951f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48951f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48951f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x489599
cmp dword [ebx + 0x10], 0xcc
je 0x489599
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004895a4
pop ebx
ret

Function at 0x4aae54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ecx, eax
dec ecx
test cx, cx
jb 0x4aae88
inc ecx
mov eax, 0x4c3db4
xor ebx, ebx
mov bl, byte [eax]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4c190c]
mov esi, dword [edx]
shr esi, 8
xor ebx, esi
mov dword [edx], ebx
inc eax
dec cx
jne 0x4aae64
pop esi
pop ebx
ret

Function at 0x4aaf7c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, eax
lea ebx, [ecx + 1]
dec ebx
test ebx, ebx
jb 0x4aafb4
inc ebx
xor esi, esi
mov ecx, edx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, edi
cdq
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
and eax, 0xff
mov al, byte [eax*4 + 0x4c190c]
xor byte [ecx], al
inc esi
inc ecx
dec ebx
jne 0x4aaf8e
pop edi
pop esi
pop ebx
ret
Function at 0x402cc0
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 0x402cfd
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 0x402d1d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404934
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402efc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402f55
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d98
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d98
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402f3f
inc ebx
jmp 0x402f28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f5c
lea eax, [ebp - 8]
call fcn.004046c4
ret

Function at 0x402f64
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046c4
test esi, esi
jne 0x402f9b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004047b4
jmp 0x402fbc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d98
mov dword [esp], eax
test esi, esi
je 0x402fbc
cmp dword [ebx], 0
je 0x402fbc
dec esi
jmp 0x402fa3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403798
xor eax, eax
push ebp
push 0x403791
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 0x4037d4
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 0x403798
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48a020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48a020], ax
mov esp, ebp
pop ebp
ret
Function at 0x4044bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48e04c], 0
je 0x40451d
cmp word [0x48e220], 0xd7b2
jne 0x4044e5
cmp dword [0x48e228], 0
jbe 0x4044e5
mov eax, 0x48e21c
call dword [0x48e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48a06c
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 0x404544
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48a030], 0
jne 0x404539
push 0
push 0x48a064
push 0x48a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404678
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402ac0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48e04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404640
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406668
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 0x4066ce
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.00404934
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403268
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066d5
lea eax, [ebp - 0x10]
call fcn.004046c4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b84
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409441
test al, 0x10
jne 0x409445
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c234
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 0x40c26d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047b4
jmp 0x40c276
mov eax, ebx
mov edx, esi
call fcn.00404718
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c938
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c7a0
mov eax, dword [0x48d5cc]
cmp byte [eax], 0
je 0x40c9b4
mov eax, dword [0x48d364]
call fcn.00403098
call fcn.00402c4c
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.00409908
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 0x40c9fc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c9ea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48d2f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48e668]
call fcn.00405ab8
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