Function at 0x439830
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x88
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x60]
push edi
cmp eax, 0xffffffff
jne 0x43984d
mov dword [ebx + 0x60], 0
jmp 0x439855
test eax, eax
jne 0x439ba2
mov esi, dword [esp + 0x9c]
mov edi, dword [esi + 4]
cmp edi, 0x2a3
je 0x439b99
cmp edi, 0x2a2
je 0x439b99
cmp edi, 0x200
je 0x4398a3
cmp edi, 0xa0
je 0x4398a3
cmp edi, 0x202
je 0x4398a3
cmp edi, 0x205
je 0x4398a3
cmp edi, 0x208
jne 0x439b54
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call ebp
test ax, ax
jl 0x439b54
push 2
call ebp
test ax, ax
jl 0x439b54
push 4
call ebp
test ax, ax
jl 0x439b54
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x4398e1
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov ebp, eax
lea ecx, [esp + 0x88]
push ecx
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push eax
lea edx, [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x439ba2
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x5c]
push 1
push ecx
call fcn.0043a180
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push ebp
call fcn.00439da0
mov edi, eax
mov eax, dword [ebx + 0x84]
add esp, 0x1c
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x439a87
cmp eax, 0xffffffff
je 0x43998e
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x43998e
push 0
mov ecx, ebx
call fcn.0043a0f0
cmp edi, 0xffffffff
je 0x439a67
mov ecx, 0xb
lea esi, [esp + 0x5c]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00439820
test eax, eax
je 0x4399b9
or dword [esp + 0x34], 0x800000a0
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x30]
push eax
push 0
push 0x432
push ecx
call esi
test dword [esp + 0x34], 0x40000000
jne 0x4399e8
push ebp
call fcn.00439ff0
add esp, 4
test eax, eax
je 0x439a43
push 1
mov ecx, ebx
call fcn.0043a0f0
mov ecx, ebx
call fcn.00439820
test eax, eax
je 0x439a28
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x30]
push edx
push 1
push 0x411
push eax
call esi
test ebx, ebx
je 0x439a17
lea eax, [ebx + 0x5c]
jmp 0x439a19
xor eax, eax
mov edx, dword [ebx + 0x6c]
lea ecx, [ebx + 0x6c]
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [edx + 4]
mov ecx, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTop]
push 0x213
push 0
push 0
push 0
push 0
push ecx
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::SetWindowPos
mov edx, dword [esp + 0x18]
lea edi, [ebx + 0x88]
mov ecx, 0xb
lea esi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x9c]
mov dword [ebx + 0x84], edx
jmp 0x439a70
push 0
mov ecx, ebx
call fcn.0043a0f0
mov eax, dword [ebx + 0x20]
push esi
push 0
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x439b29
mov ecx, ebx
call fcn.00439820
test eax, eax
je 0x439b29
cmp edi, 0xffffffff
je 0x439b29
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x6c]
add esi, ecx
lea ecx, [ebx + 0x6c]
add edi, eax
call dword [edx + 8]
test eax, eax
je 0x439af2
mov eax, dword [ebx + 0xb4]
mov ecx, dword [ebx + 0xb8]
add eax, edi
add ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
call fcn.00439c40
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x412
push edx
call esi
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x5c]
push eax
push 0
push 0x439
push ecx
call esi
mov eax, dword [esp + 0x80]
cmp eax, 0xffffffff
je 0x439ba2
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x439ba2
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8
mov ecx, ebx
call fcn.00439820
test eax, eax
jne 0x439ba2
push edi
call fcn.00439d70
add esp, 4
test eax, eax
jne 0x439b79
push edi
call fcn.00439cf0
add esp, 4
test eax, eax
je 0x439ba2
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0x41c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8
push 0
mov ecx, ebx
call fcn.0043a0f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8