Function at 0x6f2bb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc0
mov ebx, eax
cmp byte [ebx + 0x57], 0
je 0x6f3050
mov eax, ebx
call fcn.006f2840
test al, al
jne 0x6f3050
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x2c6], 1
je 0x6f3050
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x20d], 0
je 0x6f3050
cmp dword [ebx + 0x29c], 0
je 0x6f2c14
mov eax, dword [ebx + 0x26c]
cmp dword [eax + 0x2e0], 0
je 0x6f3050
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x2ca], 1
jne 0x6f2c41
mov eax, dword [0x7a961c]
cmp dword [eax], 0
je 0x6f2c41
mov eax, dword [0x7a961c]
mov eax, dword [eax]
cmp dword [eax + 0xe4], 0
jg 0x6f3050
test byte [ebx + 0x27c], 0x80
jne 0x6f3050
cmp dword [ebx + 0x270], 0
jne 0x6f2cdf
push 0
mov ecx, dword [0x7a94d8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x66426c]
call fcn.00610808
mov esi, eax
mov dword [ebx + 0x270], esi
test esi, esi
je 0x6f3050
mov eax, esi
call fcn.00538a50
mov eax, dword [ebx + 0x270]
call fcn.00538e48
test al, al
jne 0x6f2ca7
lea eax, [ebx + 0x270]
call fcn.0042e3d4
jmp 0x6f3050
mov eax, dword [ebx + 0x270]
mov dword [eax + 0x35c], ebx
mov dword [eax + 0x358], 0x6fd630
mov edx, dword [eax + 0x48]
mov dword [ebx + 0x2a0], edx
mov edx, dword [eax + 0x4c]
mov dword [ebx + 0x2a4], edx
mov eax, dword [ebx + 0x270]
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x48], 0x6fd7d4
cmp dword [ebx + 0x29c], 0
je 0x6f2d92
mov eax, ebx
call fcn.006fc3bc
mov esi, eax
mov eax, ebx
call fcn.006fbd80
imul esi, eax
inc esi
mov eax, dword [ebx + 0x26c]
call fcn.00611268
mov edi, eax
mov eax, ebx
call fcn.006fbc8c
add edi, eax
sub edi, esi
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.006fee80
sub edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x29c]
call fcn.006f2584
sub edi, eax
mov eax, dword [ebx + 0x26c]
call fcn.00538a74
mov edx, dword [ebx + 0x29c]
xor ecx, ecx
call fcn.006f23b0
mov ebp, eax
mov eax, dword [ebx + 0x26c]
call fcn.00611248
add ebp, eax
mov dword [esp + 0x10], ebp
mov ebp, dword [ebx + 0x26c]
mov eax, ebp
call fcn.00538a74
mov edx, dword [ebx + 0x29c]
xor ecx, ecx
call fcn.006f23b0
add eax, eax
mov edx, dword [ebp + 0x58]
sub edx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x6f2eea
inc esi
jmp 0x6f2eea
mov eax, dword [ebx + 0x26c]
mov esi, dword [eax + 0x5c]
call fcn.00611268
mov edi, eax
mov eax, dword [ebx + 0x26c]
call fcn.00611248
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x26c]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x14], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.006f34a4
mov ebp, eax
mov eax, dword [ebx + 0x26c]
call fcn.00538a74
lea edx, [esp + 0x18]
call fcn.006bea30
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [esp + 0xc], eax
push 4
mov eax, dword [esp + 0x10]
push eax
push ebp
push ebp
call sub.gdi32.dll_CombineRgn
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebx + 0x26c]
cmp dword [eax + 0x40], 0
jne 0x6f2e33
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x2ca], 1
jne 0x6f2ed6
mov eax, dword [ebx + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_GetDC
mov dword [esp], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6f2e7e
lea eax, [ebx + 0x270]
call fcn.0042e3d4
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_ReleaseDC
jmp 0x6f3050
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp edx, eax
jle 0x6f2ec1
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x6f2ec1
mov ecx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [esp + 0xc], eax
push 1
mov eax, dword [esp + 0x10]
push eax
push ebp
push ebp
call sub.gdi32.dll_CombineRgn
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_ReleaseDC
push 0
push ebp
mov eax, dword [ebx + 0x270]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [esp + 0x14]
push eax
push esi
mov eax, dword [ebx + 0x270]
mov ecx, edi
mov edx, dword [esp + 0x18]
mov ebp, dword [eax]
call dword [ebp + 0xbc]
mov ebp, dword [ebx + 0x26c]
cmp byte [ebp + 0x2ca], 1
jne 0x6f2fc4
mov eax, dword [0x7a961c]
cmp dword [eax], 0
je 0x6f2f8e
mov eax, dword [0x7a961c]
mov eax, dword [eax]
mov eax, dword [eax + 0x26c]
mov cl, 1
mov dl, 1
call fcn.006bebac
mov esi, eax
mov eax, dword [ebx + 0x26c]
call fcn.00611268
add esi, eax
push esi
mov eax, dword [0x7a961c]
mov eax, dword [eax]
mov eax, dword [eax + 0x26c]
mov cl, 1
mov dl, 3
call fcn.006bebac
mov esi, eax
mov eax, ebp
call fcn.00611248
add esi, eax
mov eax, esi
lea ecx, [esp + 0x3c]
pop edx
call fcn.004133d4
lea edx, [esp + 0x38]
lea ecx, [esp + 4]
mov eax, dword [0x7a961c]
mov eax, dword [eax]
mov eax, dword [eax + 0x26c]
call fcn.0052ef20
push 0x658
mov eax, ebx
call fcn.006fc20c
push eax
mov eax, dword [ebx + 0x26c]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push 0
mov eax, dword [ebx + 0x270]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
jmp 0x6f3023
mov eax, ebp
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
test al, 8
je 0x6f2fff
push 0x658
push esi
mov eax, dword [esp + 0x1c]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x270]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
jmp 0x6f3023
push 0x658
push esi
mov eax, dword [esp + 0x1c]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x270]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x270]
call fcn.00538a74
push eax
call sub.user32.dll_ShowWindow
push 0x521
push 0
push 0
mov eax, dword [ebx + 0x270]
call fcn.00538a74
push eax
call sub.user32.dll_RedrawWindow
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret