joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b24e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b254b
cmp byte [ebx + 0xd3], 0
jne 0x4b254b
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406aa0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b2538
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b2558
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406cf8
jmp 0x4b2558
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406cf8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b3bfc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b3c6a
mov eax, esi
call fcn.00475694
test al, al
je 0x4b3c6a
mov eax, dword [ebx + 0x84]
call fcn.004752e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b3c6a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b3c5e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004752e8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046c660
jmp 0x4b3c6a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b3a34
pop esi
pop ebx
ret
Function at 0x4b60a8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x42195c]
call fcn.0040797c
xor eax, eax
push ebp
push 0x4b61f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e90d0], 0
jne 0x4b60fc
mov ecx, dword [0x4e9d4c]
mov dl, 1
mov eax, dword [0x415f1c]
call fcn.0041e514
call fcn.00406098
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.0040491c
mov eax, ebx
call fcn.0040713c
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b6200
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409920
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b6143
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b6198
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4b6191
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407344
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407308
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00419730
test eax, eax
jne 0x4b6191
mov ebx, 0x15
jmp 0x4b619d
mov ebx, 0x10
jmp 0x4b619d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4e90d0]
call fcn.004b5f14
mov eax, dword [ebp - 4]
call fcn.004b5f14
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b61f9
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004069a8
lea eax, [ebp - 0xc]
mov edx, dword [0x42195c]
call fcn.00407a54
ret

Function at 0x4baeb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004ba8f0
test byte [ebx + 0x2a5], 4
jne 0x4baf4d
mov edx, esp
mov eax, ebx
call fcn.0046bfe0
push esp
mov eax, ebx
call fcn.00475084
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4baeed
sub eax, 0xfffffd14
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x280]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x294], 0
jne 0x4baf1e
mov ecx, dword [0x4e9f4c]
mov dl, 1
mov eax, dword [0x4b5900]
call fcn.0041e514
call fcn.00406098
mov eax, ebx
call fcn.004bb4d4
cmp byte [ebx + 0x59], 0
jne 0x4baf54
mov eax, ebx
call fcn.004752e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4baf54
push 0
mov eax, ebx
call fcn.004752e8
push eax
call sub.user32.dll_ShowWindow
jmp 0x4baf54
mov eax, ebx
call fcn.00471164
add esp, 0x10
pop ebx
ret
Function at 0x4bfe58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bfebf
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.004073e0
push edi
mov eax, dword [ebp - 4]
call fcn.0040727c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfec6
lea eax, [ebp - 4]
call fcn.00406948
ret

Function at 0x4c510c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push 0x100
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c5196
xor edx, edx
push ebp
push 0x4c5177
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5196
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c9a54
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c9a82
mov eax, ebx
call fcn.004ca508
cmp dword [ebx + 0x40], 0
je 0x4c9a7b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c9af3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c9ae5
cmp dword [ebx + 8], 0
je 0x4c9aa4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c9ab6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c9ae5
cmp dword [ebx + 8], 0
je 0x4c9a97
cmp eax, 3
je 0x4c9ac9
dec eax
jne 0x4c9a97
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 0x4c9a97
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c9a97
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c9b11
cmp dword [ebx + 0x14], 0xcc
je 0x4c9b11
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c9b1c
pop ebx
ret

Function at 0x4da294
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a2c
mov eax, dword [ebp - 8]
call fcn.00406a2c
mov eax, dword [ebp - 0xc]
call fcn.00406a2c
xor eax, eax
push ebp
push 0x4da3c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.0040727c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.0040727c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.0049f3b8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.0040727c
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4da3a8
xor eax, eax
push ebp
push 0x4da3a1
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4da381
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x4da385
xor eax, eax
jmp 0x4da387
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da3a8
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da3ca
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004069a8
ret
Function at 0x4da3d4
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a2c
mov eax, dword [ebp - 8]
call fcn.00406a2c
mov eax, dword [ebp - 0xc]
call fcn.00406a2c
mov eax, dword [ebp + 0xc]
call fcn.00406a2c
xor eax, eax
push ebp
push 0x4da53e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.0040727c
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x4da554
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.0040727c
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4da51b
xor edx, edx
push ebp
push 0x4da514
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.0040727c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040727c
push eax
movzx eax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x4da4fd
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4da4f4
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x4da4f8
xor eax, eax
jmp 0x4da4fa
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da51b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da545
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004069a8
lea eax, [ebp + 0xc]
call fcn.00406948
ret
Function at 0x4da564
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4da62c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4da630
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4da62c
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4da623
xor eax, eax
push ebp
push 0x4da61c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da623
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4da968
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4dab92
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x105
mov eax, dword [ebp - 0x20]
call fcn.004043fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4da9e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x4da9d3
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.004072cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da9f0
mov eax, dword [ebp - 0x10]
call fcn.00404418
ret

