Function at 0x59ee44
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x59f233
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e4dbc]
call fcn.004eb2f0
mov edi, eax
mov dword [ebx + 0x10], edi
mov dword [edi + 0xc], 0xffffff9e
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x1c], eax
mov edi, dword [ebx + 0x10]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], 0x59ee24
mov eax, dword [0x59f23c]
not eax
and eax, dword [edi + 0x50]
mov dword [edi + 0x50], eax
xor edx, edx
mov eax, edi
call fcn.004ed258
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.004ec32c
mov eax, esi
xor edx, edx
call fcn.005df3a0
mov edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d6228
add edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d6298
add edi, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edi, eax
mov dword [ebp - 0x10], edi
mov eax, esi
xor edx, edx
call fcn.005df3b4
mov edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d62f0
add edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d61d0
add edi, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edi, eax
mov dword [ebp - 0xc], edi
mov byte [0x6a8a1a], 0xff
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005df3a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005df3b4
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.005df3a0
cmp eax, dword [ebp - 0x1c]
jne 0x59ef5c
mov eax, esi
xor edx, edx
call fcn.005df3b4
cmp eax, dword [ebp - 0x20]
je 0x59f0b3
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x59ef7b
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d6228
mov edi, eax
mov eax, dword [ebp - 8]
add edi, dword [eax]
sub edi, dword [ebx + 0xc]
jmp 0x59ef7d
xor edi, edi
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x59ef9f
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d6228
mov edx, dword [ebp - 8]
add eax, dword [edx + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x59efa4
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, esi
xor edx, edx
call fcn.005df3a0
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 8]
je 0x59efe9
test edi, edi
jne 0x59efdc
mov eax, esi
xor edx, edx
call fcn.005df3a0
sub eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d6298
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x24], edx
jmp 0x59efee
mov eax, dword [ebp - 0x10]
sub eax, edi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x59efee
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.005df3b4
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0xc]
je 0x59f032
cmp dword [ebp - 0x28], 0
jne 0x59f027
mov eax, esi
xor edx, edx
call fcn.005df3b4
sub eax, dword [ebp - 0x20]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d61d0
mov edx, eax
pop eax
add eax, edx
sub eax, dword [ebx + 0xc]
jmp 0x59f034
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
jmp 0x59f034
xor eax, eax
mov edx, dword [ebp - 0x10]
sub edx, edi
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0xc], edx
test edi, edi
jne 0x59f054
cmp dword [ebp - 0x28], 0
je 0x59f0ba
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.005bcb7c
mov dword [ebp - 0x2c], eax
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
push edi
mov eax, dword [ebx + 0x14]
call fcn.00460284
call fcn.0045a64c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00460284
call fcn.0045a64c
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x2c], edx
call fcn.004050e8
jmp 0x59f0ba
xor edi, edi
xor eax, eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x10]
call fcn.004c45c8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x10]
call fcn.004c45fc
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x59f0ec
mov dword [ebp - 0x30], 0xffffffff
jmp 0x59f0fa
push 3
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x48]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d62f0
mov edx, dword [esi + 4]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x28]
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.005d6228
push eax
mov eax, dword [esi]
pop edx
sub eax, edx
add eax, dword [ebx + 0xc]
add eax, edi
xor ecx, ecx
pop edx
call fcn.0040ae20
cmp dword [ebp - 0x30], 0
jne 0x59f141
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x10]
call fcn.004cdee8
mov eax, dword [ebx + 0x10]
call fcn.004ce2b8
test al, al
je 0x59f223
mov esi, 0x80800a0
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.004cdf0c
push eax
call sub.user32.dll_GetWindowLongW
or esi, eax
push esi
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowLongW
push 0x611
push 0
push 0
mov esi, dword [ebp - 0x44]
push esi
mov edi, dword [ebp - 0x48]
push edi
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowPos
mov edx, edi
mov eax, dword [ebx + 0x10]
call fcn.004f1d04
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.004f1d40
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 2
push 0x6a8a18
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00460284
call fcn.0045a64c
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.004cdf0c
push eax
mov eax, dword [0x6a19d0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x10]
call fcn.004cdf0c
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
lea eax, [ebx + 0x14]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004050e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8