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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463068
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x47c008]
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 0x42dc9d
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
js 0x42dc9d
cmp byte [edi + 0x40e], 0
je 0x42de4a
cmp byte [edi + 0x40f], 0
je 0x42dc74
push 0x11
call esi
test ax, ax
js 0x42dc81
cmp byte [edi + 0x40f], 0
jne 0x42de4a
push 0x11
call esi
test ax, ax
js 0x42de4a
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x42de61
push 0
push 0
push 0x2d
push edi
call fcn.0040f7a0
jmp 0x42de61
cmp byte [edi + 0x414], 0
je 0x42de4a
cmp dword [ebx + 0x18], 0x56
jne 0x42de4a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42de4a
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.0042f470
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42de1b
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 0x42dd4a
movzx eax, word [esi]
cmp eax, 0x39
ja 0x42dd45
cmp eax, 0x30
jb 0x42dd45
push eax
lea ecx, [ebp - 0x44]
call fcn.004042e0
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add esi, 2
jmp 0x42dd16
cmp dword [ebp - 0x34], 0
jne 0x42dd92
cmp dword [ebp - 0x30], 8
jb 0x42dd67
push dword [ebp - 0x44]
call fcn.0044d735
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 0x42de61
push ecx
call fcn.0044d735
add esp, 4
jmp 0x42de61
lea ecx, [ebp - 0x44]
call fcn.0042f5d0
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.00401620
mov dword [ebp - 0x64], 0
push ecx
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
call fcn.004300f0
mov byte [ebp - 4], 4
call fcn.00406080
lea ecx, [ebp - 0x74]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.00404fd0
lea ecx, [ebp - 0x74]
call fcn.00402000
cmp dword [ebp - 0x48], 8
jb 0x42de0a
push dword [ebp - 0x5c]
call fcn.0044d735
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x42de1b
push dword [ebp - 0x44]
call fcn.0044d735
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x42de33
push dword [ebp - 0x2c]
call fcn.0044d735
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.0044d726
mov esp, ebp
pop ebp
ret 4