Function at 0x4dc1d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov bl, 2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x14
call fcn.0040491c
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x4dc20b
cmp word [ebp - 0x14], 0x31
jne 0x4dc209
mov bl, 1
jmp 0x4dc20b
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ddab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00475694
test al, al
je 0x4ddb6f
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4ddb4d
cmp word [esi + 0x67a], 0
je 0x4ddb01
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x4ddb24
cmp dword [ebp - 4], 0
jbe 0x4ddb20
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4ddb24
xor ebx, ebx
jmp 0x4ddb26
mov bl, 1
test bl, bl
jne 0x4ddb6f
mov eax, dword [0x4ea078]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x4ddb6f
mov eax, dword [0x4ea078]
mov eax, dword [eax]
call fcn.004b2a6c
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x4ddb6f
cmp byte [esi + 0x610], 0
jne 0x4ddb6f
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004bb2d8
cmp eax, 4
jne 0x4ddade
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4029ec
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.00404344
test esi, esi
jne 0x402a22
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.00404434
jmp 0x402a40
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402900
mov edi, eax
test esi, esi
je 0x402a40
cmp dword [ebx], 0
je 0x402a40
dec esi
jmp 0x402a29
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403468
Capabilities:
Query or enumerate registry value

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

Function at 0x4041c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x452044], 0
je 0x404229
cmp word [0x452218], 0xd7b2
jne 0x4041f1
cmp dword [0x452220], 0
jbe 0x4041f1
mov eax, 0x452214
call dword [0x452230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x451054
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 0x404250
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45101c], 0
jne 0x404245
push 0
push 0x451074
push 0x451054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409690
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 0x4096c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404434
jmp 0x4096d2
mov eax, ebx
mov edx, esi
call fcn.00404398
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x409d84
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409bfc
mov eax, dword [0x451e64]
cmp byte [eax], 0
je 0x409dec
mov eax, dword [0x451cb4]
call fcn.00402d84
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004088c8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x409e34
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409e22
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451c74]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x452710]
call fcn.00405a78
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 0x40a88c
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 0x40a8f0
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.004045ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040851c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a8f7
lea eax, [ebp - 0xc]
call fcn.00404344
ret
Function at 0x41c4ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x452a1c
cmp dword [edi], 0
jne 0x41c568
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x452a18]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4514b8
mov ecx, 2
call fcn.004028c0
mov edx, 0x41c4c4
lea eax, [esi + 5]
call fcn.0041c4e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c4e4
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 0x41c53d
mov dword [0x452a18], 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 0x41d6f4
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 0x41d6fa
ret

Function at 0x41fafc
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 0x41fb4d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41fb34
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41fb24
jmp 0x41fb4d
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 0x41fb35
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427384
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 0x4272d0
call sub.user32.dll_EnumWindows
ret

Function at 0x4274a8
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 0x427525
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426ef4
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 0x4274cd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426b4c
cmp dword [ebp - 4], 0
je 0x42750f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047f4
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 0x42752c
lea eax, [ebp - 4]
call fcn.00404344
ret

Function at 0x42b200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42b250]
test si, 4
je 0x42b214
or bl, 1
test si, 8
je 0x42b21e
or bl, 4
test si, 1
je 0x42b228
or bl, 8
test si, 2
je 0x42b232
or bl, 0x10
test si, 0x10
je 0x42b23c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42b24b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42b254
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42b28c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42b26d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42b27c
or bl, 4
test esi, 0x20000000
je 0x42b287
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret