joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431d00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7fc
mov esi, edx
mov ebx, eax
xor edi, edi
jmp 0x431d82
test edi, edi
jle 0x431d2d
mov ecx, 0x431e7c
mov dl, 1
mov eax, dword [0x454508]
call fcn.004595ec
call fcn.00467600
jmp 0x431d82
cmp word [ebx + 0xa42], 0
jne 0x431d4f
mov ecx, 0x431e7c
mov dl, 1
mov eax, dword [0x454508]
call fcn.004595ec
call fcn.00467600
jmp 0x431d82
mov byte [esp], 0
mov edx, esp
mov ecx, esi
mov eax, dword [ebx + 0xa44]
call dword [ebx + 0xa40]
cmp byte [esp], 0
jne 0x431d81
mov ecx, 0x431e7c
mov dl, 1
mov eax, dword [0x454508]
call fcn.004595ec
call fcn.00467600
jmp 0x431d82
inc edi
mov eax, esi
call fcn.00448f38
cmp edx, 0
jne 0x431d91
cmp eax, 0
je 0x431d11
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.00431b8c
cmp dword [ebx + 0x848], 0
jne 0x431dc4
mov ecx, 0x431e94
mov dl, 1
mov eax, dword [0x431494]
call fcn.004595ec
call fcn.00467600
mov ecx, 0x431eb0
mov dl, 2
mov eax, ebx
call fcn.00432084
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 0x846], ax
mov edi, 0x10
push 0
push 0
mov eax, esi
call fcn.00448f24
mov eax, esi
call fcn.00448f38
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x431e14
call fcn.00466d74
mov ecx, eax
lea edx, [esp + 1]
mov eax, esi
call fcn.00449130
push edi
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, esi
call fcn.00448f38
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x431e40
call fcn.00466d74
push eax
lea eax, [esp + 0x11]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.WSOCK32.DLL_sendto
cmp word [ebx + 0xa32], 0
je 0x431e6a
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
add esp, 0x804
pop edi
pop esi
pop ebx
ret

Function at 0x432144
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x432218
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.WSOCK32.DLL_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x432202
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x43222c
call fcn.00456698
mov ax, word [ebp - 0x16]
push eax
call sub.WSOCK32.DLL_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43221f
lea eax, [ebp - 8]
call fcn.00467b64
ret
Function at 0x43826c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x4e65b4
call fcn.004b8f5c
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.004b85ac
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4382e1
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x4382e1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004b85cc
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4382e1
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x4382fe
cmp dword [ebp - 0x34], 0
je 0x4382fe
mov edx, dword [ebp - 0x34]
jmp 0x438303
mov edx, 0x4e6228
lea eax, [ebp - 4]
call fcn.004c3004
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.004b85bc
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004c3194
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004c3164
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x438381
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43f348
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 1]
call fcn.0043f39c
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43f36a
lea eax, [ebp - 1]
xor edx, edx
call fcn.0043f3d0
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43f380
lea eax, [ebp - 1]
mov dl, 2
call fcn.0043f3d0
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43f396
lea eax, [ebp - 1]
mov dl, 1
call fcn.0043f3d0
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x43f9cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x4ed44c]
mov eax, dword [eax]
call fcn.0049e9b0
push 0
mov edx, dword [0x4ed44c]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
cmp word [eax + 0x24a], 0
je 0x43fa14
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24c]
call dword [ebx + 0x248]
pop ebx
pop ecx
pop ebp
ret

