Function at 0x414390
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x45efb8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c944]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 4]
mov edi, ecx
mov dword [esp + 0x18], edi
cmp eax, 0x100
je 0x4143f2
cmp eax, 0x104
jne 0x414817
mov eax, dword [esi + 8]
cmp eax, 0x79
je 0x4143f2
cmp eax, 0x12
jne 0x414817
mov eax, dword [esi + 8]
cmp eax, 0x1b
je 0x4146b9
cmp eax, 0xd
je 0x4146b9
push 0x46d850
lea ecx, [esp + 0x18]
call fcn.00404410
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
add edi, 0x260
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
cmp edi, ebx
je 0x414450
mov ebx, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetFocus]
call ebp
cmp eax, ebx
jne 0x414594
mov eax, dword [esi + 8]
cmp eax, 8
je 0x41452d
cmp eax, 0x2e
je 0x41452d
cmp eax, 0x5b
je 0x41452d
cmp eax, 0x5c
je 0x41452d
cmp eax, 0x7b
je 0x41452d
push 0x46adb4
lea ecx, [esp + 0x18]
call fcn.004043d0
mov eax, dword [esi + 8]
call fcn.00414830
test eax, eax
je 0x4144c7
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x35c], ecx
mov eax, dword [esi + 8]
push eax
lea esi, [esp + 0x20]
call fcn.00409e00
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 8
test al, al
je 0x4144e6
push str.Ctrl__
lea ecx, [esp + 0x18]
call fcn.004043d0
push 0x10
call esi
shr eax, 8
test al, al
je 0x4144ff
push str.Shift__
lea ecx, [esp + 0x18]
call fcn.004154d0
push 0x12
call esi
shr eax, 8
test al, al
je 0x414518
push str.Alt__
lea ecx, [esp + 0x18]
call fcn.004154d0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004154d0
mov edx, dword [esp + 0x14]
push edx
jmp 0x414532
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.004224a0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
mov edx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call esi
mov eax, dword [edi + 0x20]
push 0
push 0
push 0xb7
push eax
call esi
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4146b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4146b9
mov edi, dword [esp + 0x18]
add edi, 0x2b4
jne 0x4145a4
xor ebx, ebx
jmp 0x4145a7
mov ebx, dword [edi + 0x20]
call ebp
cmp eax, ebx
jne 0x4146df
mov eax, dword [esi + 8]
cmp eax, 8
je 0x41467a
cmp eax, 0x2e
je 0x41467a
cmp eax, 0x5b
je 0x41467a
cmp eax, 0x5c
je 0x41467a
push 0x46adb4
lea ecx, [esp + 0x18]
call fcn.004043d0
mov eax, dword [esi + 8]
cmp eax, 9
je 0x4145f7
call fcn.00414830
test eax, eax
je 0x414614
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x360], ecx
mov eax, dword [esi + 8]
push eax
lea esi, [esp + 0x20]
call fcn.00409e00
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 8
test al, al
je 0x414633
push str.Ctrl__
lea ecx, [esp + 0x18]
call fcn.004043d0
push 0x10
call esi
shr eax, 8
test al, al
je 0x41464c
push str.Shift__
lea ecx, [esp + 0x18]
call fcn.004154d0
push 0x12
call esi
shr eax, 8
test al, al
je 0x414665
push str.Alt__
lea ecx, [esp + 0x18]
call fcn.004154d0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004154d0
mov edx, dword [esp + 0x14]
push edx
jmp 0x41467f
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.004224a0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push edx
push 0xb1
push eax
call esi
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push ecx
call esi
lea ecx, [esp + 0x14]
call fcn.00403ec0
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00445369
add esp, 0x38
ret 4
mov edi, dword [esp + 0x18]
add edi, 0x308
jne 0x4146ef
xor ebx, ebx
jmp 0x4146f2
mov ebx, dword [edi + 0x20]
call ebp
cmp eax, ebx
jne 0x414802
mov eax, dword [esi + 8]
cmp eax, 8
je 0x4147c9
cmp eax, 0x2e
je 0x4147c9
cmp eax, 0x5b
je 0x4147c9
cmp eax, 0x5c
je 0x4147c9
cmp eax, 0x7b
je 0x4147c9
push 0x46adb4
lea ecx, [esp + 0x18]
call fcn.004043d0
mov eax, dword [esi + 8]
call fcn.00414830
test eax, eax
je 0x414763
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x364], edx
mov ecx, dword [esi + 8]
push ecx
lea esi, [esp + 0x20]
call fcn.00409e00
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 8
test al, al
je 0x414782
push str.Ctrl__
lea ecx, [esp + 0x18]
call fcn.004043d0
push 0x10
call esi
shr eax, 8
test al, al
je 0x41479b
push str.Shift__
lea ecx, [esp + 0x18]
call fcn.004154d0
push 0x12
call esi
shr eax, 8
test al, al
je 0x4147b4
push str.Alt__
lea ecx, [esp + 0x18]
call fcn.004154d0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.004154d0
mov eax, dword [esp + 0x14]
push eax
jmp 0x4147ce
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004224a0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push eax
push 0xb1
push ecx
call esi
mov edx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push edx
jmp 0x4146ae
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.00403ec0
mov edi, dword [esp + 0x18]
push esi
mov ecx, edi
call fcn.00421281
jmp 0x4146be