Function at 0x424360
Capabilities:
Get thread local storage value
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462968
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x47c020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x78], ebx
cmp dword [ebx + 0x18], 0xd
jne 0x4243fd
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
js 0x4243fd
cmp byte [edi + 0x40e], 0
je 0x4245aa
cmp byte [edi + 0x40f], 0
je 0x4243d4
push 0x11
call esi
test ax, ax
js 0x4243e1
cmp byte [edi + 0x40f], 0
jne 0x4245aa
push 0x11
call esi
test ax, ax
js 0x4245aa
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4245c1
push 0
push 0
push 0x2d
push edi
call fcn.0040b750
jmp 0x4245c1
cmp byte [edi + 0x414], 0
je 0x4245aa
cmp dword [ebx + 0x18], 0x56
jne 0x4245aa
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4245aa
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.00425bd0
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42457b
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 8
mov ecx, dword [ebp - 0x2c]
cmovae esi, ecx
cmp edx, 8
lea eax, [ebp - 0x2c]
cmovae eax, ecx
lea eax, [eax + ebx*2]
cmp esi, eax
je 0x4244aa
movzx eax, word [esi]
cmp eax, 0x39
ja 0x4244a5
cmp eax, 0x30
jb 0x4244a5
push eax
lea ecx, [ebp - 0x44]
call fcn.00426bb0
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add esi, 2
jmp 0x424476
cmp dword [ebp - 0x34], 0
jne 0x4244f2
cmp dword [ebp - 0x30], 8
jb 0x4244c7
push dword [ebp - 0x44]
call fcn.0044da7e
mov edx, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x4245c1
push ecx
call fcn.0044da7e
add esp, 4
jmp 0x4245c1
lea ecx, [ebp - 0x44]
call fcn.00425d30
xor eax, eax
mov dword [ebp - 0x48], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0
push eax
call fcn.0040f820
mov dword [ebp - 0x64], 0
push ecx
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
call fcn.00426850
mov byte [ebp - 4], 4
call fcn.00404e40
lea ecx, [ebp - 0x74]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.00403d90
lea ecx, [ebp - 0x74]
call fcn.00401c70
cmp dword [ebp - 0x48], 8
jb 0x42456a
push dword [ebp - 0x5c]
call fcn.0044da7e
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x42457b
push dword [ebp - 0x44]
call fcn.0044da7e
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x424593
push dword [ebp - 0x2c]
call fcn.0044da7e
add esp, 4
mov ebx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, dword [edi]
mov ecx, edi
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push 0x100
call dword [eax + 0x1dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044e224
mov esp, ebp
pop ebp
ret 4