Function at 0x5d2fbc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov byte [esp], dl
mov ebx, eax
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x9c]
test esi, esi
je 0x5d35f4
test edi, edi
je 0x5d35f4
mov eax, edi
call fcn.0052eca0
test al, al
je 0x5d35f4
mov eax, esi
call fcn.0052eca0
test al, al
je 0x5d35f4
mov eax, ebx
call fcn.005d2f8c
test al, al
je 0x5d3056
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d302d
push 0
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d35f4
push 0
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5d35f4
mov byte [esp + 0x18], 0
lea edx, [esp + 0x24]
mov eax, ebx
call fcn.005d397c
mov dword [esp + 4], 0x7fffffff
mov dword [esp + 8], 0x7fffffff
mov dword [esp + 0xc], 0x80000001
mov dword [esp + 0x10], 0x80000001
mov eax, ebx
call fcn.005d3cd4
call fcn.005c4f70
dec eax
test eax, eax
jl 0x5d3194
inc eax
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov eax, ebx
call fcn.005d3cd4
mov edx, ebp
call fcn.005c4fbc
cmp byte [eax + 0x69], 0
je 0x5d3189
mov eax, ebx
call fcn.005d3cd4
mov edx, ebp
call fcn.005c4fbc
call fcn.0052e8d0
cmp eax, dword [ebx + 0x3c]
je 0x5d3189
mov eax, ebx
call fcn.005d3cd4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
push eax
mov edx, ebp
mov eax, dword [esp + 0x24]
call fcn.005c4fbc
call fcn.0052e8d0
push eax
call sub.user32.dll_GetWindowRect
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x3a4]
push eax
call sub.user32.dll_GetWindowRect
mov ecx, dword [esp + 0x48]
neg ecx
mov edx, dword [esp + 0x44]
neg edx
lea eax, [esp + 0x34]
call fcn.004120a4
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 4]
jge 0x5d3133
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 8]
jge 0x5d3141
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
call fcn.004119b0
add eax, dword [esp + 0x34]
cmp eax, dword [esp + 0xc]
jle 0x5d3165
lea eax, [esp + 0x34]
call fcn.004119b0
add eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x34]
call fcn.004119b8
add eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x10]
jle 0x5d3189
lea eax, [esp + 0x34]
call fcn.004119b8
add eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
inc ebp
dec dword [esp + 0x1c]
jne 0x5d30a2
cmp dword [esp + 4], 0
jl 0x5d31ae
lea eax, [esp + 0x24]
call fcn.004119b0
cmp eax, dword [esp + 0xc]
jl 0x5d31ae
xor eax, eax
jmp 0x5d31b0
mov al, 1
mov byte [esp + 0x19], al
cmp dword [esp + 8], 0
jl 0x5d31ce
lea eax, [esp + 0x24]
call fcn.004119b8
cmp eax, dword [esp + 0x10]
jl 0x5d31ce
xor eax, eax
jmp 0x5d31d0
mov al, 1
mov byte [esp + 0x1a], al
cmp byte [esp + 0x1a], 0
je 0x5d3205
cmp byte [esp + 0x19], 0
jne 0x5d3205
cmp dword [esp + 4], 0
jl 0x5d31ff
lea eax, [esp + 0x24]
call fcn.004119b0
sub eax, dword [edi + 0x58]
cmp eax, dword [esp + 0xc]
jl 0x5d31ff
xor eax, eax
jmp 0x5d3201
mov al, 1
mov byte [esp + 0x19], al
cmp byte [esp + 0x19], 0
je 0x5d3236
cmp byte [esp + 0x1a], 0
jne 0x5d3236
cmp dword [esp + 8], 0
jl 0x5d3230
lea eax, [esp + 0x24]
call fcn.004119b8
sub eax, dword [esi + 0x5c]
cmp eax, dword [esp + 0x10]
jl 0x5d3230
xor eax, eax
jmp 0x5d3232
mov al, 1
mov byte [esp + 0x1a], al
cmp byte [esp + 0x19], 0
je 0x5d3290
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5d3290
push 0x40
mov eax, dword [esi + 0x5c]
push eax
lea eax, [esp + 0x2c]
call fcn.004119b0
push eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esi + 0x5c]
push eax
mov eax, dword [esp + 0x34]
push eax
push 0
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
mov byte [esp + 0x18], 1
jmp 0x5d32bc
cmp byte [esp + 0x19], 0
jne 0x5d32bc
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d32bc
push 0
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
mov byte [esp + 0x18], 1
cmp byte [esp + 0x1a], 0
je 0x5d3350
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5d3350
cmp byte [esp + 0x19], 0
je 0x5d330f
push 0x40
lea eax, [esp + 0x28]
call fcn.004119b8
sub eax, dword [esi + 0x5c]
push eax
mov ebp, dword [edi + 0x58]
push ebp
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
push eax
push 0
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5d333a
push 0x40
lea eax, [esp + 0x28]
call fcn.004119b8
push eax
mov ebp, dword [edi + 0x58]
push ebp
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
push eax
push 0
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
mov byte [esp + 0x18], 1
jmp 0x5d337c
cmp byte [esp + 0x1a], 0
jne 0x5d337c
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d337c
push 0
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
mov byte [esp + 0x18], 1
lea eax, [esp + 0x24]
call fcn.004119b0
mov ebp, eax
lea eax, [esp + 0x24]
call fcn.004119b8
mov dword [esp + 0x14], eax
mov eax, ebx
call fcn.005d375c
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d3448
cmp dword [esp + 4], 0
jle 0x5d33bd
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 0x24]
call fcn.004119b0
cmp eax, dword [esp + 0xc]
jle 0x5d33d9
lea eax, [esp + 0x24]
call fcn.004119b0
mov dword [esp + 0xc], eax
cmp byte [esp], 0
je 0x5d343a
mov byte [ebx + 0x98], 1
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d3405
mov edx, ebp
sub edx, dword [edi + 0x58]
mov eax, esi
call fcn.0053f80c
jmp 0x5d340e
mov edx, ebp
mov eax, esi
call fcn.0053f80c
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 4]
dec eax
push eax
mov edx, dword [esp + 8]
neg edx
xor ecx, ecx
mov eax, esi
call fcn.0053f638
mov eax, dword [esi + 0x294]
mov dword [ebx + 0xb8], eax
mov byte [ebx + 0x98], 0
movzx eax, word [esi + 0x2a0]
mov word [esi + 0x2aa], ax
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d34f9
cmp dword [esp + 8], 0
jle 0x5d346a
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
call fcn.004119b8
cmp eax, dword [esp + 0x10]
jle 0x5d3486
lea eax, [esp + 0x24]
call fcn.004119b8
mov dword [esp + 0x10], eax
cmp byte [esp], 0
je 0x5d34eb
mov byte [ebx + 0x99], 1
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d34b4
mov edx, dword [esp + 0x14]
sub edx, dword [esi + 0x5c]
mov eax, edi
call fcn.0053f80c
jmp 0x5d34bf
mov edx, dword [esp + 0x14]
mov eax, edi
call fcn.0053f80c
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
dec eax
push eax
mov edx, dword [esp + 0xc]
neg edx
xor ecx, ecx
mov eax, edi
call fcn.0053f638
mov eax, dword [edi + 0x294]
mov dword [ebx + 0xbc], eax
mov byte [ebx + 0x99], 0
movzx eax, word [edi + 0x2a0]
mov word [edi + 0x2aa], ax
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5d3520
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5d3520
mov byte [esp + 0x18], 0
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d3598
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d3598
mov eax, dword [ebx + 0x94]
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5d3598
push 0x40
mov eax, dword [esi + 0x5c]
push eax
mov ebp, dword [edi + 0x58]
push ebp
mov eax, dword [esp + 0x3c]
sub eax, dword [esi + 0x5c]
push eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
push eax
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052e8d0
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebx + 0x94]
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
jmp 0x5d35e2
mov eax, esi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d35cf
mov eax, edi
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5d35e2
mov eax, dword [ebx + 0x94]
call fcn.0052e8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d35e2
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052e8d0
push eax
call sub.user32.dll_ShowWindow
cmp byte [esp + 0x18], 0
je 0x5d35f4
movzx edx, byte [esp]
mov eax, ebx
call fcn.005d2fbc
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret