Function at 0x5806d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov word [ebp - 0x5a], dx
mov ebx, eax
mov byte [0x5f3bf8], 1
mov eax, dword [ebx + 0x15c]
test eax, eax
je 0x580702
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x64], eax
jmp 0x58071b
push 0
mov ecx, dword [0x5f4c98]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4e3720]
call fcn.00478ad0
mov dword [ebp - 0x64], eax
mov eax, ebx
call fcn.00524274
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00562298
mov dword [ebp - 0x2c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.0042e7d8
call fcn.00429ca0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.004297b8
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429ca0
mov edi, eax
push edi
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, ebx
call fcn.00523bb8
push eax
mov eax, ebx
call fcn.00523b68
lea ecx, [ebp - 0xa8]
pop edx
call fcn.00406da4
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov eax, edi
call fcn.0045e914
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.005cc640
push eax
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.005cc62c
push eax
push 0
push 0
push edi
call sub.gdi32.dll_IntersectClipRect
mov ecx, edi
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x188]
call fcn.00521764
cmp dword [ebx + 0x15c], 0
je 0x5808a8
mov eax, ebx
call fcn.00523bb8
push eax
mov eax, ebx
call fcn.00523b68
lea ecx, [ebp - 0xa8]
pop edx
call fcn.00406da4
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.005cc62c
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.005cc640
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
push 0x1fffffff
mov cl, 0xff
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x2c]
call fcn.0056a048
jmp 0x5808cb
push 0x1fffffff
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x2c]
call fcn.005cc4ac
lea edx, [ebp - 0xb8]
mov cl, 0xff
mov eax, dword [ebp - 0x2c]
call fcn.0056a048
push esi
push edi
call sub.gdi32.dll_RestoreDC
cmp dword [ebp - 0x2c], 0
je 0x580d4b
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429b98
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x2c]
call fcn.005cc57c
movzx eax, word [ebp - 0x5a]
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x70], 0x718
lea ecx, [ebp - 0x6c]
xor edx, edx
xor eax, eax
call fcn.005cc5c8
cmp dword [ebp - 0x10], 0
jle 0x580929
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.005ccd8c
jmp 0x580934
mov dl, byte [ebp - 0xc]
lea eax, [ebp - 0x54]
call fcn.005ccd8c
mov esi, dword [ebx + 0x15c]
test esi, esi
je 0x5809b0
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.00526d34
mov edi, dword [ebp - 0xb4]
mov eax, esi
call fcn.005a92fc
add edi, eax
xor edx, edx
mov eax, ebx
call fcn.005236a4
sub edi, eax
xor ecx, ecx
mov edx, dword [ebx + 0x15c]
mov eax, dword [ebx + 0x38]
call fcn.005a9150
sub edi, eax
xor ecx, ecx
mov edx, dword [ebx + 0x15c]
mov eax, dword [ebx + 0x38]
call fcn.005a9150
push eax
mov eax, dword [ebx + 0x15c]
call fcn.005a933c
mov esi, eax
pop eax
sub esi, eax
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.00526d34
add esi, dword [ebp - 0xb8]
mov dword [ebp - 0x60], esi
jmp 0x5809b7
xor edi, edi
xor eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_GetWindowRect
push 0xffffffffffffffec
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x5809e9
mov dl, 3
mov eax, dword [ebp - 0x64]
call fcn.0047a3dc
mov dword [ebp - 0x80], 0xffffffff
jmp 0x5809ef
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x80], eax
cmp dword [ebx + 0x15c], 0
jne 0x580a0d
mov eax, ebx
call fcn.00521a3c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xb0]
call fcn.0057e214
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x8c]
sub ecx, edi
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov edi, dword [eax]
call dword [edi + 0x84]
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push esi
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x70]
or eax, 8
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x78]
call fcn.0056228c
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x58]
call fcn.005cc4ac
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042e7d8
call fcn.00429ca0
xor ecx, ecx
pop edx
call fcn.0055c4f0
push 3
mov eax, dword [ebp - 0x58]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x580bb1
push ebp
call fcn.00580148
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x580bab
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x7c], eax
push ebp
call fcn.005802fc
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push esi
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
push ebp
call fcn.005805c0
pop ecx
test al, al
je 0x580bab
inc edi
cmp dword [ebp - 0x10], 0
jle 0x580ba6
mov edx, 0xc
mov eax, dword [ebp - 0x7c]
call fcn.005ccd40
cmp edi, dword [ebp - 0x10]
jle 0x580b42
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowRgn
mov edi, dword [ebp - 0x70]
or edi, 1
or edi, 2
push edi
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push esi
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
call fcn.0040f124
push esi
push 0
call sub.user32.dll_ReleaseDC
xor edx, edx
mov eax, ebx
call fcn.00521c64
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_SetWindowPos
push 0xfffffffffffffff0
mov esi, dword [ebx + 0x38]
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push esi
call sub.user32.dll_SetWindowLongA
push 0
mov ecx, 1
mov edx, 0xb
mov eax, ebx
call fcn.0053e95c
mov byte [0x5f3bf8], 0
mov eax, dword [ebx + 0x15c]
test eax, eax
je 0x580cfe
mov byte [eax + 0x25], 1
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_RedrawWindow
xor edx, edx
mov eax, ebx
call fcn.00521c64
mov eax, dword [ebx + 0x15c]
mov byte [eax + 0x25], 0
call fcn.005a9494
test al, al
je 0x580cc9
push 0x30
call sub.kernel32.dll_Sleep
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x15c]
call fcn.005c6be0
push edi
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
xor edx, edx
mov eax, ebx
call fcn.00521c64
jmp 0x580d43
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_RedrawWindow
call fcn.005a9494
test al, al
je 0x580d20
push 0x30
call sub.kernel32.dll_Sleep
push edi
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [ebp - 0x64]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x64]
call fcn.0040f124
lea eax, [ebp - 0x2c]
call fcn.0040f124
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4