Function at 0x537ce0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc8
mov ebx, eax
cmp byte [ebx + 0x48], 0
je 0x53810c
mov eax, ebx
call fcn.005374cc
test al, al
jne 0x53810c
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 1
je 0x53810c
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x53810c
cmp dword [ebx + 0x28c], 0
je 0x537d44
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x248], 0
je 0x53810c
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x537d71
mov eax, dword [0x57eca4]
cmp dword [eax], 0
je 0x537d71
mov eax, dword [0x57eca4]
mov eax, dword [eax]
cmp dword [eax + 0xd4], 0
jg 0x53810c
test byte [ebx + 0x270], 0x80
jne 0x53810c
cmp dword [ebx + 0x260], 0
jne 0x537dd9
push 0
mov ecx, dword [0x57ebe0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x53783c]
call fcn.00469678
mov esi, eax
mov dword [ebx + 0x260], esi
mov dword [esi + 0x300], ebx
test esi, esi
je 0x53810c
mov eax, esi
call fcn.00456880
mov eax, dword [ebx + 0x260]
call fcn.00456ba8
test al, al
jne 0x537dd9
lea eax, [ebx + 0x260]
call fcn.0040ff68
jmp 0x53810c
cmp dword [ebx + 0x28c], 0
je 0x537e7e
mov eax, ebx
call fcn.00541174
mov esi, eax
mov eax, ebx
call fcn.00540b40
imul esi, eax
inc esi
mov eax, ebx
call fcn.00540a4c
mov edi, eax
mov eax, dword [ebx + 0x25c]
add edi, dword [eax + 0x44]
sub edi, esi
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.00543714
sub edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x28c]
call fcn.00537254
sub edi, eax
mov ebp, dword [ebx + 0x25c]
mov eax, ebp
call fcn.004568a4
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.00537088
add eax, dword [ebp + 0x40]
mov dword [esp + 0x10], eax
mov ebp, dword [ebx + 0x25c]
mov eax, ebp
call fcn.004568a4
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.00537088
add eax, eax
mov edx, dword [ebp + 0x48]
sub edx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x538020
inc esi
jmp 0x538020
mov eax, dword [ebx + 0x25c]
mov esi, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x14], eax
mov ebp, dword [ebx + 0x25c]
cmp dword [ebp + 0x30], 0
jne 0x537eaf
cmp byte [ebp + 0x22f], 1
je 0x537eaf
mov edi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x10], eax
jmp 0x537ecd
lea eax, [esp + 0x18]
push eax
mov eax, ebp
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowRect
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00538538
mov ebp, eax
mov dword [esp + 8], ebp
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
lea edx, [esp + 8]
call fcn.00537c44
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
lea edx, [esp + 0x18]
call fcn.00517910
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.GDI32.DLL_CreateRectRgn
mov dword [esp + 4], eax
push 4
mov eax, dword [esp + 8]
push eax
push ebp
push ebp
call sub.GDI32.DLL_CombineRgn
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x537f69
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x53800c
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetDC
mov dword [esp], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_GetClipBox
dec eax
jne 0x537fb4
lea eax, [ebx + 0x260]
call fcn.0040ff68
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_ReleaseDC
jmp 0x53810c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp edx, eax
jle 0x537ff7
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x537ff7
mov ecx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call sub.GDI32.DLL_CreateRectRgn
mov dword [esp + 4], eax
push 1
mov eax, dword [esp + 8]
push eax
push ebp
push ebp
call sub.GDI32.DLL_CombineRgn
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_ReleaseDC
push 0
push ebp
mov eax, dword [ebx + 0x260]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowRgn
mov eax, dword [esp + 0x14]
push eax
push esi
mov ecx, edi
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x260]
mov ebp, dword [eax]
call dword [ebp + 0x84]
mov ebp, dword [ebx + 0x25c]
cmp byte [ebp + 0x22f], 1
jne 0x53807b
push 0x658
mov eax, ebx
call fcn.00540fc8
push eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x260]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
jmp 0x5380d8
push 0xffffffffffffffec
mov eax, ebp
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x5380b4
push 0x658
push esi
mov eax, dword [esp + 0x1c]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x260]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
jmp 0x5380d8
push 0x658
push esi
mov eax, dword [esp + 0x1c]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x260]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
push 4
mov eax, dword [ebx + 0x260]
call fcn.004568a4
push eax
call sub.USER32.DLL_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x260]
call fcn.004568a4
push eax
call sub.USER32.DLL_RedrawWindow
push 0x28
call sub.KERNEL32.DLL_Sleep_1
add esp, 0x38
pop ebp
pop edi
pop esi
pop ebx
ret