Function at 0x5e06dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x5e0d6a
cmp dword [ebp - 0x30], 0
je 0x5e0d6a
mov eax, dword [ebp - 0x30]
call fcn.005254e4
test al, al
je 0x5e0d6a
mov eax, dword [ebp - 0x2c]
call fcn.005254e4
test al, al
je 0x5e0d6a
mov eax, dword [ebp - 4]
call fcn.005e069c
test al, al
je 0x5e078d
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0762
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0d6a
push 0
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
jmp 0x5e0d6a
mov byte [ebp - 0x25], 0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.005e11e0
mov dword [ebp - 0x10], 0x7fffffff
mov dword [ebp - 0x14], 0x7fffffff
mov dword [ebp - 0x18], 0x80000001
mov dword [ebp - 0x1c], 0x80000001
mov eax, dword [ebp - 4]
call fcn.005e15a8
call fcn.005cef58
dec eax
test eax, eax
jl 0x5e08c5
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
call fcn.005e15a8
mov edx, dword [ebp - 0xc]
call fcn.005cefc0
cmp byte [eax + 0x69], 0
je 0x5e08b9
mov eax, dword [ebp - 4]
call fcn.005e15a8
mov edx, dword [ebp - 0xc]
call fcn.005cefc0
call fcn.00524f44
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
je 0x5e08b9
mov eax, dword [ebp - 4]
call fcn.005e15a8
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x58]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
call fcn.005cefc0
call fcn.00524f44
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3a4]
push eax
call sub.user32.dll_GetWindowRect
mov ecx, dword [ebp - 0x64]
neg ecx
mov edx, dword [ebp - 0x68]
neg edx
lea eax, [ebp - 0x58]
call fcn.00410a90
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x58]
jle 0x5e086f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x54]
jle 0x5e087d
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
call fcn.0041039c
add eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x18]
jle 0x5e089b
lea eax, [ebp - 0x58]
call fcn.0041039c
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x58]
call fcn.004103a4
add eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x1c]
jle 0x5e08b9
lea eax, [ebp - 0x58]
call fcn.004103a4
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x34]
jne 0x5e07d9
cmp dword [ebp - 0x10], 0
jl 0x5e08dc
lea eax, [ebp - 0x48]
call fcn.0041039c
cmp eax, dword [ebp - 0x18]
jl 0x5e08dc
xor eax, eax
jmp 0x5e08de
mov al, 1
mov byte [ebp - 0x26], al
cmp dword [ebp - 0x14], 0
jl 0x5e08f8
lea eax, [ebp - 0x48]
call fcn.004103a4
cmp eax, dword [ebp - 0x1c]
jl 0x5e08f8
xor eax, eax
jmp 0x5e08fa
mov al, 1
mov byte [ebp - 0x27], al
cmp byte [ebp - 0x27], 0
je 0x5e092b
cmp byte [ebp - 0x26], 0
jne 0x5e092b
cmp dword [ebp - 0x10], 0
jl 0x5e0926
lea eax, [ebp - 0x48]
call fcn.0041039c
mov edx, dword [ebp - 0x30]
sub eax, dword [edx + 0x58]
cmp eax, dword [ebp - 0x18]
jl 0x5e0926
xor eax, eax
jmp 0x5e0928
mov al, 1
mov byte [ebp - 0x26], al
cmp byte [ebp - 0x26], 0
je 0x5e0959
cmp byte [ebp - 0x27], 0
jne 0x5e0959
cmp dword [ebp - 0x14], 0
jl 0x5e0954
lea eax, [ebp - 0x48]
call fcn.004103a4
mov edx, dword [ebp - 0x2c]
sub eax, dword [edx + 0x5c]
cmp eax, dword [ebp - 0x1c]
jl 0x5e0954
xor eax, eax
jmp 0x5e0956
mov al, 1
mov byte [ebp - 0x27], al
cmp byte [ebp - 0x26], 0
je 0x5e09b7
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5e09b7
push 0x40
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x5c]
push eax
lea eax, [ebp - 0x48]
call fcn.0041039c
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
sub eax, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
mov byte [ebp - 0x25], 1
jmp 0x5e09e3
cmp byte [ebp - 0x26], 0
jne 0x5e09e3
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e09e3
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
mov byte [ebp - 0x25], 1
cmp byte [ebp - 0x27], 0
je 0x5e0a87
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5e0a87
cmp byte [ebp - 0x26], 0
je 0x5e0a41
push 0x40
lea eax, [ebp - 0x48]
call fcn.004103a4
mov edx, dword [ebp - 0x2c]
sub eax, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
sub edx, dword [eax + 0x58]
push edx
push 0
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5e0a71
push 0x40
lea eax, [ebp - 0x48]
call fcn.004103a4
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
sub edx, dword [eax + 0x58]
push edx
push 0
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
mov byte [ebp - 0x25], 1
jmp 0x5e0ab3
cmp byte [ebp - 0x27], 0
jne 0x5e0ab3
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0ab3
push 0
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
mov byte [ebp - 0x25], 1
lea eax, [ebp - 0x48]
call fcn.0041039c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
call fcn.004103a4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
call fcn.005e0f38
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0b91
cmp dword [ebp - 0x10], 0
jle 0x5e0af2
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
call fcn.0041039c
cmp eax, dword [ebp - 0x18]
jle 0x5e0b0a
lea eax, [ebp - 0x48]
call fcn.0041039c
mov dword [ebp - 0x18], eax
cmp byte [ebp - 5], 0
je 0x5e0b7d
mov eax, dword [ebp - 4]
mov byte [eax + 0x98], 1
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0b3f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
sub edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x2c]
call fcn.00538f08
jmp 0x5e0b4a
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
call fcn.00538f08
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
dec eax
push eax
mov edx, dword [ebp - 0x10]
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.00538cc0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x294]
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x98], 0
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 0x2a0]
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x2aa], ax
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0c51
cmp dword [ebp - 0x14], 0
jle 0x5e0bb2
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
call fcn.004103a4
cmp eax, dword [ebp - 0x1c]
jle 0x5e0bca
lea eax, [ebp - 0x48]
call fcn.004103a4
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 5], 0
je 0x5e0c3d
mov eax, dword [ebp - 4]
mov byte [eax + 0x99], 1
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0bff
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
sub edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0x30]
call fcn.00538f08
jmp 0x5e0c0a
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
call fcn.00538f08
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
dec eax
push eax
mov edx, dword [ebp - 0x14]
neg edx
xor ecx, ecx
mov eax, dword [ebp - 0x30]
call fcn.00538cc0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x294]
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x99], 0
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 0x2a0]
mov edx, dword [ebp - 0x30]
mov word [edx + 0x2aa], ax
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5e0c79
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5e0c79
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0d07
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0d07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5e0d07
push 0x40
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
sub eax, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
sub edx, dword [eax + 0x58]
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00524f44
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
jmp 0x5e0d59
mov eax, dword [ebp - 0x2c]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0d43
mov eax, dword [ebp - 0x30]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x5e0d59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0d59
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00524f44
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 0x25], 0
je 0x5e0d6a
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.005e06dc
mov esp, ebp
pop ebp
ret