Function at 0x409860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ade8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x421150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0x20
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc
call fcn.00402280
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 4], 0
jne 0x409a2c
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x409720
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
push eax
push 0x44d
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 4], 0
jne 0x409904
xor al, al
jmp 0x409a76
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc
call fcn.004094c0
push eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call fcn.004097b0
add esp, 0x14
push 1
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x48]
call fcn.00401d40
mov dword [ebp - 4], 0
push 0xe
lea ecx, [ebp - 0x48]
call fcn.00402730
lea ecx, [ebp - 0x48]
call fcn.004094c0
push eax
push 0x66
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x68
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push 0x66
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push 0x68
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x63
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x409a0e
mov edx, dword [ebp - 0x34]
push edx
push 1
push 0x80
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401de0
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x409a6d
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x409a6b
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x409a2c
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x10], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc