Function at 0x4b90dc
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, 0x6f12c8
cmp dword [ebx], 0
je 0x4b9108
mov eax, dword [ebx]
cmp dword [eax + 0x5c], 0
je 0x4b9108
mov eax, dword [ebx]
add eax, 0x5c
call fcn.0040fee4
mov eax, dword [ebp - 4]
mov ecx, 0xc
cdq
idiv ecx
test eax, eax
jne 0x4b9136
test esi, esi
je 0x4b9122
mov eax, esi
call fcn.00403e80
test edi, edi
je 0x4b939a
mov eax, edi
call fcn.00403e80
jmp 0x4b939a
cmp dword [ebx], 0
jne 0x4b9151
mov ecx, dword [0x724f40]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4b8168]
call fcn.004bc7d0
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 0x54], edx
mov eax, dword [ebx]
mov byte [eax + 0xb5], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xac], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x4b9188
cmp edi, eax
je 0x4b9188
mov eax, dword [ebx]
add eax, 0xc8
call fcn.0040fee4
mov eax, dword [ebx]
mov dword [eax + 0xc8], edi
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xa8], edx
mov eax, dword [ebx]
mov dword [eax + 0x5c], esi
mov eax, dword [ebx]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0xb4], dl
mov edx, 0xc
mov eax, dword [ebx]
call fcn.00497400
mov eax, dword [ebp - 4]
mov ecx, 0xc
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0xb0], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx]
mov dword [edx + 0x60], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx]
mov dword [edx + 0x64], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00407538
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x6c], edx
mov al, byte [ebp + 0x10]
mov edx, dword [ebx]
mov byte [edx + 0x72], al
mov eax, dword [ebx]
mov byte [eax + 0x70], 0
mov eax, dword [ebx]
mov byte [eax + 0x71], 0
mov eax, dword [ebx]
mov byte [eax + 0x73], 1
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0x58], eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [ebx]
add eax, 0x70
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0x68
push eax
mov eax, edi
call fcn.0042f954
call fcn.0042ac50
push eax
mov eax, dword [ebx]
add eax, 0x60
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
push eax
mov eax, esi
call fcn.0047cd04
push eax
mov eax, dword [0x724a20]
mov eax, dword [eax]
call eax
push 4
mov eax, esi
call fcn.0047cd04
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, esi
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4b92c1
or edi, 0xffffffff
jmp 0x4b92d2
push 3
mov eax, esi
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindow
mov edi, eax
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
push eax
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x40]
push eax
push edi
mov eax, esi
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
cmp dword [eax + 0xcc], 0
je 0x4b9310
mov eax, dword [ebx]
add eax, 0xcc
call fcn.0040fee4
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
call fcn.004f04f0
mov edx, dword [ebx]
mov dword [edx + 0xcc], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.004bc658
mov eax, dword [0x724f40]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4b9388
mov eax, dword [ebx]
push eax
push fcn.004bc860
mov eax, dword [ebx]
call fcn.00497428
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xac], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004bc860
mov dl, 1
mov eax, dword [ebx]
call fcn.004973f0
jmp 0x4b939a
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004bc860
push 0xc
call sub.kernel32.dll_Sleep
mov eax, dword [ebx]
mov eax, dword [eax + 0xac]
mov edx, dword [ebx]
cmp eax, dword [edx + 0xb0]
jle 0x4b9378
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc