joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454e40
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 0x454feb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454fcc
mov dl, 1
mov eax, dword [0x412008]
call fcn.00403664
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404400
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454fbb
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.00442a48
test al, al
je 0x454fae
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, 0x454ffc
lea eax, [ebp - 0x254]
call fcn.00409338
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x454fae
xor eax, eax
push ebp
push 0x454fa7
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 0x455034
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x454f90
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404668
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 0x454f90
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454fae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x454eb1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004164c8
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 0x454ff2
lea eax, [ebp - 0x260]
call fcn.00404400
ret

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

Disassembly:
push ecx
mov eax, dword [0x486c28]
cmp byte [eax + 0xa5], 0
jne 0x455991
cmp dword [0x486c40], 0
jne 0x455952
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4558dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486c40], eax
cmp dword [0x486c3c], 0
jne 0x45596d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x486c3c], eax
cmp dword [0x486c44], 0
jne 0x455991
push esp
push 0
push 0
push 0x455880
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x486c44], eax
pop edx
ret
Function at 0x455a88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455a9f
add esp, 0xfffffff0
call fcn.004039f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041be30
mov eax, dword [0x485478]
cmp word [eax + 2], 0
jne 0x455ac7
mov eax, dword [0x485478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004570d4
mov eax, dword [0x485524]
cmp word [eax + 2], 0
jne 0x455ae1
mov eax, dword [0x485524]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004572cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411a60]
call fcn.00403664
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411a60]
call fcn.00403664
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e2c0]
call fcn.00425b74
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x455c68
mov eax, dword [0x4853ac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425f44
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45784c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4853ac]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040ac7c
test eax, eax
je 0x455bd6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c80
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040aca4
test eax, eax
je 0x455bea
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404668
mov eax, dword [0x485298]
cmp byte [eax], 0
jne 0x455c1e
mov eax, ebx
call fcn.00455d90
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00457a28
mov eax, ebx
call fcn.00458368
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455c5e
call fcn.00403a50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456004
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x486c28]
cmp dword [eax + 0x30], 0
je 0x4560ae
cmp dword [ebx + 0x94], 0
jne 0x4560a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455f94
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4560a8
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 0x45606e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4560a8
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.004141ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45607d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456b8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x456bc1
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.004044f0
jmp 0x456bce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404454
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457c04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457c45
mov eax, esi
call fcn.0043e1c4
test al, al
je 0x457c45
mov eax, dword [ebx + 0x84]
call fcn.0043dec0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457c45
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dec0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458a1c
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.0045867c
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.004048b0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x458a7a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x485494]
mov dl, 1
mov eax, dword [0x458534]
call fcn.0040a2c0
call fcn.00403e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4610d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46120c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x461224
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00462390
mov eax, dword [ebp - 4]
call fcn.00461c20
xor edx, edx
push ebp
push 0x4611ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x46118e
test si, si
jne 0x461140
mov eax, dword [ebp - 8]
call fcn.00408c44
mov esi, eax
cmp esi, 0xffff
jbe 0x461140
call fcn.004035d4
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x46118e
cmp eax, 0xffffffff
jle 0x46116f
sub ebx, eax
jmp 0x46117e
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004622c4
test ebx, ebx
je 0x46118e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x461143
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4611d9
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x46123c
mov dl, 1
mov eax, dword [0x4605f0]
call fcn.0040a1c8
call fcn.00403e60
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x4611d9
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4611f6
mov eax, dword [ebp - 4]
call fcn.00461c78
ret
Function at 0x46173c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4618ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x461900
mov dl, 8
mov eax, ebx
call fcn.00462390
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00416598
cmp byte [ebx + 0x10090], 0
jne 0x461896
xor eax, eax
mov dword [ebx + 0x1008c], eax
mov eax, dword [ebp - 4]
call fcn.004165ac
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4617a1
call fcn.004035d4
mov dword [ebx + 0x100b8], eax
mov eax, dword [ebp - 4]
call fcn.004165ac
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00416578
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4617d0
call fcn.004035d4
cmp eax, 0x10000
jle 0x4617dc
mov eax, 0x10000
lea edx, [ebx + 0x30]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x461803
call fcn.004035d4
lea eax, [ebx + eax + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4618d4
test eax, eax
jle 0x461843
sub esi, eax
add dword [ebx + 0x1008c], eax
cmp word [ebx + 0x100ca], 0
je 0x461851
mov edx, ebx
mov eax, dword [ebx + 0x100cc]
call dword [ebx + 0x100c8]
jmp 0x461851
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.004622c4
mov eax, dword [0x48550c]
mov eax, dword [eax]
call fcn.00456e28
test esi, esi
je 0x46186a
cmp byte [ebx + 0x10090], 0
je 0x4617ef
mov eax, dword [ebp - 4]
call fcn.004165ac
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00416578
cmp edx, dword [esp + 4]
jne 0x461885
cmp eax, dword [esp]
pop edx
pop eax
je 0x461896
cmp byte [ebx + 0x10090], 0
je 0x4617a7
cmp byte [ebx + 0x10090], 0
je 0x4618d4
mov byte [ebx + 0x10090], 0
mov ecx, 0x461914
mov dl, 1
mov eax, dword [0x4605f0]
call fcn.0040a1c8
call fcn.00403e60
cmp word [ebx + 0x1028a], 0
je 0x4618d4
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4618f1
lea eax, [ebp - 0xc]
call fcn.00404400
ret
Function at 0x4621cc
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x462298
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4622ac
mov dl, 4
mov eax, ebx
call fcn.00462390
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x462282
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x462274
test byte [ebx + 0x1c], 8
jne 0x462231
cmp word [ebx + 0x10052], 0
je 0x462231
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x462282
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x462254
call fcn.004035d4
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x462282
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.004622c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46229f
lea eax, [ebp - 4]
call fcn.00404400
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x462474
mov dl, 8
mov eax, ebx
call fcn.00462390
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x462466
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x46836c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x468542
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x468529
mov eax, dword [edi + 0x30]
call fcn.004046b8
test eax, eax
jne 0x4683c2
mov eax, dword [edi + 0x34]
call fcn.004046b8
test eax, eax
jne 0x4683c2
mov eax, edi
call fcn.004685e0
jmp 0x468529
cmp dword [edi + 0xa0], 0
jne 0x4683f9
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00408cdc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x486d14]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x468430
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00408cdc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x486d14]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00468620
mov ebx, eax
test bl, bl
jne 0x4684de
mov eax, dword [edi + 0x30]
call fcn.004046b8
test eax, eax
jne 0x468468
mov eax, dword [edi + 0xc0]
call fcn.004046b8
test eax, eax
je 0x4684de
mov eax, dword [edi + 0xc0]
call fcn.004046b8
test eax, eax
je 0x46848a
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00408cdc
jmp 0x4684b6
push dword [edi + 0x30]
push 0x46855c
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404778
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00408cdc
push 7
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jb 0x4684de
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00468620
mov ebx, eax
test bl, bl
jne 0x4684eb
mov eax, edi
call fcn.004685e0
jmp 0x468529
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4684fa
mov dword [edi + 0xa8], eax
jmp 0x468504
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00468698
test al, al
je 0x468529
mov eax, edi
mov si, 0xffee
call fcn.00403890
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00468868
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468549
lea eax, [ebp - 0x108]
call fcn.00404400
ret
Function at 0x46ca88
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46cab6
mov eax, ebx
call fcn.0046d540
cmp dword [ebx + 0x3c], 0
je 0x46caaf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46cb27
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46cb19
cmp dword [ebx + 8], 0
je 0x46cad8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46caea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46cb19
cmp dword [ebx + 8], 0
je 0x46cacb
cmp eax, 3
je 0x46cafd
dec eax
jne 0x46cacb
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 0x46cacb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46cacb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46cb45
cmp dword [ebx + 0x10], 0xcc
je 0x46cb45
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046cb50
pop ebx
ret
Function at 0x47e798
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e9f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47e7fb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0047e2b0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040aa4c
cmp al, 1
jne 0x47e7fb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0047e578
test al, al
je 0x47e987
cmp dword [ebp - 8], 0
jge 0x47e819
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0047e2b0
mov eax, dword [ebp - 0x210]
call fcn.004046b8
cmp ebx, eax
jge 0x47e863
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0047e2b0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x485664]
and eax, 0xff
bt dword [edx], eax
jae 0x47e863
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x47e877
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047e774
cmp ebx, dword [ebp - 8]
je 0x47e979
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x47e8a3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403890
and eax, 0x7f
movzx eax, word [eax*2 + 0x485250]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x47e966
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403890
and eax, 0x7f
movzx eax, word [eax*2 + 0x485250]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043dec0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403890
and eax, 0x7f
movzx eax, word [eax*2 + 0x485250]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043dec0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e96d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47e9da
cmp dword [ebp - 8], 0
jge 0x47e992
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0047e2b0
mov eax, dword [ebp - 0x218]
call fcn.004046b8
cmp eax, dword [ebp - 8]
jg 0x47e9cc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0047e2b0
mov eax, dword [ebp - 0x21c]
call fcn.004046b8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047e774
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e9ff
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404424
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x52b3bfd
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x54ec6922
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x438860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x438882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x438889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x438878
pushfd
xor eax, eax
inc eax
popfd
add ebx, ebx
jne 0x43889b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x438890
jne 0x4388ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x438890
xor ecx, ecx
sub eax, 3
jb 0x4388c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438932
mov ebp, eax
add ebx, ebx
jne 0x4388cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4388d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4388fc
inc ecx
add ebx, ebx
jne 0x4388e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4388dd
jne 0x4388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4388dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43891c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43890d
jmp 0x43887e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43891c
add edi, ecx
jmp 0x43887e
pop esi
mov edi, esi
mov ecx, 0xe0e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43893a
cmp byte [edi], 0xa
jne 0x43893a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43893f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
test eax, eax
je 0x4389b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43896c
push edi
pop ecx
jns 0x43899b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x382b0]
test eax, eax
je 0x4389b1
mov dword [ebx], eax
add ebx, 4
jmp 0x438989
call dword [esi + 0x382b4]
popal
jmp 0x41be59