Function at 0x57f114
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov ebx, 0x5f3c04
cmp dword [ebx], 0
je 0x57f149
mov eax, dword [ebx]
cmp dword [eax + 0xc4], 0
je 0x57f149
mov eax, dword [ebx]
add eax, 0xc4
call fcn.0040f124
mov eax, esi
mov ecx, 0xc
cdq
idiv ecx
test eax, eax
jne 0x57f16c
lea eax, [ebp - 4]
call fcn.0040f124
lea eax, [ebp - 8]
call fcn.0040f124
jmp 0x57f405
cmp dword [ebx], 0
jne 0x57f187
mov ecx, dword [0x5f4c98]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x57d060]
call fcn.005846bc
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 0xbc], edx
mov eax, dword [ebx]
mov byte [eax + 0x12d], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
test eax, eax
je 0x57f1c2
cmp eax, dword [ebp - 8]
je 0x57f1c2
mov eax, dword [ebx]
add eax, 0x130
call fcn.0040f124
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
mov dword [eax + 0x130], edx
mov eax, dword [ebx]
mov dword [eax + 0x124], edi
mov eax, dword [ebx]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc4], edx
mov eax, dword [ebx]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x12c], dl
mov edx, 0xc
mov eax, dword [ebx]
call fcn.00564d48
mov eax, esi
mov ecx, 0xc
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
call fcn.005cc57c
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc8], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xcc], edx
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.005cc5c8
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xd0], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xd4], edx
mov edx, edi
mov eax, dword [ebx]
add eax, 0xd8
call fcn.005ccd8c
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0xc0], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [ebx]
add eax, 0xd8
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0xd0
push eax
mov eax, dword [ebp - 8]
call fcn.0042e7d8
call fcn.00429ca0
push eax
mov eax, dword [ebx]
add eax, 0xc8
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
push eax
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
push 0x71f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x57f325
or esi, 0xffffffff
jmp 0x57f32f
mov eax, dword [ebp - 4]
call fcn.004668b8
mov esi, eax
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0xcc]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
add eax, 0x134
call fcn.0040f124
mov eax, dword [ebx]
add eax, 0xc8
call fcn.0056228c
mov edx, dword [ebx]
mov dword [edx + 0x134], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.0058449c
mov eax, dword [0x5f4c98]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x57f3f3
mov eax, dword [ebx]
push eax
push fcn.00584750
mov eax, dword [ebx]
call fcn.00564d70
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.00584750
mov dl, 1
mov eax, dword [ebx]
call fcn.00564d38
jmp 0x57f405
call sub.kernel32.dll_GetTickCount
mov esi, eax
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.00584750
mov edx, 0xc
mov eax, esi
call fcn.005ccd40
mov eax, dword [ebx]
mov eax, dword [eax + 0x120]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x128]
jle 0x57f3d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc