joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453a80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453a92
add esp, 0xfffffff0
call fcn.00403b94
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a1d0
mov eax, dword [0x52f3fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x453e24
mov eax, dword [0x52f408]
mov dword [eax + 4], ebx
mov dword [eax], 0x453e30
mov eax, ebx
call fcn.00453e3c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
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, 0x44f8d4
push eax
push 0
push 0
mov eax, dword [0x52f55c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dd1c]
call fcn.0041f23c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dd1c]
call fcn.0041f23c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dd1c]
call fcn.0041f23c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045426c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45413c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45413c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45413c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453bcf
call fcn.00403bec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453f20
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 0x4540cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4540ac
mov dl, 1
mov eax, dword [0x412230]
call fcn.00403858
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040469c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45409b
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.00446eb8
test al, al
je 0x45408e
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, 0x4540dc
lea eax, [ebp - 0x254]
call fcn.00409244
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45408e
xor eax, eax
push ebp
push 0x454087
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 0x454114
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454070
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040490c
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 0x454070
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040490c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45408e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453f91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415f98
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 0x4540d2
lea eax, [ebp - 0x260]
call fcn.0040469c
ret

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

Disassembly:
push ecx
mov eax, dword [0x53357c]
cmp byte [eax + 0xad], 0
jne 0x454ab5
cmp dword [0x533594], 0
jne 0x454a76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454a00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x533594], eax
cmp dword [0x533590], 0
jne 0x454a91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x533590], eax
cmp dword [0x533598], 0
jne 0x454ab5
push esp
push 0
push 0
push 0x4549a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x533598], eax
pop edx
ret
Function at 0x454c88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454c9f
add esp, 0xfffffff0
call fcn.00403b94
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a1d0
mov eax, dword [0x52f548]
cmp word [eax + 2], 0
jne 0x454cc7
mov eax, dword [0x52f548]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456738
mov eax, dword [0x52f5ec]
cmp word [eax + 2], 0
jne 0x454ce1
mov eax, dword [0x52f5ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456944
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411e0c]
call fcn.00403858
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e4f8]
call fcn.004243e4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454e98
mov eax, dword [0x52f468]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004247b8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457004
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52f468]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c954
test eax, eax
je 0x454de8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bfc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c988
test eax, eax
je 0x454dfc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040490c
mov byte [ebx + 0xd4], 0
push ebx
push 0x456298
call fcn.0041b34c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x52f360]
cmp byte [eax], 0
jne 0x454e4d
mov eax, ebx
call fcn.00454fdc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004571e0
mov eax, ebx
call fcn.00457d40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454e8d
call fcn.00403bec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45525c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53357c]
cmp dword [eax + 0x30], 0
je 0x455306
cmp dword [ebx + 0x94], 0
jne 0x455300
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4551ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455300
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 0x4552c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455300
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.00414240
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4552d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456020
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x456055
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.0040478c
jmp 0x456062
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4573c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457432
mov eax, esi
call fcn.00441b30
test al, al
je 0x457432
mov eax, dword [ebx + 0x84]
call fcn.00441790
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457432
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x457426
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441790
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00439bbc
jmp 0x457432
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00457200
pop esi
pop ebx
ret
Function at 0x2d8977cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x2d8977da
pop dword [ebp - 0x28]
mov eax, 0xff252180
add eax, 0x2e64565a
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x15282f8d
add dword [ebp - 0x38], 0x392a15be
mov dword [ebp - 0x34], 0xce579b14
add dword [ebp - 0x34], 0x63dbb131
mov dword [ebp - 0x30], 0xb25c09c8
sub dword [ebp - 0x30], 0x660fc59a
mov dword [ebp - 0x2c], 0xf7328ea9
sub dword [ebp - 0x2c], 0xf7328ea9
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xe74d2cae
sub dword [ebp - 0x38], 0x72dac358
mov dword [ebp - 0x34], 0xfbaae441
add dword [ebp - 0x34], 0x45c17d34
mov dword [ebp - 0x30], 0xc137798e
add dword [ebp - 0x30], 0xa237f2de
mov dword [ebp - 0x2c], 0xc258752f
add dword [ebp - 0x2c], 0x3da78ad1
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x82f86a10
sub eax, 0x5568f980
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x6a3cb
push 0
call eax
mov ecx, 0x432c
xor edx, edx
add edx, eax
mov ebx, 0xc7f6ab53
add ebx, 0x65a3f4ad
add ebx, dword [ebp - 0x28]
mov edi, 0x5980f7e4
mov esi, dword [ebx]
xor dword [ebp - 0x18], 0x549552fa
sub esi, edi
add dword [ebp - 0x1c], 0xd5b1030
mov dword [edx], esi
sub dword [ebp - 4], 0xa0f3df2b
add edx, 0xd642d718
add edx, 0x29bd28ec
add ebx, 0xe3835064
sub ebx, 0xe3835060
loop 0x2d8978ed
add eax, 0x3ad5ee70
add eax, 0xc52b1113
mov ebx, eax
add eax, 0x5e2367a6
add eax, 0xa1dc985f
mov ecx, 0x2d800000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x402e90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x46b008], 0x8088405
inc edx
mov dword [ebx + 0x46b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4033f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46b010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403488
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x403468
xor eax, eax
push ebp
push 0x403461
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 0x4034a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403468
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x46b010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46b010], ax
mov esp, ebp
pop ebp
ret

Function at 0x404168
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46d048], 0
je 0x4041c9
cmp word [0x46d21c], 0xd7b2
jne 0x404191
cmp dword [0x46d224], 0
jbe 0x404191
mov eax, 0x46d218
call dword [0x46d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46b058
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 0x4041f0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x46b020], 0
jne 0x4041e5
push 0
push 0x46b078
push 0x46b058
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x405c20
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e50
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x405ca3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e50
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x405ca3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x405d2c
xor eax, eax
push ebp
push 0x405d25
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a68
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x405d0a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e8c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x405d0a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d2c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405e46
cmp byte [ebp - 0xd], 0
jne 0x405d73
cmp byte [ebp - 0x12], 0
je 0x405e46
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d8c
dec ebx
cmp byte [ebx], 0x2e
je 0x405d9b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d8b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405e46
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405dd8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e46
cmp byte [ebp - 0xd], 0
je 0x405e46
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e46
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409670
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 0x4096a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043d4
jmp 0x4096b2
mov eax, ebx
mov edx, esi
call fcn.00404338
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a900
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 0x40a964
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.0040454c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004085a0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a96b
lea eax, [ebp - 0xc]
call fcn.004042e4
ret

Function at 0x41c688
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46da20
cmp dword [edi], 0
jne 0x41c704
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46da1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46b4c0
mov ecx, 2
call fcn.004028dc
mov edx, 0x41c660
lea eax, [esi + 5]
call fcn.0041c680
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c680
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 0x41c6d9
mov dword [0x46da1c], 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 0x41dba8
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 0x41dbae
ret
Function at 0x4200f8
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 0x420149
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420130
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420120
jmp 0x420149
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 0x420131
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f1d4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404784
xor eax, eax
push ebp
push 0x42f302
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f2d5
xor eax, eax
push ebp
push 0x42f2ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040459c
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f2a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42f292
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040459c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404794
mov edx, ebx
pop ecx
call fcn.004028dc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f299
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x46c610]
mov dl, 1
mov eax, dword [0x4075b4]
call fcn.00409ed4
call fcn.00403d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f309
lea eax, [ebp - 4]
call fcn.004042e4
ret
Function at 0x42f310
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 0x42f4c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040493c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42f4d8
call fcn.004045e8
mov eax, ebx
call fcn.0041bc28
mov edi, eax
dec edi
test edi, edi
jl 0x42f3c8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041bbfc
mov edx, dword [0x42a0a8]
call fcn.00403704
test al, al
je 0x42f3c4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041bbfc
lea edx, [ebp - 0x14]
call fcn.00435fc8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040493c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040465c
inc esi
dec edi
jne 0x42f376
mov al, byte [0x42f4dc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f4e8
mov eax, dword [ebp - 0xc]
call fcn.0040aed8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040437c
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.00435fc8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f4d8
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.00435fc8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f4d8
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, 0x42f4d8
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, 0x42f4f4
call fcn.00409008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f4c8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404308
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404308
lea eax, [ebp - 0x14]
call fcn.004042e4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404308
ret

Function at 0x430a74
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 0x4309c0
call sub.user32.dll_EnumWindows
ret