Function at 0x54edb0
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 0x54edd2
mov eax, 1
jmp 0x54f09e
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 0x10], edx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0041aa80
movzx eax, al
test eax, eax
je 0x54edf6
mov eax, 1
jmp 0x54f09e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x9c]
jne 0x54ef4f
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.0041afc0
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.0054f0b0
add esp, 4
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x88]
test ecx, ecx
jne 0x54ee8d
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 0x54ee8d
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.0054d320
mov eax, 1
jmp 0x54f09e
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x88]
test edx, edx
jne 0x54ef40
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.0054ead0
add esp, 4
movzx edx, al
test edx, edx
je 0x54eec3
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x54eecf
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.0054eb60
add esp, 8
movzx eax, al
test eax, eax
je 0x54ef40
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
call fcn.0054e740
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 4]
add edx, 8
push edx
call fcn.0054e760
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 0x54f09e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xa0]
jne 0x54f099
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x88]
test eax, eax
je 0x54f061
mov ecx, dword [ebp - 4]
add ecx, 0x90
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00484340
add esp, 4
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00409190
add esp, 0xc
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00481d20
add esp, 8
mov ecx, eax
call fcn.0042c2d0
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 0x54f061
jg 0x54efde
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x38]
jbe 0x54f061
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.0041afc0
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.0054f0b0
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 0x54f044
call fcn.0047c4d0
mov ecx, dword [ebp - 4]
fstp qword [ecx + 0x80]
mov ecx, dword [ebp - 4]
call fcn.0054da40
mov ecx, dword [ebp - 4]
call fcn.0054d4b0
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 [0x603914]
mov eax, dword [edx + 0xb0]
and eax, 1
je 0x54f099
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x88]
test edx, edx
jne 0x54f099
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.0054eba0
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