Function at 0x416be0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4bf051
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x8e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x8f8]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x910]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x908]
push ebp
lea eax, [esp + 0x2e0]
push eax
call edi
lea ecx, [esp + 0x2dc]
push ecx
call fcn.00477190
push 0x38
call fcn.00443150
add esp, 8
push eax
lea edx, [esp + 0x6f0]
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x2dc]
push eax
lea ecx, [esp + 0x6f0]
push ecx
call ebx
push ebp
lea edx, [esp + 0x4e8]
push edx
call edi
push 0x4c483c
lea eax, [esp + 0x4e8]
push eax
call ebx
lea ecx, [esp + 0x4e4]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1c], 0
call fcn.004be890
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x904], 0
call fcn.004be1d0
add esp, 4
lea ecx, [esp + 0x60]
mov bl, al
mov dword [esp + 0x900], 0xffffffff
call fcn.004be590
test bl, bl
je 0x416cdf
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x90c]
mov ecx, dword [esp + 0x18]
push eax
push 0
push 0
push ecx
lea edx, [esp + 0x6fc]
push edx
lea ecx, [esp + 0x90]
call fcn.0041bad0
mov dword [esp + 0x900], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x80]
call fcn.00449e80
mov edi, eax
mov dword [esp + 0x20], edi
cmp edi, 1
jne 0x416f57
mov eax, dword [0x4eeb70]
mov ecx, dword [esp + 0x1c]
push esi
push eax
call fcn.00415aa0
mov ecx, dword [0x4eeb70]
push ecx
mov ecx, 0x4f1e68
mov byte [esp + 0x1b], al
call fcn.00435cf0
mov edx, dword [0x4eeb70]
push edx
mov ecx, 0x4f1e68
mov edi, eax
call fcn.00435d30
mov ebx, eax
mov eax, dword [0x4eeb70]
push eax
mov ecx, 0x4f1e68
call fcn.00435d10
mov dword [esp + 0x24], eax
xor eax, eax
cmp esi, eax
je 0x416d8f
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov dword [esp + 0x28], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp byte [esp + 0x90c], 0
mov byte [esp + 0x900], 2
je 0x416dd0
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x537f08
call fcn.004165b0
mov edx, dword [esp + 0x90c]
push edx
mov ecx, 0x5391d0
call fcn.00456c40
mov eax, dword [0x5391d4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x416dfe
push eax
push esi
mov ecx, 0x5391d0
call fcn.00416950
mov ecx, dword [0x5391d4]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x5391d0
call fcn.00456d40
push 0x4f19d0
mov ecx, 0x5391d0
call fcn.00456c20
push esi
mov ecx, 0x5391d0
call fcn.00456c30
call fcn.0043ec30
cmp byte [esp + 0x17], 0
je 0x416e4d
mov edx, dword [0x4eeb70]
mov ecx, dword [esp + 0x1c]
push edx
call fcn.00416390
lea eax, [esp + 0x1dc]
push eax
push edi
mov ecx, 0x4f1e68
call fcn.00435db0
push 0xa4
call fcn.00443150
mov ecx, dword [0x5391d4]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [esp + 0x1dc]
push edx
mov ecx, 0x5391d0
call fcn.00456fb0
push 0x8a
call fcn.00443150
push eax
push 0x5391f0
call fcn.00456c60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add esp, 0xc
push eax
push ebp
push 0x5391f0
push ecx
push ebx
push edi
mov ecx, 0x4f19d0
call fcn.00429f50
test al, al
jne 0x416f0e
push 0x8c
call fcn.00443150
push eax
push 0x5391f0
call fcn.00456c60
push 0x8c
call fcn.00443150
push eax
push 1
push 0x5391f0
call fcn.00457630
add esp, 0x1c
mov ecx, 0x5391f0
call fcn.00457060
push 0x10
push 0
push 0x1f
push 0
call fcn.004431e0
add esp, 0x10
cmp byte [esp + 0x90c], 0
lea ecx, [esp + 0x28]
je 0x416f4e
call fcn.00415ef0
mov ecx, 0x537f08
mov esi, eax
call fcn.00416a70
lea ecx, [esp + 0x28]
call fcn.00448580
lea ecx, [esp + 0x7c]
mov dword [esp + 0x900], 0xffffffff
call fcn.0041b990
mov eax, esi
jmp 0x416f6d
call fcn.00448580
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x900], 0xffffffff
call fcn.0041b990
mov eax, edi
mov ecx, dword [esp + 0x8f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8e0]
xor ecx, esp
call fcn.004911aa
add esp, 0x8f0
ret 0xc