Function at 0x40bac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eed60
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.00402770
test eax, eax
je 0x40bb15
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019d0
jmp 0x40bc9e
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp + 8]
push eax
call fcn.00402300
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00409e10
lea ecx, [ebp + 8]
call fcn.00402770
test eax, eax
jne 0x40bb5d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019d0
jmp 0x40bc9e
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x3c], 0
jne 0x40bbb8
lea ecx, [ebp + 8]
call fcn.00402770
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
call fcn.00402770
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004019d0
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x40bbd3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x40]
call fcn.0040de70
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x3c], 0
je 0x40bc08
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x40]
mov eax, dword [ebp - 0x24]
mov edx, dword [edx]
mov ecx, dword [eax + 0x40]
mov eax, dword [edx + 0xe4]
call eax
movzx ecx, al
test ecx, ecx
jne 0x40bc08
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x3c], 0
je 0x40bc64
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x40bc64
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x40]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x40]
mov edx, dword [eax + 0x38]
call edx
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__]
push 0x14
lea ecx, [ebp - 0x20]
call dword [sym.imp.DTLUI.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.DTLUI.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 8]
push edx
call fcn.00402300
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
sub ecx, 0x10
mov byte [ebp - 4], 0
call fcn.0040c3e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret 4