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

Disassembly:
sub esp, 8
push ebp
push esi
xor esi, esi
mov ebp, ecx
push 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x4521cb
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0x10
mov eax, dword [esp + 0x20]
push ebx
cmp eax, esi
mov esi, dword [esp + 0x20]
push edi
jne 0x452220
mov edi, dword [esp + 0x1c]
inc esi
mov ecx, edi
call fcn.004071c0
cmp eax, esi
jg 0x452266
mov ecx, edi
call fcn.00407240
mov ebx, dword [esp + 0x20]
mov ecx, edi
mov esi, eax
inc ebx
call fcn.00407180
cmp eax, ebx
jg 0x45226a
mov ecx, edi
call fcn.00407180
mov ebx, eax
mov ecx, edi
dec ebx
call fcn.004071c0
mov esi, eax
mov dword [esp + 0x10], 1
dec esi
jmp 0x45226a
mov edi, dword [esp + 0x1c]
dec esi
mov ecx, edi
call fcn.00407240
cmp esi, eax
jge 0x452266
mov ecx, edi
call fcn.004071c0
mov ebx, dword [esp + 0x20]
mov esi, eax
dec esi
mov ecx, edi
dec ebx
call fcn.00407200
cmp ebx, eax
jge 0x45226a
mov ecx, edi
call fcn.00407200
mov ecx, edi
mov ebx, eax
call fcn.00407240
mov esi, eax
mov dword [esp + 0x10], 1
jmp 0x45226a
mov ebx, dword [esp + 0x20]
lea edx, [ebp + 0x4be]
cmp edi, edx
jne 0x452281
push esi
push ebx
mov ecx, ebp
call fcn.0044eb30
test eax, eax
je 0x4522af
lea eax, [ebp + 0x577]
cmp edi, eax
jne 0x452298
push esi
push ebx
mov ecx, ebp
call fcn.0044f050
test eax, eax
jne 0x4522af
lea ecx, [ebp + 0x6e9]
cmp edi, ecx
jne 0x4522d5
push esi
push ebx
mov ecx, ebp
call fcn.0044f5f0
test eax, eax
je 0x4522d5
push esi
mov ecx, edi
call fcn.00407380
push ebx
mov ecx, edi
call fcn.00407340
pop edi
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebx
pop esi
pop ebp
add esp, 8
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4522f0
mov edx, dword [esp + 0x28]
mov ecx, ebp
push edx
push esi
push ebx
push edi
call fcn.004521a0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret 0x10
Function at 0x45bd50
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x51ce48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x57373c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x80], 0
cmp eax, 1
jne 0x45be14
lea esi, [ebx + 0x1642]
mov ecx, esi
call fcn.00407620
mov ecx, esi
mov edi, eax
call fcn.00407600
test edi, edi
mov ebp, eax
jne 0x45bdec
mov ecx, esi
call fcn.004f825d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xbc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.004f33be
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xbc]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x45be14
test ebp, ebp
je 0x45be14
push ebp
mov ecx, esi
call fcn.00407340
lea ebp, [ebx + 0x1642]
mov ecx, ebp
call fcn.00407360
mov ecx, ebp
mov esi, eax
call fcn.00407320
test esi, esi
je 0x45bdc1
test eax, eax
je 0x45bdc1
lea ecx, [esi - 1]
dec eax
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x8c], ecx
push eax
push edx
mov ecx, ebx
call fcn.0045bef0
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x14]
push 0x64
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call fcn.004f37ee
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x90]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x45bea9
lea ecx, [esp + 0x1c]
lea edx, [ebx + 0xe4c]
push ecx
push edx
mov ecx, ebp
call fcn.004093d0
jmp 0x45bebc
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x390]
push eax
push ecx
mov ecx, ebp
call fcn.004092c0
lea ecx, [esp + 0x10]
mov dword [ebx + 0x1aca], 0
mov dword [ebx + 0x1ace], ebp
mov dword [esp + 0x80], 0xffffffff
call fcn.004f33be
mov eax, 1
jmp 0x45bdd7
Function at 0x460010
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x8c
cmp eax, 1
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 0x12d7]
jne 0x460089
mov ecx, ebx
call fcn.00407620
mov ecx, ebx
mov esi, eax
call fcn.00407600
test esi, esi
mov edi, eax
jne 0x460061
mov ecx, ebx
call fcn.004f825d
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0xbc]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x460089
test edi, edi
je 0x460089
push edi
mov ecx, ebx
call fcn.00407340
mov ecx, ebx
call fcn.00407360
mov ecx, ebx
mov dword [esp + 0x10], eax
call fcn.00407320
mov ecx, ebx
mov esi, eax
call fcn.004072a0
mov edi, eax
cmp esi, edi
jge 0x4600b4
push edi
mov ecx, ebx
call fcn.00407340
mov esi, edi
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4601c5
test esi, esi
je 0x4601c5
lea eax, [esi - 1]
lea esi, [ecx - 1]
cmp esi, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
je 0x4600e0
cmp esi, 3
jne 0x4600fd
push eax
mov ecx, ebp
call fcn.004602b0
test eax, eax
jne 0x4600fd
push 1
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.00407380
mov esi, dword [esp + 0x10]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00460330
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x44]
add esp, 0xc
rep stosd dword es:[edi], eax
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x18]
mov edx, ecx
lea edi, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00468720
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x46015f
jmp dword [eax*4 + 0x4601d4]
push 1
push ebp
lea eax, [esp + 0x40]
push 1
lea ecx, [ebp + 0x1cc]
push eax
lea edx, [ebp + 0xe5e]
push ecx
push edx
mov ecx, ebx
call fcn.004094a0
jmp 0x4601b5
push ebp
lea eax, [esp + 0x1c]
push 1
lea ecx, [ebp + 0xe5e]
push eax
push ecx
mov ecx, ebx
call fcn.004093d0
jmp 0x4601b5
push ebp
lea edx, [esp + 0x1c]
push 1
lea eax, [ebp + 0xe22]
push edx
push eax
mov ecx, ebx
call fcn.004091a0
mov dword [ebp + 0x16d4], 0
mov dword [ebp + 0x16d8], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4
Function at 0x465ed0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x465f2d
lea esi, [ebp + 0x121e]
mov ecx, esi
call fcn.00407620
mov ecx, esi
mov edi, eax
call fcn.00407600
test edi, edi
mov ebx, eax
jne 0x465f05
mov ecx, esi
call fcn.004f825d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x465f21
test ebx, ebx
je 0x465f21
push ebx
mov ecx, esi
call fcn.00407340
test edi, edi
je 0x465f2d
push edi
mov ecx, esi
call fcn.00407380
lea esi, [ebp + 0x121e]
mov ecx, esi
call fcn.00407360
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00407320
mov ecx, esi
mov ebx, eax
call fcn.004072a0
mov edi, eax
cmp ebx, edi
jge 0x465f5e
push edi
mov ecx, esi
call fcn.00407340
mov ebx, edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x465ffe
test ebx, ebx
je 0x465ffe
mov edx, dword [0x57cee4]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov bx, word [edx + ebx*2 + 0xe]
cmp bx, 0xffff
jne 0x465f9a
mov byte [esp + 0x10], 0
jmp 0x465fb9
and ebx, 0xffff
lea eax, [esp + 0x10]
add ebx, 0x3e7
push ebx
push 0x56bcac
push eax
call fcn.004dce08
add esp, 0xc
lea edi, [ebp + 0xea8]
push 2
mov ecx, edi
call fcn.004061a0
mov ecx, dword [ebp + 0xec4]
push 0
push 4
push 0xc5
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
lea edx, [esp + 0x14]
push 1
push edx
push edi
mov ecx, esi
call fcn.004093d0
mov dword [ebp + 0x16d4], 0
mov dword [ebp + 0x16d8], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4664c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x46651d
lea edi, [esi + 0x1502]
mov ecx, edi
call fcn.00407620
mov ecx, edi
mov ebx, eax
call fcn.00407600
test ebx, ebx
mov ebp, eax
jne 0x4664f5
mov ecx, edi
call fcn.004f825d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x466511
test ebp, ebp
je 0x466511
push ebp
mov ecx, edi
call fcn.00407340
test ebx, ebx
je 0x46651d
push ebx
mov ecx, edi
call fcn.00407380
lea ebp, [esi + 0x1502]
mov ecx, ebp
call fcn.00407360
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00407320
mov ecx, ebp
mov ebx, eax
call fcn.004072a0
mov edi, eax
cmp ebx, edi
jge 0x46654e
push edi
mov ecx, ebp
call fcn.00407340
mov ebx, edi
mov edx, dword [esp + 0x34]
test edx, edx
je 0x46660d
test ebx, ebx
je 0x46660d
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
dec edx
rep stosd dword es:[edi], eax
test edx, edx
stosw word es:[edi], ax
jne 0x46659c
mov edx, dword [0x57cee4]
mov al, byte [edx + 0x54]
cmp al, 0xff
jne 0x46658a
mov byte [esp + 0x10], 0
jmp 0x4665c8
and eax, 0xff
push eax
lea eax, [esp + 0x14]
push 0x563178
push eax
jmp 0x4665c0
mov ecx, dword [0x57cee4]
mov al, byte [ecx + 0x55]
cmp al, 0xff
jne 0x4665b0
mov byte [esp + 0x10], 0
jmp 0x4665c8
and eax, 0xff
lea edx, [esp + 0x10]
push eax
push 0x563178
push edx
call fcn.004dce08
add esp, 0xc
lea edi, [esi + 0x208]
push 2
mov ecx, edi
call fcn.004061a0
mov eax, dword [esi + 0x224]
push 0
push 2
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
lea ecx, [esp + 0x14]
push 1
push ecx
push edi
mov ecx, ebp
call fcn.004093d0
mov dword [esi + 0x16d4], 0
mov dword [esi + 0x16d8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x466620
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x46667d
lea edi, [esi + 0x1449]
mov ecx, edi
call fcn.00407620
mov ecx, edi
mov ebx, eax
call fcn.00407600
test ebx, ebx
mov ebp, eax
jne 0x466655
mov ecx, edi
call fcn.004f825d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x466671
test ebp, ebp
je 0x466671
push ebp
mov ecx, edi
call fcn.00407340
test ebx, ebx
je 0x46667d
push ebx
mov ecx, edi
call fcn.00407380
lea ebp, [esi + 0x1449]
mov ecx, ebp
call fcn.00407360
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00407320
mov ecx, ebp
mov ebx, eax
call fcn.004072a0
mov edi, eax
cmp ebx, edi
jge 0x4666ae
push edi
mov ecx, ebp
call fcn.00407340
mov ebx, edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46675b
test ebx, ebx
je 0x46675b
push ebx
mov ecx, esi
call fcn.00466380
test eax, eax
je 0x46675b
mov edx, dword [0x57cee4]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
stosw word es:[edi], ax
lea eax, [edx + ebx*2 + 0x54]
mov al, byte [eax + ecx - 1]
cmp al, 0xff
jne 0x4666fe
mov byte [esp + 0x10], 0
jmp 0x466716
and eax, 0xff
lea edx, [esp + 0x10]
push eax
push 0x563178
push edx
call fcn.004dce08
add esp, 0xc
lea edi, [esi + 0x252]
push 2
mov ecx, edi
call fcn.004061a0
mov eax, dword [esi + 0x26e]
push 0
push 2
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
lea ecx, [esp + 0x14]
push 1
push ecx
push edi
mov ecx, ebp
call fcn.004093d0
mov dword [esi + 0x16d4], 0
mov dword [esi + 0x16d8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x468720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d8c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x57373c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov ecx, edi
call fcn.00407320
mov ecx, edi
call fcn.00407360
lea ebx, [esi + 0x12d7]
cmp edi, ebx
jne 0x4688dd
dec eax
cmp eax, 3
ja case.default.0x468778
jmp dword [eax*4 + 0x4689b4]
push 0
push 0
lea edi, [esi + 0xe5e]
push 3
push 0xe
push edi
mov ecx, 0x595830
call fcn.00403df0
push 0
push 0
mov ecx, edi
call fcn.00406d20
mov ecx, dword [0x5332f8]
push ecx
mov ecx, 0x595e30
call fcn.004044e0
push eax
lea ecx, [esp + 0x10]
call fcn.004f3547
lea edx, [esp + 0xc]
push 1
push edx
mov ecx, edi
call fcn.00406d20
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call edi
push eax
call fcn.004fb784
test eax, eax
je 0x4687eb
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xe7a]
push 1
push eax
push 0x30
push ecx
call edi
mov edx, dword [esi + 0x1e8]
push 1
push 0
push 0x465
push edx
jmp 0x46897b
push 0
push 0
lea edi, [esi + 0xe5e]
push 4
push 0xe
push edi
mov ecx, 0x595830
call fcn.00403df0
push 0
push 0
mov ecx, edi
call fcn.00406d20
mov eax, dword [0x533300]
mov ecx, 0x595e30
push eax
call fcn.004044e0
push eax
lea ecx, [esp + 0x10]
call fcn.004f3547
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, edi
call fcn.00406d20
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push edx
call edi
push eax
call fcn.004fb784
test eax, eax
je 0x468879
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0xe7a]
push 0x30
push eax
call edi
mov ecx, dword [esi + 0x1e8]
push 1
push 0
push 0x465
jmp 0x46897a
push 2
push 0
push 0xc
lea edx, [esi + 0xe5e]
push 1
push edx
mov ecx, 0x595830
call fcn.00403df0
jmp case.default.0x468778
push 3
mov ecx, esi
call fcn.00460230
push esi
lea eax, [esp + 0x14]
push 1
lea ecx, [esi + 0xe22]
push eax
push ecx
mov ecx, ebx
call fcn.004091a0
jmp case.default.0x468778
lea ebx, [esi + 0x1390]
cmp edi, ebx
jne 0x468983
dec eax
sub eax, 0
je 0x468937
dec eax
je 0x46891c
dec eax
jne case.default.0x468778
push 4
mov ecx, esi
call fcn.00460230
push esi
lea edx, [esp + 0x14]
push 1
lea eax, [esi + 0xde6]
push edx
push eax
mov ecx, ebx
call fcn.004091a0
jmp case.default.0x468778
push 2
push 0
push 0x10
lea ecx, [esi + 0xd9c]
push 1
push ecx
mov ecx, 0x595830
call fcn.00403df0
jmp case.default.0x468778
push 0
push 0
push 2
lea edx, [esi + 0xd9c]
push 2
push edx
mov ecx, 0x595830
call fcn.00403df0
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call edi
push eax
call fcn.004fb784
test eax, eax
je 0x46896f
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xdb8]
push 1
push eax
push 0x30
push ecx
call edi
mov dword [esi + 0x16d8], ebx
lea ecx, [esp + 0xc]
mov dword [esi + 0x16d4], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.004f33be
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x46ad60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51dc18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x57373c]
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0
xor esi, esi
call fcn.004f48d2
mov eax, dword [esp + 0x30]
cmp eax, 0x11
ja case.0x46adb9.4
xor edx, edx
mov dl, byte [eax + 0x46af10]
jmp dword [edx*4 + 0x46aefc]
mov eax, dword [0x53438a]
push ebx
and eax, 0xff
mov ebx, dword [esp + 0x2c]
push eax
mov eax, dword [0x534388]
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, 0x59582c
call fcn.004011c0
mov esi, eax
mov ecx, 0x595800
lea edi, [esi - 1]
push edi
call fcn.004901e0
cmp eax, 2
jne 0x46ae5a
mov eax, dword [0x534388]
xor ecx, ecx
mov cl, ah
xor ebp, ebp
test ecx, ecx
jle 0x46ae56
xor edx, edx
push 1
mov dl, byte [0x53438a]
and eax, 0xff
push edx
push eax
push ecx
push esi
mov ecx, 0x59582c
call fcn.00401320
mov esi, eax
mov ecx, 0x595800
lea edi, [esi - 1]
push edi
call fcn.004901e0
cmp eax, 2
jne 0x46ae56
mov eax, dword [0x534388]
xor ecx, ecx
inc ebp
mov cl, ah
cmp ebp, ecx
jl 0x46ae16
mov ebp, dword [esp + 0x14]
cmp ebx, edi
pop ebx
je 0x46aeaa
mov esi, 1
mov dword [ebp + 0x3f8], edi
jmp case.0x46adb9.4
mov ax, word [0x53438e]
xor ecx, ecx
mov cl, ah
mov esi, dword [esp + 0x2c]
xor edx, edx
push ecx
mov dl, byte [0x53438d]
xor ecx, ecx
push edx
mov cl, al
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x59582c
call fcn.004011c0
dec eax
cmp esi, eax
je 0x46aeaa
mov esi, 1
mov dword [ebp + 0x3fc], eax
jmp case.0x46adb9.4
xor esi, esi
jmp case.0x46adb9.4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 4
push eax
push ecx
jmp 0x46aec8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0x11
push edx
push eax
push edi
mov ecx, 0x595800
call fcn.00499a30
mov esi, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004f33be
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x471c50
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x51e350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x57373c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
cmp eax, 1
mov dword [esp + 0x84], 0
jne 0x471cdc
mov ecx, ebp
call fcn.00407620
mov ecx, ebp
mov esi, eax
call fcn.00407600
test esi, esi
mov edi, eax
jne 0x471cb4
mov ecx, ebp
call fcn.004f825d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x471cdc
test edi, edi
je 0x471cd0
push edi
mov ecx, ebp
call fcn.00407340
test esi, esi
je 0x471cdc
push esi
mov ecx, ebp
call fcn.00407380
mov ecx, ebp
call fcn.00407320
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x8c], edi
call fcn.00407360
mov ebx, eax
test ebx, ebx
je 0x471ed9
test edi, edi
je 0x471ed9
mov ecx, dword [esp + 0x10]
lea esi, [ebx - 1]
dec edi
push esi
push edi
push ebp
call fcn.00470860
push eax
call fcn.004712a0
add esp, 8
test eax, eax
jne 0x471d55
cmp esi, 1
jl 0x471ed9
mov ecx, dword [esp + 0x10]
push eax
push edi
push ebp
call fcn.00470860
push eax
call fcn.004712a0
add esp, 8
test eax, eax
je 0x471ed9
mov ebx, 1
mov ecx, ebp
push ebx
call fcn.00407380
lea esi, [ebx - 1]
cmp esi, 2
je 0x471d62
cmp esi, 3
jne 0x471dc9
mov ecx, 0x595c78
call fcn.004b4010
test eax, eax
jne 0x471d7f
mov edx, dword [0x57cedc]
mov al, byte [edx + 0xe]
and al, 1
cmp al, 1
jne 0x471dc9
push 0
push 0x21
call fcn.0046f0c0
add esp, 8
test eax, eax
je 0x471d96
mov ebx, 2
jmp 0x471db5
mov ecx, dword [esp + 0x10]
push 0
push edi
push ebp
call fcn.00470860
push eax
call fcn.004712a0
add esp, 8
test eax, eax
je 0x471db5
mov ebx, 1
lea esi, [ebx - 1]
cmp esi, 2
jge 0x471ed9
push ebx
mov ecx, ebp
call fcn.00407380
cmp esi, 1
jne 0x471de8
push 0
push 0x21
call fcn.0046f0c0
add esp, 8
test eax, eax
jne 0x471de8
push esi
mov ecx, ebp
mov ebx, esi
call fcn.00407380
mov ecx, dword [esp + 0x10]
push ebp
call fcn.00471f10
mov ecx, dword [esp + 0x8c]
push ebx
lea edx, [esp + 0x90]
push ecx
push edx
mov ecx, ebp
call fcn.00407960
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 1
call fcn.004f34f7
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 0
call fcn.004f33be
mov esi, dword [esp + 0x14]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esi - 8]
lea edi, [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebx
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jl 0x471eaa
cmp ebx, 2
jle 0x471e8a
cmp ebx, 3
jne 0x471eaa
mov esi, dword [esp + 0x10]
push 1
push esi
lea ecx, [esp + 0x20]
push 1
lea edx, [esi + 0x855]
push ecx
lea eax, [esi + 0xc0]
push edx
push eax
mov ecx, ebp
call fcn.004094a0
jmp 0x471eae
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
and al, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 0xffffffff
call fcn.004f33be
xor eax, eax
Function at 0x471fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x51e370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x57373c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
cmp eax, 1
mov dword [esp + 0x80], 0
jne 0x47204a
mov ecx, ebp
call fcn.00407620
mov ecx, ebp
mov esi, eax
call fcn.00407600
test esi, esi
mov edi, eax
jne 0x472022
mov ecx, ebp
call fcn.004f825d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x47203e
test edi, edi
je 0x47203e
push edi
mov ecx, ebp
call fcn.00407340
test esi, esi
je 0x47204a
push esi
mov ecx, ebp
call fcn.00407380
mov ecx, ebp
call fcn.00407320
mov ecx, ebp
mov edi, eax
call fcn.00407360
mov esi, eax
test esi, esi
je 0x47216d
test edi, edi
je 0x47216d
push edi
call fcn.004721a0
add esp, 4
test eax, eax
je 0x47216d
lea eax, [esi - 1]
cmp eax, 1
mov dword [esp + 0x8c], eax
jne 0x4720a0
mov edx, dword [0x57ceac]
cmp byte [edx + edi*4 + 0x52c], 0x32
je 0x47216d
push ebp
mov ecx, ebx
call fcn.004721f0
push esi
lea eax, [esp + 0x8c]
push edi
push eax
mov ecx, ebp
call fcn.00407960
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.004f34f7
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0
call fcn.004f33be
mov esi, dword [esp + 0x10]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esi - 8]
lea edi, [esp + 0x14]
mov edx, ecx
mov eax, dword [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
sub eax, 0
rep movsb byte es:[edi], byte [esi]
je 0x472125
dec eax
jne 0x472142
push ebx
lea eax, [esp + 0x18]
push 1
lea ecx, [ebx + 0x10a]
push eax
push ecx
jmp 0x472134
push ebx
lea edx, [esp + 0x18]
push 1
lea eax, [ebx + 0x10a]
push edx
push eax
mov ecx, ebp
call fcn.004091a0
mov ecx, ebp
call fcn.00409590
lea ecx, [esp + 0x10]
mov dword [ebx + 0x899], 0
mov dword [ebx + 0x89d], ebp
mov dword [esp + 0x80], 0xffffffff
call fcn.004f33be
mov eax, 1
jmp 0x472183
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.004f33be
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8