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

Disassembly:
push 0xffffffffffffffff
push 0x478767
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x1d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x1ec]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1fc], eax
push ecx
mov esi, 0xf
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], eax
mov byte [esp + 0x6c], al
call fcn.00401910
mov byte [esp + 0x1f4], 1
call fcn.004214e0
mov ebp, eax
test ebp, ebp
je 0x42675a
push 4
push str.VK:
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
call fcn.00401bf0
mov byte [esp + 0x1f4], 2
mov eax, dword [esp + 0xc4]
push eax
xor ecx, ecx
lea esi, [esp + 0x44]
lea edx, [esp + 0x60]
call fcn.0040cf20
cmp dword [esp + 0xc8], 0x10
mov ecx, dword [esp + 0xb4]
jae 0x42602a
lea ecx, [esp + 0xb4]
mov esi, dword [eax + 0x14]
mov edi, dword [esp + 0xc4]
mov edx, esi
mov ebx, esi
cmp esi, edi
jb 0x42603e
mov ebx, edi
cmp dword [eax + 0x18], 0x10
jb 0x426049
mov edx, dword [eax + 4]
jmp 0x42604c
lea edx, [eax + 4]
mov eax, ebx
call fcn.00401d10
test eax, eax
jne 0x426069
cmp esi, edi
jae 0x426060
or eax, 0xffffffff
jmp 0x426067
xor eax, eax
cmp esi, edi
setne al
test eax, eax
mov edi, 0x10
sete bl
mov byte [esp + 0x1f4], 2
cmp dword [esp + 0x58], edi
jb 0x42608c
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004396bc
add esp, 4
test bl, bl
je 0x426257
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push 0x4845c0
mov byte [ecx + 4], 0
call fcn.00401bf0
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0xe4], edi
jae 0x4260d2
lea eax, [esp + 0xd0]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x4260e3
lea ecx, [esp + 0x7c]
push eax
lea edi, [esp + 0xb4]
call fcn.0040f860
add esp, 0x20
mov byte [esp + 0x1f4], 4
mov eax, dword [esp + 0x98]
mov edi, 0x10
cmp dword [esp + 0xac], edi
jae 0x426117
lea eax, [esp + 0x98]
push eax
call fcn.0045ea44
add esp, 4
cmp eax, 8
jne 0x426160
mov eax, dword [esp + 0x1fc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x24]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 8
push pe_nt_image_headers32
push ebp
call esi
push 0
push 8
push 0x102
push ebp
call esi
push 0
push 8
push 0x101
push ebp
call esi
jmp 0x4261aa
and eax, 0xff
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov esi, eax
mov eax, dword [esp + 0x1fc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
shl esi, 0x10
push eax
inc esi
call edx
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push esi
push edi
push pe_nt_image_headers32
push ebp
call ebx
sub esi, 0x40000000
push esi
push edi
push 0x101
push ebp
call ebx
mov edi, 0x10
push 1
push 0x4845c0
lea eax, [esp + 0x64]
push eax
xor eax, eax
call fcn.004057e0
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [esp + 0x44]
lea edx, [esp + 0x60]
call fcn.0040cf20
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x200], 5
call fcn.00401910
cmp dword [esp + 0x58], edi
jb 0x4261f8
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004396bc
add esp, 4
cmp dword [esp + 0xac], edi
jb 0x426211
mov edx, dword [esp + 0x98]
push edx
call fcn.004396bc
add esp, 4
mov edi, 0x10
cmp dword [esp + 0xc8], edi
jb 0x42622f
mov eax, dword [esp + 0xb4]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
mov esi, 0xf
jmp 0x42675f
push 1
xor ecx, ecx
lea esi, [esp + 0x7c]
lea edx, [esp + 0x60]
mov dword [esp + 0x1c], 1
call fcn.0040cf20
mov byte [esp + 0x1f4], 6
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x426289
lea eax, [esp + 0x7c]
movsx eax, byte [eax]
add eax, 0xffffffdf
cmp eax, 0x5d
ja 0x42629e
mov dword [esp + 0x18], 0
jmp 0x4262e3
push 2
xor ecx, ecx
lea esi, [esp + 0x44]
lea edx, [esp + 0x60]
call fcn.0040cf20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x200], 7
call fcn.00401910
mov byte [esp + 0x1f4], 6
cmp dword [esp + 0x58], edi
jb 0x4262e3
mov eax, dword [esp + 0x44]
push eax
call fcn.004396bc
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [esp + 0x9c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
push edx
mov byte [ecx + 4], 0
call fcn.00401910
call fcn.0041ae80
add esp, 0x1c
cmp eax, esi
jl 0x4266a1
cmp eax, 1
jne 0x42656c
sub esp, 0x1c
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00406900
lea ecx, [esp + 0x5c]
call fcn.0041b090
add esp, 0x1c
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1f4], 8
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.0043e4b5
mov dword [esp + 0x14], esi
cmp dword [esp + 0x54], esi
jbe 0x426479
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
lea esi, [esp + 0x28]
lea edx, [esp + 0x44]
call fcn.0040cf20
push 1
xor ecx, ecx
lea esi, [esp + 0xd0]
mov edx, eax
mov byte [esp + 0x1f8], 9
call fcn.0040cf20
mov esi, 0x10
mov byte [esp + 0x1f4], 0xb
cmp dword [esp + 0x3c], esi
jb 0x4263c4
mov eax, dword [esp + 0x28]
push eax
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
cmp dword [esp + 0xe4], esi
jae 0x4263f0
lea eax, [esp + 0xd0]
movsx eax, byte [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx edi, ax
push 0
and edi, 0xff
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov esi, eax
mov eax, dword [esp + 0x1fc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
shl esi, 0x10
push eax
inc esi
call edx
push esi
push 0xe5
push pe_nt_image_headers32
push ebp
call ebx
sub esi, 0x40000000
push esi
push edi
push 0x101
push ebp
call ebx
mov byte [esp + 0x1f4], 8
cmp dword [esp + 0xe4], 0x10
jb 0x426461
mov eax, dword [esp + 0xd0]
push eax
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x54]
jb 0x426377
mov edi, 0x10
mov eax, dword [esp + 0x1fc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
mov ebx, 7
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], eax
mov word [esp + 0x98], cx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
mov byte [esp + 0x214], 0xc
push eax
lea edx, [esp + 0x9c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push edx
mov byte [ecx + 4], al
call fcn.00401910
lea eax, [esp + 0xb0]
push eax
call fcn.00411d30
mov eax, dword [esp + 0xb8]
mov esi, 8
add esp, 0x20
cmp dword [esp + 0xac], esi
jae 0x426501
lea eax, [esp + 0x98]
movzx ecx, word [eax]
push 1
push ecx
push 0x286
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0xac], esi
jb 0x42652c
mov edx, dword [esp + 0x98]
push edx
call fcn.004396bc
add esp, 4
xor eax, eax
mov byte [esp + 0x1f4], 6
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
cmp dword [esp + 0x58], edi
jb 0x4266a1
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004396bc
add esp, 4
jmp 0x4266a1
cmp eax, esi
jne 0x4265b8
mov eax, dword [esp + 0x1fc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x24]
call eax
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 2
push 0xe5
push pe_nt_image_headers32
push ebp
call esi
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x4265a5
lea eax, [esp + 0x7c]
movsx ecx, byte [eax]
push 1
push ecx
push 0x102
push ebp
call esi
jmp 0x4266a1
cmp eax, 2
jne 0x4266a1
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x4265d2
lea eax, [esp + 0x7c]
movsx eax, byte [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx ebx, ax
mov edi, ebx
push 0
and edi, 0xff
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov esi, eax
shl esi, 0x10
push 0xff
and ebx, 0x100
mov edx, pe_nt_image_headers32
lea eax, [esp + 0xed]
inc esi
cmp bx, dx
push 0
push eax
sete bl
mov byte [esp + 0xf4], 0
call fcn.0045fbe0
mov ecx, dword [esp + 0x20]
add esp, 0xc
call fcn.00439160
mov eax, dword [esp + 0x1fc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
test bl, bl
je 0x426654
lea eax, [esp + 0xe8]
mov byte [esp + 0xf8], 0x80
push eax
jmp 0x426676
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x42667c
lea edx, [esp + 0xe8]
mov byte [esp + 0xf8], 0
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push esi
push edi
push pe_nt_image_headers32
push ebp
call ebx
sub esi, 0x40000000
push esi
push edi
push 0x101
push ebp
call ebx
mov edi, 0x10
xor ebx, ebx
push 0xffffffffffffffff
lea esi, [esp + 0x44]
lea edx, [esp + 0x60]
cmp dword [esp + 0x1c], ebx
je 0x4266e5
lea ecx, [ebx + 2]
call fcn.0040cf20
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x200], 0xd
call fcn.00401910
cmp dword [esp + 0x58], edi
jb 0x426728
mov eax, dword [esp + 0x44]
push eax
call fcn.004396bc
add esp, 4
jmp 0x426728
mov ecx, 1
call fcn.0040cf20
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x200], 0xe
call fcn.00401910
cmp dword [esp + 0x58], edi
jb 0x426717
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], 0
cmp dword [esp + 0x90], edi
jb 0x42673e
mov edx, dword [esp + 0x7c]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], 0
jmp 0x426216
mov edi, 0x10
cmp dword [esp + 0x74], edi
jb 0x426772
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x1f4], 0xffffffff
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
test eax, eax
je 0x4267a1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x1ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d4]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x1e4
ret 4