Function at 0x546400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x98]
test ecx, ecx
je 0x546422
mov eax, 1
jmp 0x5466ee
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 0x10], edx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00418d90
movzx eax, al
test eax, eax
je 0x546446
mov eax, 1
jmp 0x5466ee
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x9c]
jne 0x54659f
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.004192d0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0x14]
lea edx, [ebp - 0x60]
push edx
call fcn.00546700
add esp, 4
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x88]
test ecx, ecx
jne 0x5464dd
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
add eax, 8
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x5464dd
mov ecx, dword [ebp - 4]
add ecx, 8
mov edx, dword [ebp - 0x60]
mov dword [ecx], edx
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x58]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 4]
call fcn.00544f90
mov eax, 1
jmp 0x5466ee
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x88]
test edx, edx
jne 0x546590
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00546180
add esp, 4
movzx edx, al
test edx, edx
je 0x546513
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x54651f
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x78]
push edx
call fcn.005461b0
add esp, 8
movzx eax, al
test eax, eax
je 0x546590
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
call fcn.00546150
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 4]
add edx, 8
push edx
call fcn.00546170
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
jmp 0x5466ee
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xa0]
jne 0x5466e9
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x88]
test eax, eax
je 0x5466b1
mov ecx, dword [ebp - 4]
add ecx, 0x90
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0047c220
add esp, 4
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004076c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.0047a570
add esp, 8
mov ecx, eax
call fcn.00429470
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x8c]
cdq
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
jl 0x5466b1
jg 0x54662e
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x38]
jbe 0x5466b1
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.004192d0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
push ecx
call fcn.00546700
add esp, 4
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 4]
add eax, 8
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x546694
call fcn.00474eb0
mov ecx, dword [ebp - 4]
fstp qword [ecx + 0x80]
mov ecx, dword [ebp - 4]
call fcn.005456a0
mov ecx, dword [ebp - 4]
call fcn.00545120
mov edx, dword [ebp - 4]
add edx, 8
mov eax, dword [ebp - 0x70]
mov dword [edx], eax
mov ecx, dword [ebp - 0x6c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x68]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x64]
mov dword [edx + 0xc], ecx
mov edx, dword [0x5fd9fc]
mov eax, dword [edx + 0xa8]
and eax, 1
je 0x5466e9
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x88]
test edx, edx
jne 0x5466e9
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005461f0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8