Function at 0x43fa18
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x4ed44c]
mov eax, dword [eax]
call fcn.0049ea60
push 9
mov edx, dword [0x4ed44c]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x4ed44c]
mov edx, dword [eax]
push dword [edx + 0x30]
call sub.USER32.DLL_SetForegroundWindow
mov ecx, dword [ebp - 4]
cmp word [ecx + 0x252], 0
je 0x43fa6f
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call dword [ebx + 0x250]
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ed64
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0044ebe8
dec esi
jne 0x44ed86
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4504d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4eda8c
cmp dword [edi], 0
jne 0x45054c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4eda88]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e7c04
mov ecx, 2
call fcn.00466080
mov edx, 0x4504a8
lea eax, [esi + 5]
call fcn.004504c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004504c8
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 0x450521
mov dword [0x4eda88], 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 0x451ab8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004516b8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00468014
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x451b16
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ed200]
mov dl, 1
mov eax, dword [0x4515b0]
call fcn.004596e4
call fcn.00467600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x451b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00468014
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x451b78
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ed1f8]
mov dl, 1
mov eax, dword [0x4515b0]
call fcn.004596e4
call fcn.00467600
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004516e8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x453484
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x441420]
call fcn.0046856c
xor eax, eax
push ebp
push 0x4535c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e7c4c], 0
jne 0x4534d7
mov ecx, dword [0x4ed234]
mov dl, 1
mov eax, dword [0x454508]
call fcn.004596a8
call fcn.00467600
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00466748
mov eax, ebx
call fcn.004683dc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4535d8
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00469920
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004683ec
test eax, eax
jle 0x45356f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x453568
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00467de4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00467dcc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00455430
test eax, eax
jne 0x453568
mov ebx, 0x15
jmp 0x453574
mov ebx, 0x10
jmp 0x453574
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e7c4c]
call fcn.004533dc
mov eax, dword [ebp - 8]
call fcn.004533dc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00469938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4535cf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00467b88
lea eax, [ebp - 0x10]
mov edx, dword [0x441420]
call fcn.0046863c
ret
Function at 0x458e34
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x458e6d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00467c54
jmp 0x458e76
mov eax, ebx
mov edx, esi
call fcn.00467bb8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x458e80
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
test eax, eax
jle 0x458ea1
mov al, byte [esp]
jmp 0x458ea3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x459528
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4593a0
mov eax, dword [0x4ed420]
cmp byte [eax], 0
je 0x459595
mov eax, dword [0x4ed428]
call fcn.0046658c
call fcn.00465f74
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00455f24
push eax
lea eax, [esp + 0x50]
push eax
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 0x4595dc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4595cb
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ed2cc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ed708]
call fcn.0046931c
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x45a458
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 0x45a4bc
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00467dcc
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00455898
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a4c3
lea eax, [ebp - 0xc]
call fcn.00467b64
ret

Function at 0x465fe8
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 0x466025
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 0x466045
lea eax, [esp + 0x109]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00467dcc
add esp, 0x210
pop esi
pop ebx
ret
Function at 0x4661ac
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.00467b64
test esi, esi
jne 0x4661e2
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.00467c54
jmp 0x466200
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004660c0
mov edi, eax
test esi, esi
je 0x466200
cmp dword [ebx], 0
je 0x466200
dec esi
jmp 0x4661e9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x466ca4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e8178]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x466d3c
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x466d1c
xor eax, eax
push ebp
push 0x466d15
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 0x466d58
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 0x466d1c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4e8178]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e8178], ax
mov esp, ebp
pop ebp
ret

Function at 0x467964
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4eddcc], 0
je 0x4679c5
cmp word [0x4edfa0], 0xd7b2
jne 0x46798d
cmp dword [0x4edfa8], 0
jbe 0x46798d
mov eax, 0x4edf9c
call dword [0x4edfb8]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x4679ec
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4e8188], 0
jne 0x4679e1
push 0
push 0x4e81e0
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x467b18
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.00465da4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4eddcd], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x467ae0
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x469510
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 0x469740
push bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x469593
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x469740
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x469593
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46975c
push bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46961c
xor eax, eax
push ebp
push 0x469615
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00469358
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 0x4695fa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x46977c
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4695fa
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 0x46961c
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 0x469736
cmp byte [ebp - 0xd], 0
jne 0x469663
cmp byte [ebp - 0x12], 0
je 0x469736
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x46967c
dec ebx
cmp byte [ebx], 0x2e
je 0x46968b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x46967b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x469736
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4696c8
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 0x469736
cmp byte [ebp - 0xd], 0
je 0x469736
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 0x469736
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 0x469ee8
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4ee340], 1
jae 0x469f6e
mov byte [0x4e8174], 2
mov dword [0x4edd90], 0x4d6e46
mov dword [0x4edd94], 0x4d6e5e
mov byte [0x4eddce], 2
mov dword [0x4edd7c], 0x468b40
call fcn.00466c74
test al, al
je 0x469f2b
call fcn.00466ca4
call fcn.00466d68
mov word [0x4eddd4], 0xd7b0
mov word [0x4edfa0], 0xd7b0
mov word [0x4ee16c], 0xd7b0
call fcn.00468a10
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4eddc0], eax
call fcn.00464a40
mov dword [0x4eddbc], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4eddb4], eax
ret

Function at 0x46a984
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 0x46a8d0
call sub.USER32.DLL_EnumWindows
ret

Function at 0x46aaa8
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 0x46ab25
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046a4f4
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 0x46aacd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046a14c
cmp dword [ebp - 4], 0
je 0x46ab0f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00468014
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 0x46ab2c
lea eax, [ebp - 4]
call fcn.00467b64
ret

Function at 0x47a504
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00467b64
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x47a553
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00467dcc
pop ebx
mov esp, ebp
pop ebp
ret