Function at 0x42d640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461318
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47c008]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x47c008]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x90]
call eax
test al, al
jne 0x42d695
mov eax, dword [edi]
cmp eax, 0xd
jle 0x42d695
cmp eax, 0x19
jl 0x42d6a5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x88]
call eax
test al, al
jne 0x42d6c6
mov ecx, dword [esi + 0x24]
push edi
test ecx, ecx
je 0x42d6ba
mov eax, dword [ecx]
call dword [eax + 0xd0]
jmp 0x42d8ff
mov ecx, esi
call fcn.004265a0
jmp 0x42d8ff
mov eax, dword [edi]
cmp eax, 0x28
jne 0x42d6da
push edi
mov ecx, esi
call fcn.0042d920
jmp 0x42d8ff
cmp eax, 0xa
jne 0x42d6ec
push edi
mov ecx, esi
call fcn.0042db40
jmp 0x42d8ff
cmp eax, 8
jne 0x42d6fe
push edi
mov ecx, esi
call fcn.0042dc00
jmp 0x42d8ff
cmp eax, 0xe
jne 0x42d70e
push edi
push 0x200
jmp 0x42d8f8
cmp eax, 0x18
jne 0x42d731
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x42d8ff
push edi
mov ecx, esi
call fcn.0043c0e0
jmp 0x42d8ff
cmp eax, 0x12
je 0x42d862
cmp eax, 0x20
je 0x42d862
cmp eax, 0x13
je 0x42d80a
cmp eax, 0x22
je 0x42d80a
test eax, eax
jne 0x42d778
mov ecx, esi
cmp byte [esi + 0x411], al
je 0x42d76d
call fcn.0042c9b0
jmp 0x42d8ff
push edi
push 0x203
jmp 0x42d8fa
cmp eax, 0x14
jne 0x42d788
push edi
push 0x204
jmp 0x42d8f8
cmp eax, 0x15
jne 0x42d798
push edi
push 0x205
jmp 0x42d8f8
cmp eax, 0x30
jne 0x42d7aa
push ecx
mov ecx, esi
call fcn.0042de80
jmp 0x42d8ff
cmp eax, 0x31
jne 0x42d7bb
mov byte [esi + 0x41c], 0
jmp 0x42d8ff
cmp eax, 2
jne 0x42d7e6
cmp dword [esi + 0x408], 0
mov ecx, esi
je 0x42d7d5
call fcn.0042d9f0
jmp 0x42d8ff
mov eax, dword [esi]
mov byte [esi + 0x84], 1
call dword [eax + 0x2c]
jmp 0x42d8ff
cmp eax, 3
jne 0x42d724
push ecx
mov ecx, esi
call fcn.0042da50
push 0
call fcn.00449660
mov ecx, eax
call fcn.004496d0
jmp 0x42d8ff
cmp byte [esi + 0x81], 0
je 0x42d857
cmp byte [esi + 0x417], 0
jne 0x42d857
cmp byte [esi + 0x419], 0
mov byte [esi + 0x417], 1
je 0x42d857
mov ecx, esi
call fcn.0042c9b0
test byte [esi + 0x44c], 4
mov ecx, esi
mov eax, dword [esi]
je 0x42d851
call dword [eax + 0x198]
push edi
push 0x202
jmp 0x42d8f8
call dword [eax + 0x1a8]
push edi
push 0x202
jmp 0x42d8f8
mov eax, dword [esi + 0x54c]
sub eax, dword [esi + 0x548]
sar eax, 5
test eax, eax
je 0x42d8df
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
sub esp, 8
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0042f310
test al, al
je 0x42d8ce
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42d8c3
push 0
push 0
push 0x2f
push esi
call fcn.0040f7a0
lea ecx, [esp + 0x10]
call fcn.00401520
jmp 0x42d8ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401520
cmp dword [edi], 0x20
jne 0x42d8f2
push 1
call fcn.00449660
mov ecx, eax
call fcn.004496d0
push edi
push 0x201
mov ecx, esi
call fcn.0042df20
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044d726
mov esp, ebp
pop ebp
ret 4