Function at 0x436180
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x462454]
mov dword [ebp - 0x20], eax
push edi
mov dword [ebp - 0x264], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x4361c2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x43647b
mov ecx, dword [ebp - 0x264]
call fcn.004386b0
cmp eax, dword [ebp - 4]
jne 0x43647b
push 0
push 0
push 0x1157
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SQLUNIRL.dll__SendMessage_16]
mov word [ebp - 0x228], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x18], 1
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0xe
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x436275
lea eax, [ebp - 0x228]
push eax
push 0x104
push 0x1179
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.SQLUNIRL.dll__SendMessage_16]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jle 0x43647b
lea edx, [ebp - 0x228]
mov dword [ebp - 0x230], edx
cmp dword [ebp - 0xc], 0
jle 0x4362ba
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x104
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x1148
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SQLUNIRL.dll__SendMessage_16]
mov eax, dword [ebp - 0x230]
movzx ecx, word [eax]
test ecx, ecx
je 0x4362e6
mov edx, dword [ebp - 0x230]
movzx eax, word [edx]
cmp eax, 0x20
jne 0x4362e6
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x230], ecx
jmp 0x4362ba
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.MSVCR71.dll__wcsrev]
add esp, 4
mov eax, dword [ebp - 0x230]
movzx ecx, word [eax]
test ecx, ecx
je 0x436322
mov edx, dword [ebp - 0x230]
movzx eax, word [edx]
cmp eax, 0x20
jne 0x436322
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x230], ecx
jmp 0x4362f6
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.MSVCR71.dll__wcsrev]
add esp, 4
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
shl eax, 1
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jle 0x43647b
mov ecx, dword [ebp - 0x234]
add ecx, 1
push ecx
call sub.MSVCR71.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x238], edx
cmp dword [ebp - 0x238], 0
jne 0x43638b
xor eax, eax
jmp 0x436499
push 0
push 0
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x230]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x258], 0
xor eax, eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x258], 0x20
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 1
push 0
push 0
push 0
call fcn.0040e850
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
push 0xd
push 0
call fcn.0040e850
add esp, 0xc
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
push ecx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 1
jmp 0x436499
push 0
push 0x13d4
push 0x111
call dword [sym.imp.SQLSVC.dll_TaskApplicationWindow]
push eax
call dword [sym.imp.SQLUNIRL.dll__SendMessage_16]
mov eax, 1
mov ecx, dword [ebp - 0x20]
call fcn.0044fa3b
pop edi
mov esp, ebp
pop ebp
ret 4