Function at 0x418680
Capabilities:
Create thread
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bc92
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
movzx eax, word [ebp + 8]
sub eax, 2
je 0x418a35
sub eax, 0x7ce
jne 0x418a1c
xor edi, edi
cmp dword [0x4615f8], edi
je 0x4189dc
push str.Complete_install__reboot_required
mov esi, 1
push esi
push 0xdd
push str.CMainDialog::OnCommand
push str.DialogsMainDialog.cpp
lea ecx, [ebp - 0x1c]
call fcn.0042d570
push eax
call fcn.0042d760
add esp, 0xc
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], 0x9a
cmp dword [0x461620], edi
je 0x41892f
cmp dword [ebx + 0x64], edi
je 0x418727
mov eax, dword [ebx + 4]
push edi
push edi
push 0x4ec
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x461620], edi
je 0x41892f
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 8]
push edx
push ebx
call fcn.00417fd0
mov eax, dword [ebp + 8]
cmp eax, 0x82
jne 0x418792
push 0x1b4
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x41876b
push ebx
push eax
call fcn.0041a3e0
jmp 0x41876d
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
push eax
push 0x82
push ecx
jmp 0x418977
cmp eax, 0x88
jne 0x4187e5
push 0x210
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
cmp eax, edi
je 0x4187be
mov edx, dword [ebp - 0x10]
push edx
push edi
push ebx
push eax
call fcn.00417060
jmp 0x4187c0
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
push eax
push 0x88
push ecx
jmp 0x418977
cmp eax, 0x84
jne 0x418880
push 0x2e0
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
cmp eax, edi
je 0x418813
push eax
call fcn.004160d0
jmp 0x418815
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414c30
push edx
mov dword [ebp + 8], eax
mov eax, dword [0x461618]
push 0x84
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edi, dword [ebx + 0x50]
add edi, 0x7c
mov dword [ebx + 0x54], esi
call fcn.00421fd0
cmp dword [edi + 4], 0
jne 0x418865
push 0
push 0
push edi
push 0x421db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
call fcn.00424250
push esi
mov esi, dword [ebx + 0x50]
lea eax, [ebx + 0x44]
call fcn.0041ef20
mov esi, 1
jmp 0x41897d
cmp eax, 0x85
jne 0x4188d5
push 0x1b4
mov dword [ebx + 0x58], esi
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
cmp eax, edi
je 0x4188ae
push ebx
push eax
call fcn.00415730
jmp 0x4188b0
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 4]
mov edx, dword [0x461618]
push 0x414c30
push ecx
push 0x85
mov dword [ebp + 8], eax
push edx
jmp 0x418977
cmp eax, 0x86
jne 0x418924
push 0x338
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
cmp eax, edi
je 0x418900
push ebx
push eax
call fcn.004196a0
jmp 0x418902
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
push eax
push 0x86
push ecx
jmp 0x418977
cmp eax, 0x9a
jne 0x4189c6
push 0x240
mov dword [ebx + 0x58], esi
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 5
cmp eax, edi
je 0x418956
push ebx
push eax
call fcn.0040ac00
jmp 0x418958
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414c30
push edx
mov dword [ebp + 8], eax
mov eax, dword [0x461618]
push 0x9a
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4189c6
mov ecx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4189a1
mov edx, dword [eax + 4]
push 0
push edx
call edi
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4189c0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x4189c0
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x64], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Complete_install
push 1
push 0xe2
push str.CMainDialog::OnCommand
push str.DialogsMainDialog.cpp
lea ecx, [ebp - 0x28]
call fcn.0042d570
push eax
call fcn.0042d760
add esp, 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebx + 4]
shr eax, 0xe
and eax, 2
push eax
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Button_Cancel_or_other_close_operation_
push 1
push 0xd7
push str.CMainDialog::OnCommand
push str.DialogsMainDialog.cpp
lea ecx, [ebp - 0x34]
call fcn.0042d570
push eax
call fcn.0042d760
add esp, 0xc
mov ecx, ebx
call fcn.00418b90
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8