joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddd03
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x4ddd83
cmp dword [ebp + 0xc], ecx
jne 0x4ddd83
cmp dword [ebx + 0x94], ecx
jne 0x4ddd83
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x4ddd79
cmp eax, 0xffffffff
je 0x4ddd79
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.004b91aa
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x4ddd83
xor eax, eax
jmp 0x4ddec3
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x4dddbe
cmp dword [ebp + 0xc], 0
jne 0x4dddbe
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.004b91aa
test eax, eax
jne 0x4ddd72
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x4ddde4
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x4ddde4
cmp eax, 0xffffffff
je 0x4ddde4
cmp dword [ebx + 0x90], ecx
jne 0x4ddde4
cmp dword [ebx + 0xa8], ecx
je 0x4ddd72
push dword [ebx + 0x6c]
push 0x57c438
call fcn.004c4aa0
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4dde1d
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x4dde83
push edi
jmp 0x4dde7e
push dword [ebx + 0x6c]
push 0x57b304
call fcn.004c4aa0
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x4dde49
cmp eax, edi
je 0x4dde49
cmp dword [0x581d5c], edi
jne 0x4dde49
push 1
push ebx
mov ecx, eax
call fcn.0048b22c
jmp 0x4dde76
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x4dde61
push edi
call fcn.0046b964
cmp eax, edi
je 0x4dde61
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x4ddd72
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x4dde83
push ebx
call fcn.0047d89c
cmp dword [ebx + 0x6c], edi
je 0x4ddec0
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004d2431
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4e0850
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x52a277
call fcn.00505571
xor edi, edi
mov dword [ebp - 4], edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.005035e0
xor eax, eax
push 0x10
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x20]
push edi
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x40], 1
call fcn.005035e0
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea esi, [ebp + 8]
call fcn.00441989
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4e08c0
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044b109
call fcn.00505649
ret
Function at 0x4e21a8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x51de16
call fcn.005055a4
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.004ba117
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00474fec
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00416b93
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.004b885d
cmp eax, ebx
jne 0x4e223f
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0049cac9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00405999
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00418d07
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00492193
xor eax, eax
call fcn.00505649
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0048dea8
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x581b74
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.004f957d
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.004bda8b
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00454110
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00405465
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0048dea8
call fcn.004b0d17
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e2202
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4e22f1
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0049cac9
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4e220f
lea ecx, [ebp - 0x20]
call fcn.004f2482
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x4e2313
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0049cac9
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00405999
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00418d07
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00492193
xor eax, eax
inc eax
jmp 0x4e2237
Function at 0x4e5e78
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x52a254
call fcn.00505571
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
lea esi, [ebp + 0xc]
call fcn.00441989
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e5ecb
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0044b109
call fcn.00505649
ret
Function at 0x4f162e
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x4f1673
test edi, edi
jl 0x4f1673
cmp ax, 0x20
je 0x4f1668
cmp word [ebp + 8], 0x71
jne 0x4f1673
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8
Function at 0x4f9ec1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4f9ee5
cmp dword [edi + 0x54], 0
jne 0x4f9ee5
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00434678
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004b25e9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4ffe9a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x4fff29
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00503660
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4ffee9
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4fff0b
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x4fffe7
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x4fff51
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x4fff5c
xor eax, eax
jmp 0x4fffa8
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x4fff79
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.005007ea
jmp 0x4fff89
cmp ecx, 2
jne 0x4fff92
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.0050211c
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.00503660
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x4fffd3
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x4fffe7
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4ffea7
pop edi
pop ebx
leave
ret
Function at 0x502647
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x57df70]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x5026df
push 0x535ba4
push 4
push eax
call fcn.00504155
push eax
call fcn.00471999
add esp, 0x10
push ebx
push edi
call fcn.005056fc
mov edi, dword [eax]
call fcn.005056fc
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00505699
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005056fc
cmp dword [eax], ebx
je 0x5026f6
call fcn.005056fc
push dword [eax]
call fcn.004f84b0
pop ecx
jmp 0x5026fd
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x50268a
jmp 0x502784
call fcn.005056fc
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x502780
cmp dword [ebp - 0x234], esi
jae 0x502780
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.005035e0
add esp, 0xc
push 0x5357b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x50276f
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x50276f
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x50276f
push ebx
push ebx
push esi
jmp 0x502778
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x502782
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cf21e
leave
ret
Function at 0x5172f8
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.00509cc8
and dword [ebp - 4], 0
cmp dword [0x585730], 0
mov ebx, eax
jne 0x5173a9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51745a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x51745a
push eax
call fcn.00509c56
mov dword [esp], 0x559924
push edi
mov dword [0x585730], eax
call esi
push eax
call fcn.00509c56
mov dword [esp], 0x559910
push edi
mov dword [0x585734], eax
call esi
push eax
call fcn.00509c56
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x585738], eax
call esi
push eax
call fcn.00509c56
pop ecx
mov dword [0x585740], eax
test eax, eax
je 0x5173a9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00509c56
pop ecx
mov dword [0x58573c], eax
mov eax, dword [0x58573c]
cmp eax, ebx
je 0x517401
cmp dword [0x585740], ebx
je 0x517401
push eax
call fcn.00509cd1
push dword [0x585740]
mov esi, eax
call fcn.00509cd1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x517401
test edi, edi
je 0x517401
call esi
test eax, eax
je 0x5173f8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5173f8
test byte [ebp - 0xc], 1
jne 0x517401
or dword [ebp + 0x10], 0x200000
jmp 0x51743a
mov eax, dword [0x585734]
cmp eax, ebx
je 0x51743a
push eax
call fcn.00509cd1
pop ecx
test eax, eax
je 0x51743a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x51743a
mov eax, dword [0x585738]
cmp eax, ebx
je 0x51743a
push eax
call fcn.00509cd1
pop ecx
test eax, eax
je 0x51743a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x585730]
call fcn.00509cd1
pop ecx
test eax, eax
je 0x51745a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51745c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a38
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.00404164
test esi, esi
jne 0x402a6e
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.00404254
jmp 0x402a8c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040294c
mov edi, eax
test esi, esi
je 0x402a8c
cmp dword [ebx], 0
je 0x402a8c
dec esi
jmp 0x402a75
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d58
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403208
Capabilities:
Query or enumerate registry value

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

Function at 0x403f64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ab048], 0
je 0x403fc5
cmp word [0x4ab21c], 0xd7b2
jne 0x403f8d
cmp dword [0x4ab224], 0
jbe 0x403f8d
mov eax, 0x4ab218
call dword [0x4ab234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a9070
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 0x403fec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a9034], 0
jne 0x403fe1
push 0
push 0x4a9068
push 0x4a9070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404118
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.00402710
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ab049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040e0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4055d0
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 0x405800
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405653
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405800
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405653
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40581c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4056dc
xor eax, eax
push ebp
push 0x4056d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405418
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
test eax, eax
je 0x4056ba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40583c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4056ba
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 0x4056dc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
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 0x4057f6
cmp byte [ebp - 0xd], 0
jne 0x405723
cmp byte [ebp - 0x12], 0
je 0x4057f6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40573c
dec ebx
cmp byte [ebx], 0x2e
je 0x40574b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40573b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4057f6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405788
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 0x4057f6
cmp byte [ebp - 0xd], 0
je 0x4057f6
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 0x4057f6
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 0x405ef8
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 0x405f5e
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.004043d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f48
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f65
lea eax, [ebp - 0x10]
call fcn.00404164
ret

Function at 0x40b9a4
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 0x40b9dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404254
jmp 0x40b9e6
mov eax, ebx
mov edx, esi
call fcn.004041b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c098
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bf10
mov eax, dword [0x4aa8fc]
cmp byte [eax], 0
je 0x40c114
mov eax, dword [0x4aa654]
call fcn.00402bc4
call fcn.00402878
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.00408c7c
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 0x40c15c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c14a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4aa5f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ab664]
call fcn.004053dc
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