Function at 0x5f44b415
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x50], ecx
push 0x15b
push str.barcore.cpp
mov eax, dword [ebp - 0x50]
push eax
call sym.MFC42D.DLL_Ordinal_1042
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x20], 0
jne 0x5f44b451
push 0x15c
push str.barcore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f44b451
int3
xor edx, edx
test edx, edx
jne 0x5f44b434
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_4216
test eax, eax
je 0x5f44b471
mov eax, 1
jmp 0x5f44b6b2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_2776
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x68]
and ecx, 0x20
test ecx, ecx
jne 0x5f44b4a8
cmp dword [ebp - 4], 0x201
je 0x5f44b4a8
cmp dword [ebp - 4], 0x202
jne 0x5f44b658
cmp dword [ebp - 4], 0x200
jb 0x5f44b4ba
cmp dword [ebp - 4], 0x209
jbe 0x5f44b4d4
cmp dword [ebp - 4], 0xa0
jb 0x5f44b658
cmp dword [ebp - 4], 0xa9
ja 0x5f44b658
call sym.MFC42D.DLL_Ordinal_1110
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
lea ecx, [ebp - 0x48]
call sym.MFC42D.DLL_Ordinal_420
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_4432
push 0x2c
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCRTD.dll_memset
add esp, 0xc
mov dword [ebp - 0x38], 0x28
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
call dword [edx + 0x6c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x5f44b53f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRTD.dll_free]
add esp, 4
cmp dword [ebp - 4], 0x201
jne 0x5f44b55e
mov ecx, dword [ebp - 0x34]
and ecx, 0x80000000
test ecx, ecx
je 0x5f44b55e
mov dword [ebp - 0x54], 1
jmp 0x5f44b565
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 4], 0x201
je 0x5f44b58f
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x5f44b58f
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x104]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
jl 0x5f44b59b
cmp dword [ebp - 0x4c], 0
je 0x5f44b5cf
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x5f44b5b0
cmp dword [ebp - 0x4c], 0
je 0x5f44b5cd
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
call dword [edx + 0xe4]
push 0xe001
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_3400
jmp 0x5f44b64c
cmp dword [ebp - 4], 0x202
jne 0x5f44b5fc
push 0xffffffffffffffff
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
call dword [edx + 0xe4]
push 0xc8
push 0xe001
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_4394
jmp 0x5f44b64c
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x64]
and ecx, 8
test ecx, ecx
jne 0x5f44b618
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x5f44b62c
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
call dword [edx + 0xe4]
jmp 0x5f44b64c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0x104]
je 0x5f44b64c
push 0x12c
push 0xe000
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_4394
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x104], eax
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_3131
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5f44b676
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x54], 0
je 0x5f44b676
xor eax, eax
jmp 0x5f44b6b2
cmp dword [ebp - 8], 0
je 0x5f44b6a6
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
call dword [edx + 0x98]
test eax, eax
je 0x5f44b699
mov eax, 1
jmp 0x5f44b6b2
mov ecx, dword [ebp - 8]
call sym.MFC42D.DLL_Ordinal_2791
mov dword [ebp - 8], eax
jmp 0x5f44b676
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x50]
call sym.MFC42D.DLL_Ordinal_4206
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4