Function at 0x493d41
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xc], ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e5
xor eax, eax
push ebp
push 0x493f69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xf0]
mov ecx, 0x493f85
mov edx, dword [ebp - 4]
call fcn.00405141
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xc]
call fcn.00493a7d
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0xc]
call fcn.00493c2d
test al, al
je 0x493f40
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebp - 0x10]
jne 0x493df6
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jb 0x493df6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_ReleaseDC
jmp 0x493e68
call fcn.00493a71
test al, al
je 0x493e68
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00493bc1
test al, al
je 0x493e2a
push pe_nt_image_headers32
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebx + 0x34]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [0x499ae0]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x493e68
mov eax, ebx
call fcn.00493b41
test al, al
je 0x493e68
push pe_nt_image_headers32
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x499ae0]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x493e68
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
mov eax, ebx
call fcn.00493b59
cmp dword [ebp - 0x1c], 0
je 0x493f1c
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x48]
add eax, 8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetActiveWindow
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x34], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetActiveWindow
test eax, eax
je 0x493ef6
mov dword [ebp - 0xec], 0x10007
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jne 0x493ecc
mov eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x28]
mov dword [ebp - 0x3c], eax
jmp 0x493ed2
add eax, dword [ebx + 0x28]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_MapVirtualKeyA
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_DefFrameProcA
jmp 0x493f40
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_RegisterClassA
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_DefFrameProcA
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DefFrameProcA
mov dword [ebp - 8], 0xffffffff
jmp 0x493f40
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_RegisterClassA
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_DefFrameProcA
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DefFrameProcA
mov dword [ebp - 8], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493f70
lea eax, [ebp - 0xf0]
call fcn.00404e35
lea eax, [ebp - 0xc]
call fcn.00404e35
lea eax, [ebp - 4]
call fcn.00404e35
ret