Function at 0x428590
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push 0xffffffffffffffff
push 0x449896
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0x54
call fcn.0044665e
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x4285d9
push eax
call fcn.00425300
jmp 0x4285db
xor eax, eax
or esi, 0xffffffff
mov dword [esp + 0x2c], esi
push 0x54
mov dword [0x45fb70], eax
call fcn.0044665e
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x2c], 1
je 0x42863b
mov edx, dword [esp + 0x40]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], esp
mov dword [ecx + 4], ebx
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], esp
push ecx
call fcn.004284f0
mov ebp, eax
jmp 0x42863d
xor ebp, ebp
mov dword [esp + 0x2c], esi
mov eax, dword [ebp + 8]
cmp eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x45e418]
mov esi, dword [0x45e41c]
jne 0x428665
cmp ecx, ecx
jne 0x428665
cmp dword [ebp + 0x10], edx
jne 0x428665
cmp dword [ebp + 0x14], esi
je 0x428671
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], esi
mov esi, dword [0x45fb70]
push 0
call fcn.00425650
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x45fb70]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00425460
mov ecx, dword [0x45fb70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x450c20
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [0x45fb70]
push ebp
call fcn.00425910
mov eax, dword [0x45fb70]
mov ecx, dword [eax]
mov byte [ecx + 0x28], 0
mov edx, dword [eax]
mov esi, dword [edx + 4]
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x8000088
cmp eax, ecx
je 0x4286ed
push ecx
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
push 0x18
push eax
mov eax, dword [0x45fb70]
push ecx
mov ecx, dword [eax]
add ebx, 0x14
push ebx
add edx, 0x14
push edx
mov edx, dword [ecx + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov edi, eax
push edi
push esi
call ebx
mov eax, dword [0x45fb70]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push esi
call ebx
mov eax, dword [0x45fb70]
cmp dword [eax], 0
mov esi, eax
jne 0x428778
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x1c
push esi
call eax
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret