Function at 0x65b070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, 0x761ab4
cmp dword [ebx], 0
je 0x65b09c
mov eax, dword [ebx]
cmp dword [eax + 0x64], 0
je 0x65b09c
mov eax, dword [ebx]
add eax, 0x64
call fcn.0042bdf8
mov eax, dword [ebp - 4]
mov ecx, 0xc
cdq
idiv ecx
test eax, eax
jne 0x65b0ca
test esi, esi
je 0x65b0b6
mov eax, esi
call fcn.004075e4
test edi, edi
je 0x65b31f
mov eax, edi
call fcn.004075e4
jmp 0x65b31f
cmp dword [ebx], 0
jne 0x65b0e5
mov ecx, dword [0x762c70]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x659c8c]
call fcn.0065f6bc
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx]
mov byte [eax + 0xbd], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xb4], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x65b11c
cmp edi, eax
je 0x65b11c
mov eax, dword [ebx]
add eax, 0xd0
call fcn.0042bdf8
mov eax, dword [ebx]
mov dword [eax + 0xd0], edi
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xb0], edx
mov eax, dword [ebx]
mov dword [eax + 0x64], esi
movzx eax, byte [ebp + 0xc]
mov edx, dword [ebx]
mov byte [edx + 0xbc], al
mov edx, 0xc
mov eax, dword [ebx]
call fcn.00646ff8
mov eax, dword [ebp - 4]
mov ecx, 0xc
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0xb8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebx]
mov dword [edx + 0x68], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebx]
mov dword [edx + 0x6c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00410070
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x70], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x74], edx
movzx eax, byte [ebp + 0x10]
mov edx, dword [ebx]
mov byte [edx + 0x7a], al
mov eax, dword [ebx]
mov byte [eax + 0x78], 0
mov eax, dword [ebx]
mov byte [eax + 0x79], 0
mov eax, dword [ebx]
mov byte [eax + 0x7b], 1
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0x60], eax
mov eax, esi
call fcn.0052ed68
mov edx, 0xffffffec
call fcn.00412be0
or eax, 0x80000
or eax, 0x8000000
push eax
mov eax, esi
call fcn.0052ed68
mov edx, 0xffffffec
pop ecx
call fcn.00412ebc
push 2
mov eax, dword [ebx]
add eax, 0x78
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0x70
push eax
mov eax, edi
call fcn.005072ac
call fcn.00501678
push eax
mov eax, dword [ebx]
add eax, 0x68
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
push eax
mov eax, esi
call fcn.0052ed68
push eax
mov eax, dword [0x76267c]
mov eax, dword [eax]
call eax
push 4
mov eax, esi
call fcn.0052ed68
push eax
call sub.user32.dll_ShowWindow
or edi, 0xffffffff
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0x6c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
push eax
mov eax, esi
call fcn.005d5acc
push eax
mov eax, esi
call fcn.005d5aac
push eax
push edi
mov eax, esi
call fcn.0052ed68
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
cmp dword [eax + 0xd4], 0
je 0x65b289
mov eax, dword [ebx]
add eax, 0xd4
call fcn.0042bdf8
mov eax, dword [ebx]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
call fcn.00615dd0
mov edx, dword [ebx]
mov dword [edx + 0xd4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.0065f534
mov eax, dword [0x762c70]
mov eax, dword [eax]
cmp byte [eax + 0xa8], 0
jne 0x65b30d
mov eax, dword [ebx]
push eax
push fcn.0065f74c
mov eax, dword [ebx]
call fcn.00647014
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xb4], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.0065f74c
mov dl, 1
mov eax, dword [ebx]
call fcn.00646fe8
jmp 0x65b31f
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.0065f74c
call sub.kernel32.dll_GetTickCount_1
lea edx, [esi + 0xc]
cmp eax, edx
jb 0x65b301
mov eax, dword [ebx]
mov eax, dword [eax + 0xb4]
mov edx, dword [ebx]
cmp eax, dword [edx + 0xb8]
jle 0x65b2f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc