Function at 0x45fd30
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5e65
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], esi
cmp eax, 0x31e
jne 0x45fdc6
mov eax, 4
lea esi, [edi - 0x24]
test edi, edi
push 0
cmove esi, eax
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0045fc10
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, edi
call fcn.0045f9e0
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x45fdac
mov eax, dword [ecx]
call dword [eax + 0xc]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 0
mov eax, 1
jmp 0x45fedc
cmp eax, 0xc
jne 0x45fe3b
mov eax, 4
lea esi, [edi - 0x24]
test edi, edi
push 0xfffffffffffffff0
cmove esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], esi
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0x28], ebx
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
and ecx, 0xefffffff
push ecx
push 0xfffffffffffffff0
push dword [esi]
call edi
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push 0xc
push dword [esi]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
push ebx
push 0xfffffffffffffff0
push dword [eax]
call edi
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
mov eax, 1
jmp 0x45fedc
cmp eax, 0x80
jne 0x45feb2
mov eax, 4
lea esi, [edi - 0x24]
test edi, edi
push 0xfffffffffffffff0
cmove esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], esi
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0x28], ebx
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
and ecx, 0xefffffff
push ecx
push 0xfffffffffffffff0
push dword [esi]
call edi
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
push ebx
push 0xfffffffffffffff0
push dword [eax]
call edi
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
mov eax, 1
jmp 0x45fedc
cmp eax, 5
jne 0x45fefa
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x45fecd
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, edi
call fcn.0045f9e0
mov dword [ebx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x86
jne 0x45ffcd
cmp dword [ebp + 0x10], 0
mov ecx, dword [edi + 0x44]
setne al
mov byte [edi + 0x48], al
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x45fed4
mov eax, 4
lea ebx, [edi - 0x24]
test edi, edi
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
mov ecx, dword [edi + 0x44]
push 1
mov edx, dword [ecx]
mov esi, dword [edx + 0x18]
xor edx, edx
cmp byte [edi + 0x48], dl
sete dl
push edx
push 5
push eax
call esi
push 0xfffffffffffffff0
mov dword [ebp - 0x24], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x28], edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
and ecx, 0xefffffff
push ecx
push 0xfffffffffffffff0
push dword [ebx]
call esi
mov byte [ebp - 4], 3
push 0
push dword [ebp + 0x10]
push 0x86
push dword [ebx]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
push edi
push 0xfffffffffffffff0
push dword [ebx]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45ffbb
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, 1
jmp 0x45fedc
cmp eax, 6
jne 0x460013
mov ecx, dword [edi + 0x4c]
movzx eax, word [ebp + 0x10]
mov dword [edi + 4], 1
test ecx, ecx
je 0x460182
cmp eax, 1
je 0x460007
cmp eax, 2
je 0x460007
test ax, ax
jne 0x460182
mov eax, dword [ecx]
push 0
call dword [eax + 8]
jmp 0x460182
mov eax, dword [ecx]
push 1
call dword [eax + 8]
jmp 0x460182
cmp eax, 0x84
jne 0x460080
lea ecx, [edi - 0x24]
test edi, edi
jne 0x460024
lea ecx, [eax - 0x80]
movsx eax, si
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
shr esi, 0x10
movsx eax, si
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push dword [ecx]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x31]
mov eax, dword [ebp - 0x30]
neg ecx
add dword [ebp - 0x14], ecx
neg eax
mov ecx, dword [edi + 0x44]
add dword [ebp - 0x18], eax
mov byte [ebp - 0x31], 0
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0x14]
cmp byte [ebp - 0x31], 0
je 0x45fed4
mov dword [ebx], eax
mov eax, 1
jmp 0x45fedc
cmp eax, 0x83
jne 0x4600ce
mov ecx, dword [edi + 0x44]
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test edi, edi
jne 0x4600b3
test ecx, ecx
jne 0x4600b3
test edx, edx
jne 0x4600b3
test eax, eax
je 0x45fed4
add dword [esi], edi
add dword [esi + 4], edx
sub dword [esi + 8], ecx
sub dword [esi + 0xc], eax
mov eax, 1
mov dword [ebx], 0
jmp 0x45fedc
cmp eax, 0x85
jne 0x460100
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push ecx
push dword [ebp + 0x10]
push ecx
call fcn.00460d50
cmp dword [ebp - 0x14], 0
mov dword [ebx], eax
je 0x45feda
mov eax, 1
jmp 0x45fedc
cmp eax, 0xa1
jne 0x46019c
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], 1
cmp eax, 8
jne 0x460137
push dword [edi - 0x24]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 4
push 0
push 3
push 0
jmp 0x460157
cmp eax, 0x14
jne 0x46017b
push dword [edi - 0x24]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 5
push 0
push 3
push 2
mov ecx, dword [edi + 0x44]
push esi
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x460182
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x460182
mov dword [edi + 4], 0
mov dword [ebx], 0
cmp dword [edi + 4], 0
je 0x45feda
mov eax, 1
jmp 0x45fedc
cmp eax, 0xa2
jne 0x46024f
lea esi, [edi - 0x24]
test edi, edi
jne 0x4601b3
mov esi, 4
mov eax, dword [ebp + 0x10]
cmp eax, 8
jne 0x4601e5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
mov ecx, dword [edi + 0x44]
push 0
push 2
push 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x18]
push 0
push 0xf020
jmp 0x460216
cmp eax, 0x14
jne 0x45fed4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
mov ecx, dword [edi + 0x44]
push 0
push 2
push 2
mov edx, dword [ecx]
push eax
call dword [edx + 0x18]
push 0
push 0xf060
push 0x112
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46023f
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebx], 0
mov eax, 1
jmp 0x45fedc
cmp eax, 0xa4
jne 0x460271
mov al, byte [edi + 0x51]
mov dword [ebx], 0
test al, al
je 0x45feda
mov eax, 1
jmp 0x45fedc
cmp eax, 0xa0
jne 0x4603ca
test edi, edi
je 0x460288
lea esi, [edi - 0x24]
mov dword [ebp - 0x3c], esi
jmp 0x46028f
mov dword [ebp - 0x3c], 4
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x460388
push 0x17
mov esi, 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
mov ecx, 2
cmovne esi, ecx
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
mov ecx, 0x8000
xor eax, eax
and dx, cx
cmp byte [edi + 0x48], al
mov ecx, dword [ebp + 0x10]
sete al
mov dword [ebp - 0x38], eax
cmp ecx, 8
jne 0x4603a2
mov dword [ebp - 0x38], eax
xor ax, ax
cmp ax, dx
mov dword [ebp - 0x14], 1
sbb eax, eax
neg eax
add eax, 2
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 8
mov ecx, dword [edi + 0x44]
push 0
push dword [ebp - 0x24]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 0x18]
mov ecx, dword [edi + 0x44]
push 0
push esi
mov esi, dword [ebp - 0x38]
mov eax, dword [ecx]
push 2
push esi
call dword [eax + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, 8
je 0x460348
cmp eax, 0x14
jne 0x46036f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 0x12
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x460388
push esi
mov dword [ebp - 0x38], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x14], 0
mov dword [ebx], 0
je 0x45feda
mov eax, 1
jmp 0x45fedc
mov dword [ebp - 0x24], eax
cmp ecx, 0x14
jne 0x460302
mov dword [ebp - 0x24], eax
xor ax, ax
cmp ax, dx
mov dword [ebp - 0x14], 1
sbb esi, esi
neg esi
add esi, 2
jmp 0x460305
cmp eax, 0x2a2
jne 0x460457
lea esi, [edi - 0x24]
test edi, edi
jne 0x4603e1
mov esi, 4
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x45fed4
push dword [esi]
xor ebx, ebx
cmp byte [edi + 0x48], bl
sete bl
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 9
mov ecx, dword [edi + 0x44]
push 0
push ebx
push 0
mov edx, dword [ecx]
push esi
call dword [edx + 0x18]
mov ecx, dword [edi + 0x44]
push 0
push ebx
push 2
mov eax, dword [ecx]
push esi
call dword [eax + 0x18]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x460444
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov eax, 1
jmp 0x45fedc
cmp eax, 0x113
jne 0x45feda
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x54]
cmp eax, edx
je 0x45fed4
mov ecx, dword [ebp + 0x10]
cmp dword [eax], ecx
je 0x460483
add eax, 4
cmp eax, edx
jne 0x460473
jmp 0x45fed4
mov eax, dword [ecx]
push ecx
call dword [eax]
mov dword [ebx], 0
mov eax, 1
jmp 0x45fedc