Function at 0x438120
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x20d8
call fcn.005d9990
mov eax, dword [0x63ce18]
test eax, eax
je 0x43813c
push eax
call fcn.00463bf0
add esp, 4
push ebx
push ebp
mov ebp, dword [esp + 0x20e4]
push esi
push edi
push ebp
call fcn.0058ea30
mov esi, eax
add esp, 4
test esi, esi
je 0x438352
mov eax, dword [esi + 0x1e90]
push eax
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x438352
mov eax, dword [esi + 0x1314]
cmp eax, 1
jne 0x438281
mov al, byte [0x63533e]
test al, al
je 0x438352
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x438352
mov edx, dword [esi + 0x1488]
push 0
push edi
push 0x187
push edx
call ebx
cmp eax, 0xffffffff
je 0x438352
test eax, eax
je 0x438352
mov ecx, dword [esi + 0x1488]
lea eax, [esp + 0x18]
push eax
push edi
push 0x189
push ecx
call ebx
mov al, byte [esp + 0x18]
test al, al
je 0x438352
lea edx, [esp + 0x18]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x1e90]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.005295f0
add esp, 8
test al, al
je 0x43822f
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x1e90]
push edx
push eax
call fcn.005295f0
add esp, 8
test al, al
jne 0x438212
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x438271
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x63533e]
mov byte [esp + eax + 0x1080], cl
inc eax
test cl, cl
jne 0x438240
mov eax, dword [esi + 0x1e90]
push eax
push 0
push 0
push 1
push edx
lea ecx, [esp + 0x1094]
push ecx
push ebp
call fcn.00448030
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20d8
ret
cmp eax, 4
jne 0x4383f0
mov edx, dword [esi + 0x1488]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edx
call edi
cmp eax, 0xffffffff
je 0x438352
mov edx, dword [esi + 0x1488]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x189
push edx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x438352
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4382d1
mov al, byte [esp + 0x18]
test al, al
je 0x438352
lea eax, [esp + 0x19]
push 9
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x438352
mov byte [eax], 0
cmp byte [esp + 0x18], 0x20
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
jne 0x43831a
lea esp, [esp]
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x20
je 0x438310
mov ecx, dword [esi + 0x1e90]
mov edx, dword [ecx + 0x6a10]
test edx, edx
je 0x438369
cmp byte [eax], 0
je 0x438352
nop
mov edx, dword [esi + 0x1e90]
push edx
push eax
call fcn.005295b0
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
jne 0x438369
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0
jne 0x438330
push 0
call fcn.00421dc0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20d8
ret
cmp byte [eax], 0
je 0x438352
mov ecx, dword [esi + 0x1e90]
push ecx
push 1
push eax
call fcn.004eae30
add esp, 0xc
test eax, eax
je 0x438352
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4383a4
mov edx, dword [esp + 0x10]
push edx
push str._join__n__s
lea eax, [esp + 0x1088]
push eax
jmp 0x4383b6
mov ecx, dword [esp + 0x10]
push ecx
push str._join__s
lea edx, [esp + 0x1088]
push edx
call fcn.005d9929
mov esi, dword [esi + 0x1e90]
mov ecx, dword [esi]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1094]
push eax
push ecx
call fcn.00448030
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20d8
ret
cmp eax, 6
jne 0x438442
mov dword [0x61a20c], eax
mov edx, dword [esi + 0x1e90]
mov eax, dword [edx]
push 0x676d10
mov dword [0x676d10], eax
call fcn.00508c40
mov ecx, dword [0x6a0f40]
add esp, 4
push 0
push 0x1b5d
push 0x111
push ecx
mov dword [0x676d14], eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20d8
ret
cmp eax, 7
jne 0x438555
mov edx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x438352
mov ecx, dword [esi + 0x1488]
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x199
push ecx
call ebx
push eax
call fcn.0050ee40
add esp, 8
test eax, eax
je 0x438352
mov ecx, dword [eax + 0xe70]
test ecx, ecx
jne 0x4384ba
mov eax, dword [esi + 0x1e90]
push eax
mov dword [esp + 0x18], eax
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x438352
mov al, byte [0x635770]
test al, al
je 0x438352
mov eax, dword [esi + 0x1488]
lea edx, [esp + 0x18]
push edx
push edi
push 0x189
push eax
call ebx
mov al, byte [esp + 0x18]
test al, al
je 0x438352
lea ecx, [esp + 0x18]
push 0x20
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x438501
mov byte [eax], 0
xor eax, eax
jmp 0x438510
mov cl, byte [eax + 0x635770]
mov byte [esp + eax + 0x1080], cl
inc eax
test cl, cl
jne 0x438510
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 1
lea edx, [esp + 0x28]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x1094]
push ecx
push edx
call fcn.00448030
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20d8
ret
cmp eax, 8
jne 0x4385ae
mov eax, dword [esi + 0x1488]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push eax
call edi
cmp eax, 0xffffffff
je 0x43835c
mov edx, dword [esi + 0x1488]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x189
push edx
call edi
mov eax, dword [esi + 0x1e90]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004e9ed0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20d8
ret
cmp eax, 9
jne 0x438352
mov edx, dword [esi + 0x1488]
push 0
push 0
push 0x19f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 0xffffffff
je 0x438352
push str.custom
push edi
push 1
push esi
call fcn.00437b20
add esp, 0x10
test eax, eax
jne 0x43865e
push esi
call fcn.0058ed20
add esp, 4
test eax, eax
je 0x438352
mov cl, byte [esi + 0x1d5c]
test cl, cl
lea eax, [esi + 0x1d5c]
je 0x438352
lea edx, [esp + 0x1080]
sub edx, eax
jmp 0x438620
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x438620
inc edi
push edi
lea eax, [esp + 0x1c]
push 0x5f4a40
push eax
call fcn.005d9929
mov ecx, dword [esi + 0x1e90]
push ecx
push 0
push 0
push 1
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x10a0]
push eax
push ebp
call fcn.00448030
add esp, 0x28
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20d8
ret