joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41751c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x41753f
add esp, 0xfffffff0
call fcn.00403e70
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x417645
push dword fs:[eax]
mov dword fs:[eax], esp
cmp di, 0xffff
jne 0x4175c7
mov edx, dword [ebp + 8]
mov eax, esi
call fcn.00409398
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.00417414
cmp dword [ebx + 4], 0
jge 0x41762a
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040985c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.user32.dll_GetKeyboardState
lea edx, [ebp - 0x1c]
call fcn.0040c29c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x48e5e8]
mov dl, 1
mov eax, dword [0x412a98]
call fcn.0040cbc0
call fcn.004042d8
jmp 0x41762a
movzx edx, di
mov eax, esi
call fcn.0040931c
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.00417414
cmp dword [ebx + 4], 0
jge 0x41762a
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.0040985c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.user32.dll_GetKeyboardState
lea edx, [ebp - 0x24]
call fcn.0040c29c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x48df74]
mov dl, 1
mov eax, dword [0x412af4]
call fcn.0040cbc0
call fcn.004042d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41764c
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404960
ret

Function at 0x41aebc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x41aed5
add esp, 0xfffffff0
call fcn.00403e70
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x41af66
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403b1c
call fcn.0041ac5c
mov byte [esi + 0xe], bl
mov byte [esi + 0xc], bl
push esi
push 4
lea eax, [esi + 8]
push eax
mov ecx, 0x41ae14
xor edx, edx
xor eax, eax
call fcn.004048f0
mov ebx, eax
mov dword [esi + 4], ebx
test ebx, ebx
jne 0x41af50
call sub.user32.dll_GetKeyboardState
lea edx, [ebp - 0x10]
call fcn.0040c29c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48e518]
mov dl, 1
mov eax, dword [0x413a44]
call fcn.0040cbc0
call fcn.004042d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41af6d
lea eax, [ebp - 0x10]
call fcn.0040493c
ret

Function at 0x41da38
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 0x41da3e
ret
Function at 0x41f97c
Capabilities:
Log keystrokes via polling
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x41fa18
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetKeyboardState
mov ebx, eax
test ebx, ebx
je 0x41f9fa
push 0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x400
push ebx
push 0
push 0x1000
call sub.user32.dll_ExitWindowsEx
test eax, eax
je 0x41f9fa
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, 0x100
call fcn.00404bac
mov ecx, dword [ebp - 0x104]
mov dl, 1
mov eax, dword [0x412e78]
call fcn.0040cac8
call fcn.004042d8
jmp 0x41f9ff
call fcn.0041f928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fa1f
lea eax, [ebp - 0x104]
call fcn.0040493c
ret
Function at 0x427c88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
push edx
mov eax, dword [esi + 4]
push eax
call sub.user32.dll_SetActiveWindow
sub eax, 0xffffffff
je 0x427cba
dec eax
je 0x427cb2
sub eax, 0x80
je 0x427cae
sub eax, 0x82
je 0x427cb6
jmp 0x427cc6
mov bl, 2
jmp 0x427cc8
xor ebx, ebx
jmp 0x427cc8
mov bl, 1
jmp 0x427cc8
mov bl, 3
call sub.user32.dll_GetKeyboardState
mov dword [esi + 8], eax
jmp 0x427cc8
mov bl, 3
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4291c4
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 0x429375
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404fec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42938c
call fcn.00404c48
mov eax, ebx
call fcn.0041b9cc
mov edi, eax
dec edi
test edi, edi
jl 0x42927c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b9a0
mov edx, dword [0x42f3e4]
call fcn.00403cd8
test al, al
je 0x429278
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b9a0
lea edx, [ebp - 0x14]
call fcn.0043678c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404fec
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cbc
inc esi
dec edi
jne 0x42922a
mov al, byte [0x429390]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42939c
mov eax, dword [ebp - 0xc]
call fcn.0040df84
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004049d4
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.0043678c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42938c
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 + 0x2f8]
call fcn.0043678c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42938c
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, 0x42938c
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, 0x4293a8
call fcn.0040a120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42937c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404960
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404960
lea eax, [ebp - 0x14]
call fcn.0040493c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404960
ret
Function at 0x457a74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
cmp edx, dword [ebp + 8]
jne 0x457a95
mov esi, eax
mov eax, edx
test eax, eax
jbe 0x457a91
mov dl, byte [esi]
xor dl, 8
mov byte [ecx], dl
inc esi
inc ecx
dec eax
jne 0x457a85
mov al, 1
jmp 0x457a97
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x457a9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
cmp edx, dword [ebp + 8]
jne 0x457abd
mov esi, eax
mov eax, edx
test eax, eax
jbe 0x457ab9
mov dl, byte [esi]
xor dl, 8
mov byte [ecx], dl
inc esi
inc ecx
dec eax
jne 0x457aad
mov al, 1
jmp 0x457abf
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x457d74
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x48cf4c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x458070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x458089
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x458082
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x45809b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x458094
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00457c64
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4580b5
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00457d74
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x45813a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x458157
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00457cf4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x458180
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458198
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4581b1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4581aa
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4581c5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00457b5c
test bl, bl
jne 0x458298
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x48fc54
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4581fc
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x458210
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00458070
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x458242
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4581f1
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x458265
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x458276
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x45828a
jmp 0x458353
cmp bl, 1
jne 0x458353
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x48fcae
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4582b8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4582cc
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00458070
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4582fe
sub ebx, 6
inc dword [ebp - 8]
jne 0x4582ad
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x458325
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x458336
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x45834a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00457be0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x459074
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dec
xor eax, eax
push ebp
push 0x4591c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.00404dfc
push eax
call fcn.00457334
mov ebx, eax
test ebx, ebx
jbe 0x459194
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call fcn.00457324
call sub.user32.dll_GetKeyboardState
cmp eax, 0xea
jne 0x45918a
mov eax, dword [ebp - 0x14]
mov ecx, 0x24
xor edx, edx
div ecx
mov esi, eax
inc esi
push esi
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x45904c]
call fcn.00405cb4
add esp, 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, esi
shl eax, 2
lea eax, [eax + eax*8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call fcn.00457324
test eax, eax
je 0x459184
mov edi, dword [ebp - 0x18]
dec edi
test edi, edi
jl 0x459184
inc edi
xor esi, esi
lea eax, [esi + esi*8]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], 0
je 0x459180
lea eax, [ebp - 0x44]
lea edx, [esi + esi*8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + edx*4 + 4]
call fcn.00404b34
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec edi
jne 0x459157
mov byte [ebp - 9], 1
jmp 0x45918e
mov byte [ebp - 9], 0
push ebx
call fcn.00457304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4591c7
lea eax, [ebp - 0x44]
call fcn.0040493c
lea eax, [ebp - 0x10]
mov edx, dword [0x45904c]
call fcn.00405cc0
lea eax, [ebp - 4]
call fcn.0040493c
ret
Function at 0x45957c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404dec
mov eax, dword [ebp + 8]
call fcn.00404dec
xor eax, eax
push ebp
push 0x45976c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45972f
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0x459780
call fcn.00457334
mov ebx, eax
test ebx, ebx
jne 0x45960c
call sub.user32.dll_GetKeyboardState
lea edx, [ebp - 0x1c]
call fcn.0040c29c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x407f28]
call fcn.0040cac8
call fcn.004042d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459739
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404dfc
push eax
push 0
push 2
push 0x110
push 0xf01ff
push edi
push esi
push ebx
call fcn.00457314
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45966c
call sub.user32.dll_GetKeyboardState
lea edx, [ebp - 0x20]
call fcn.0040c29c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x407f28]
call fcn.0040cac8
call fcn.004042d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459739
mov byte [ebp - 5], 1
mov eax, dword [0x48e56c]
cmp dword [eax], 0
je 0x459708
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x400
mov edx, 1
mov eax, dword [ebp + 8]
call fcn.00404e5c
mov eax, 4
call fcn.00402764
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00404bfc
inc eax
call fcn.00402764
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
xor eax, eax
push ebp
push 0x459701
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.00409ab4
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48e56c]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459708
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00402784
mov eax, dword [ebp - 0x10]
call fcn.00402784
ret
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.0045736c
mov eax, dword [ebp - 0xc]
push eax
call fcn.00457304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459739
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459773
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404960
lea eax, [ebp - 0x14]
call fcn.0040493c
lea eax, [ebp - 4]
call fcn.0040493c
lea eax, [ebp + 8]
call fcn.0040493c
ret
Function at 0x4599e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dec
xor eax, eax
push ebp
push 0x459b4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call fcn.00457334
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x459b31
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404dfc
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0045733c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x459b28
mov eax, dword [0x48e1e8]
cmp dword [eax], 0
je 0x459b1f
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48e1e8]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x459b1f
call sub.user32.dll_GetKeyboardState
cmp eax, 0x7a
jne 0x459b1f
mov eax, dword [ebp - 0x14]
inc eax
call fcn.00402764
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x459b18
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48e1e8]
mov eax, dword [eax]
call eax
test eax, eax
je 0x459b02
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00409c30
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00404990
jmp 0x459af2
mov edx, dword [ebx]
mov eax, 0x459b64
call fcn.00404f40
mov edx, eax
mov eax, ebx
mov ecx, 2
call fcn.00404e9c
mov edx, dword [ebx]
mov eax, 0x459b64
call fcn.00404f40
test eax, eax
jg 0x459ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459b1f
mov eax, dword [ebp - 0x10]
call fcn.00402784
ret
mov eax, dword [ebp - 0xc]
push eax
call fcn.00457304
mov eax, dword [ebp - 8]
push eax
call fcn.00457304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459b56
lea eax, [ebp - 0x18]
call fcn.0040493c
lea eax, [ebp - 4]
call fcn.0040493c
ret

Function at 0x45b218
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045b13c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403d48
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45b27c
call fcn.0045ac08
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45b26e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403d48
pop esi
pop ebx
ret
Function at 0x45b2a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045afec
xor eax, eax
push ebp
push 0x45b31f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040493c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45b2d9
call fcn.00404384
jmp 0x45b326
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x45b309
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa_1
mov edx, eax
mov eax, ebx
call fcn.00404b34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b326
mov eax, dword [ebp - 4]
call fcn.0045aff8
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b32c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045afec
xor eax, eax
push ebp
push 0x45b3a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040493c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45b368
call fcn.00404384
jmp 0x45b3ac
push 0x100
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname_1
test eax, eax
jne 0x45b38f
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00404bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b3ac
mov eax, dword [ebp - 4]
call fcn.0045aff8
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b3b4
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045afec
xor eax, eax
push ebp
push 0x45b42f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45b3ea
call fcn.00404384
jmp 0x45b436
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x45b419
mov ax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b436
mov eax, dword [ebp - 4]
call fcn.0045aff8
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x45b570
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404dfc
push eax
call sub.wsock32.dll_gethostbyname_1
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403284
test ebx, ebx
je 0x45b5bb
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret