Function at 0x593120
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5e1219
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x59333f
mov ecx, esi
call fcn.00538eb0
mov ebx, eax
mov eax, dword [esp + 0x28]
cmp eax, 0x12
jne 0x593202
mov ecx, esi
call fcn.00591b50
test eax, eax
jle 0x593280
mov ecx, ebx
call fcn.00529f10
push 1
mov ecx, ebx
call fcn.00529b60
mov ecx, esi
mov dword [ebx + 0x44], 1
call fcn.0058f9d0
test eax, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x148]
push 1
je 0x5931b9
push 1
push 1
call edx
mov eax, 1
jmp 0x593341
push 0
push 1
call edx
cmp dword [esi + 0x24c], 0
je 0x5931d6
mov eax, dword [esi + 0x270]
mov eax, dword [eax + 0x80]
jmp 0x5931d8
xor eax, eax
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x150]
mov ecx, esi
call eax
mov esi, dword [esi + 0x270]
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
push 1
mov ecx, esi
call eax
mov eax, 1
jmp 0x593341
lea ecx, [eax - 0x31]
cmp ecx, 8
ja 0x593280
mov ecx, dword [esi + 0x26c]
add eax, 0xffffffcf
push 0
push eax
call fcn.00524720
mov edi, eax
test edi, edi
je 0x593280
mov ecx, edi
call fcn.0051c050
test eax, eax
je 0x593280
mov ebp, dword [edi + 0x80]
mov ecx, ebx
call fcn.00529f10
push 1
mov ecx, ebx
call fcn.00529b60
push 1
mov dword [ebx + 0x44], 2
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push 0
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x150]
push 1
push ebp
mov ecx, esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xb0]
mov ecx, edi
call eax
mov eax, 1
jmp 0x593341
mov ecx, esi
xor edi, edi
call fcn.00591b50
test eax, eax
jle 0x59333f
push edi
mov ecx, esi
call fcn.005930f0
lea ecx, [esp + 0x14]
mov ebp, eax
push ecx
mov ecx, ebp
call fcn.005a76a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::IsEmpty]
test al, al
jne 0x59331d
mov ecx, ebp
call fcn.005389b0
test eax, eax
je 0x59331d
mov ecx, ebp
call fcn.0052eff0
test eax, eax
je 0x59331d
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_]
push eax
call fcn.00535f10
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
jle 0x59331d
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
dec eax
cmp ebp, eax
jge 0x59331d
mov edx, dword [esp + 0x28]
push edx
inc ebp
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
push eax
call fcn.00536f20
add esp, 8
test eax, eax
jne 0x593357
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, esi
inc edi
call fcn.00591b50
cmp edi, eax
jl 0x593291
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp dword [esi + 0xe0], 0
jne 0x593367
mov ecx, ebx
call fcn.00529f10
mov ebp, 1
push ebp
mov ecx, ebx
call fcn.00529b60
mov dword [esi + 0x130], ebp
push edi
mov ecx, esi
mov dword [ebx + 0x44], ebp
call fcn.0058f510
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push ebp
push 0
push ebp
mov ecx, esi
call eax
mov eax, dword [esi + 0x270]
mov ecx, dword [eax + 0x80]
mov edx, dword [esi]
mov edx, dword [edx + 0x150]
push ebp
push ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
push ebp
call edx
mov ecx, esi
call fcn.0058f9d0
test eax, eax
jne 0x5933d2
push 2
push esi
mov ecx, ebx
call fcn.0052af60
mov ecx, dword [esi + 0x270]
push ebp
call fcn.005b4570
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebp
jmp 0x593341