Function at 0x6ba150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x254], 0
je 0x6ba957
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x6ba957
mov byte [0x7a85a0], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
test eax, eax
je 0x6ba1e0
cmp dword [eax + 0x28], 0
jne 0x6ba1af
call fcn.0070f6a0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x6c], eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
call fcn.0070ef58
jmp 0x6ba201
mov eax, dword [ebp - 0x5c]
call fcn.006f99b4
push 0
mov ecx, dword [0x7a94d8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x66426c]
call fcn.00610808
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x254]
mov esi, dword [eax + 0x50]
test esi, esi
je 0x6ba957
mov eax, esi
call fcn.0071e208
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
call fcn.00509d18
call fcn.005032d8
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x26c]
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
call fcn.006b9720
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x29c], 0
jne 0x6ba274
push 0x1fffffff
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x3c]
call fcn.007136cc
lea edx, [ebp - 0x9c]
mov cl, 0xff
mov eax, dword [ebp - 0x3c]
call fcn.00668888
cmp dword [ebp - 0x3c], 0
je 0x6ba957
mov eax, dword [ebp - 0x3c]
call fcn.00509d18
call fcn.005033e0
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
call fcn.00713734
movzx eax, bx
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x718
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.00713780
cmp dword [ebp - 0x10], 0
jle 0x6ba2ca
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00713dd8
jmp 0x6ba2d6
movzx edx, byte [ebp - 0xc]
lea eax, [ebp - 0x54]
call fcn.00713dd8
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x29c], 0
je 0x6ba3f7
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.0052edac
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x6ba33d
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.006f448c
mov ebx, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.006f2490
add eax, 4
cmp ebx, eax
jl 0x6ba341
xor ebx, ebx
jmp 0x6ba343
mov bl, 1
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0xdb], bl
test bl, bl
je 0x6ba39b
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x29c]
xor ecx, ecx
call fcn.006f23b0
mov ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.006fee80
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
call fcn.006f2584
add esi, eax
add ebx, esi
mov dword [ebp - 0x78], ebx
jmp 0x6ba3ac
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
call fcn.0070ed78
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x29c]
xor ecx, ecx
call fcn.006f23b0
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
call fcn.006f2558
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.006fee80
add ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], ebx
jmp 0x6ba42b
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x5c]
call fcn.006f3084
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0x3c]
call fcn.006b9b34
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
or eax, 0x8000000
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
pop ecx
call fcn.00416810
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
test al, 8
je 0x6ba4c0
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.00612b44
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.0052eb4c
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.0052eb84
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
or eax, 0x80000
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
pop ecx
call fcn.00416810
or esi, 0xffffffff
jmp 0x6ba4ec
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
test byte [eax + 0x3c4], 8
je 0x6ba4dc
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.00612b44
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
mov esi, eax
push 0
call sub.user32.dll_GetDC
mov ebx, eax
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
test eax, 0x80000
jne 0x6ba539
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
or eax, 0x80000
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
mov edx, 0xffffffec
pop ecx
call fcn.00416810
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00509d18
call fcn.005042cc
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
mov eax, dword [0x7a8fd4]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax]
call dword [edi + 0xbc]
push 0x65b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00611268
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00611248
push eax
push esi
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x68]
call fcn.0071e1fc
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x58]
call fcn.007136cc
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00509d18
call fcn.005042cc
xor ecx, ecx
pop edx
call fcn.00719588
push 3
mov eax, dword [ebp - 0x58]
call fcn.00509d18
call fcn.005042cc
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x6ba6c0
push ebp
call fcn.006b9b68
pop ecx
xor esi, esi
cmp esi, dword [ebp - 0x10]
jg 0x6ba6b9
push ebp
call fcn.006b9d20
pop ecx
call sub.KERNEL32.DLL_GetTickCount_1
mov edi, eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00509d18
call fcn.005042cc
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
mov eax, dword [0x7a8fd4]
mov eax, dword [eax]
call eax
push ebp
call fcn.006b9fc4
pop ecx
inc esi
cmp dword [ebp - 0x10], 0
jle 0x6ba6b4
mov edx, 0xc
mov eax, edi
call fcn.00713da4
cmp esi, dword [ebp - 0x10]
jle 0x6ba656
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x60]
or eax, 4
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x7c]
push eax
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00509d18
call fcn.005042cc
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
mov eax, dword [0x7a8fd4]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
call fcn.0042e3d4
push ebx
push 0
call sub.user32.dll_ReleaseDC
cmp dword [ebp - 0x5c], 0
je 0x6ba957
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0x266], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
xor ecx, ecx
mov dl, 1
call fcn.006bb34c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
movzx eax, byte [eax + 0x2c6]
mov eax, dword [eax*4 + 0x7a85ac]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_ShowWindow
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
push ebp
call fcn.006ba0b0
pop ecx
mov byte [0x7a85a0], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
test eax, eax
je 0x6ba7d9
mov byte [eax + 0x24], 1
mov eax, dword [0x7a9160]
cmp dword [eax], 6
jne 0x6ba824
mov eax, dword [0x7a95bc]
cmp dword [eax], 0
jne 0x6ba824
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
mov edx, 0xfffffff0
call fcn.0041652c
or eax, 0x10000000
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
mov edx, 0xfffffff0
pop ecx
call fcn.00416810
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x29c], 0
je 0x6ba83c
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.006f31f0
push 0x585
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
test eax, eax
je 0x6ba86a
mov byte [eax + 0x24], 0
lea eax, [ebp - 0x3c]
call fcn.0042e3d4
call fcn.006f26e4
test al, al
je 0x6ba882
push 0x18
call sub.KERNEL32.DLL_Sleep_1
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x29c], 0
jne 0x6ba8c2
lea eax, [ebp - 0x6c]
call fcn.0042e3d4
jmp 0x6ba939
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
xor ecx, ecx
xor edx, edx
call fcn.0070f458
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x254]
call fcn.006e4068
mov eax, dword [eax + 0x78a4]
cmp byte [eax + 5], 0
jne 0x6ba920
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x254]
call fcn.006e4068
cmp dword [eax + 0x78c0], 0
jle 0x6ba932
mov eax, dword [0x7a9040]
cmp dword [eax], 7
jle 0x6ba932
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x29c]
mov cl, 0xff
mov dl, 1
call fcn.0070e16c
push ebp
call fcn.006ba0b0
pop ecx
mov eax, dword [ebp - 0x5c]
cmp word [eax + 0xba], 0
je 0x6ba957
mov ebx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4