Function at 0x6f9a4c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x280], 0
je 0x6fa39f
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x6fa39f
mov byte [0x801a04], 1
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
test eax, eax
je 0x6f9ae5
cmp dword [eax + 0x2c], 0
jne 0x6f9aab
call fcn.007859ec
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x78], eax
push 0
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x6f9ad5
call fcn.006fde70
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
call fcn.00785294
jmp 0x6f9b06
mov eax, dword [ebp - 0x64]
call fcn.0076d570
push 0
mov ecx, dword [0x802ef8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x757dac]
call fcn.005c9810
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x280]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
je 0x6fa39f
mov eax, ebx
call fcn.0070cef8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x2f0], 0
jne 0x6f9b39
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x4c], 0
jne 0x6f9b45
mov eax, dword [ebp - 0x64]
call fcn.00770d00
test al, al
je 0x6f9b65
push 0
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x2c]
call fcn.0072f938
lea edx, [ebp - 0x98]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.00654bb8
mov eax, dword [ebp - 0x2c]
call fcn.004efc64
call fcn.004e8e8c
push 0
mov eax, dword [ebp - 0x64]
push eax
push 0
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x2dc]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.006f894c
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x2f0], 0
jne 0x6f9bd4
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x4c], 0
je 0x6f9baf
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
call fcn.00770074
jmp 0x6f9bd4
push 0x1fffffff
push 0
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x2c]
call fcn.0072f938
lea edx, [ebp - 0x98]
mov cl, 0xff
mov eax, dword [ebp - 0x2c]
call fcn.00654e60
cmp dword [ebp - 0x2c], 0
je 0x6fa39f
mov eax, dword [ebp - 0x2c]
call fcn.004efc64
call fcn.004e8f68
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x2c]
call fcn.0072f9fc
movzx eax, si
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x68], 0x718
cmp dword [ebp - 0x10], 0
jle 0x6f9c1e
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.0073029c
jmp 0x6f9c2a
movzx edx, byte [ebp - 0xc]
lea eax, [ebp - 0x5c]
call fcn.0073029c
xor esi, esi
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x2f0], 0
je 0x6f9d40
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.00513458
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x6f9c8a
mov dl, 1
mov eax, dword [ebp - 0x64]
call fcn.00767514
mov ebx, eax
xor edx, edx
mov eax, dword [ebp - 0x64]
call fcn.00764394
add eax, 4
cmp ebx, eax
jl 0x6f9c8e
xor ebx, ebx
jmp 0x6f9c90
mov bl, 1
mov eax, dword [ebp - 0x64]
mov byte [eax + 0xf4], bl
test bl, bl
je 0x6f9ce5
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov edx, dword [ebp - 0x64]
mov edx, dword [edx + 0x2f0]
xor ecx, ecx
call fcn.00764270
mov esi, eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x64]
call fcn.0077338c
mov ebx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
call fcn.007644ac
add ebx, eax
add esi, ebx
jmp 0x6f9cf5
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
call fcn.0078505c
mov esi, eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov edx, dword [ebp - 0x64]
mov edx, dword [edx + 0x2f0]
xor ecx, ecx
call fcn.00764270
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
call fcn.00764488
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x64]
call fcn.0077338c
add ebx, dword [ebp - 0x98]
mov dword [ebp - 0x74], ebx
jmp 0x6f9d74
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x64]
call fcn.0076552c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x258]
mov edx, dword [ebp - 0x2c]
call fcn.006f9198
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
or eax, 0x8000000
push eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
pop ecx
call fcn.00413438
test eax, eax
jne 0x6f9da8
call fcn.006fde70
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
test al, 8
je 0x6f9e1b
mov dl, 3
mov eax, dword [ebp - 0x78]
call fcn.005cbcfc
xor edx, edx
mov eax, dword [ebp - 0x78]
call fcn.00513204
xor edx, edx
mov eax, dword [ebp - 0x78]
call fcn.00513238
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
or eax, 0x80000
push eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
pop ecx
call fcn.00413438
test eax, eax
jne 0x6f9e16
call fcn.006fde70
or ebx, 0xffffffff
jmp 0x6f9e47
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
test byte [eax + 0x3cc], 8
je 0x6f9e37
mov dl, 3
mov eax, dword [ebp - 0x78]
call fcn.005cbcfc
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov ebx, eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
test eax, 0x80000
jne 0x6f9e94
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
or eax, 0x80000
push eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
mov edx, 0xffffffec
pop ecx
call fcn.00413438
test eax, eax
jne 0x6f9e94
call fcn.006fde70
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x2c]
call fcn.00701340
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x84]
sub ecx, esi
mov edx, dword [ebp - 0x88]
sub edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
mov edi, dword [eax]
call dword [edi + 0xc8]
push 0x65b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x6f9f01
call fcn.006fde70
push 4
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x78]
call fcn.005ca3e4
push eax
mov eax, dword [ebp - 0x78]
call fcn.005ca3c4
push eax
push ebx
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x6f9f47
call fcn.006fde70
lea eax, [ebp - 0x70]
call fcn.0070ceec
mov dword [ebp - 0x60], eax
push 0
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x60]
call fcn.0072f938
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x60]
call fcn.004efc64
call fcn.004e9e78
xor ecx, ecx
pop edx
call fcn.00706258
push 3
mov eax, dword [ebp - 0x60]
call fcn.004efc64
call fcn.004e9e78
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x6f9ff8
push ebp
call fcn.006f93ac
pop ecx
xor ebx, ebx
cmp ebx, dword [ebp - 0x10]
jg 0x6f9ff1
push ebp
call fcn.006f95c0
pop ecx
call sub.kernel32.dll_GetTickCount
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x60]
call fcn.00701340
push ebp
call fcn.006f9878
pop ecx
test al, al
je 0x6f9ff1
inc ebx
cmp dword [ebp - 0x10], 0
jle 0x6f9fec
mov edx, 0xc
mov eax, edi
call fcn.00730250
cmp ebx, dword [ebp - 0x10]
jle 0x6f9fa7
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x5a], al
mov eax, dword [ebp - 0x68]
or eax, 4
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x84]
sub eax, esi
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x74]
push eax
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x6fa033
call fcn.006fde70
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x2c]
call fcn.00701340
lea eax, [ebp - 0x60]
call fcn.00429de8
cmp dword [ebp - 0x64], 0
je 0x6fa39f
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x2d9], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
xor ecx, ecx
mov dl, 1
call fcn.006fadc0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x801a10]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_ShowWindow
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x6fa0de
call fcn.006fde70
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x2f0], 0
je 0x6fa0f6
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0x64]
call fcn.0076587c
mov eax, dword [0x8030ac]
cmp byte [eax], 0
je 0x6fa129
call fcn.00789ae4
test al, al
jne 0x6fa129
call fcn.0072f08c
test al, al
je 0x6fa129
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
xor ecx, ecx
xor edx, edx
call fcn.007628a0
mov ebx, eax
jmp 0x6fa12b
xor ebx, ebx
push ebp
call fcn.006f9994
pop ecx
mov byte [0x801a04], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
test eax, eax
je 0x6fa14a
mov byte [eax + 0x26], 1
mov eax, dword [0x8030ac]
cmp byte [eax], 0
je 0x6fa172
call fcn.00789ae4
test al, al
je 0x6fa172
push 0
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
xor ecx, ecx
xor edx, edx
call fcn.007628a0
mov ebx, eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov edx, eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x280]
call fcn.006f91cc
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x280]
cmp byte [eax + 0x35], 0
jne 0x6fa1ad
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.006fc0e4
call fcn.00428400
cmp eax, 6
jne 0x6fa200
call fcn.00428414
test eax, eax
jne 0x6fa200
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov edx, 0xfffffff0
call fcn.00413114
or eax, 0x10000000
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
mov edx, 0xfffffff0
pop ecx
call fcn.00413438
test eax, eax
jne 0x6fa200
call fcn.006fde70
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x2f0], 0
je 0x6fa218
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0x64]
call fcn.0076587c
push 0x585
push 0
push 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_RedrawWindow
test eax, eax
jne 0x6fa23e
call fcn.006fde70
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
test eax, eax
je 0x6fa27b
mov byte [eax + 0x26], 0
push 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
xor edx, edx
call fcn.007857a4
push eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x6fa27b
call fcn.006fde70
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xa4]
cmp byte [eax + 8], 0
je 0x6fa29f
mov ecx, 0x6f936c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
xor edx, edx
call fcn.006f8424
lea eax, [ebp - 0x2c]
call fcn.00429de8
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2dc]
call fcn.0051cd60
push eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x6fa2da
call fcn.006fde70
test ebx, ebx
je 0x6fa2ec
push 0x14
call sub.kernel32.dll_Sleep
mov eax, ebx
call fcn.00406ad8
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x2f0], 0
jne 0x6fa302
lea eax, [ebp - 0x78]
call fcn.00429de8
jmp 0x6fa381
push ebp
call fcn.006f9994
pop ecx
push 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
xor edx, edx
call fcn.007857a4
push eax
mov eax, dword [ebp - 0x78]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x6fa335
call fcn.006fde70
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x280]
call fcn.00751b1c
cmp byte [eax + 0xa199], 0
je 0x6fa381
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x280]
call fcn.00751b1c
mov eax, dword [eax + 0x90]
cmp byte [eax + 6], 0
je 0x6fa381
call fcn.0076460c
test al, al
je 0x6fa381
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x2f0]
mov cl, 0xff
mov dl, 1
call fcn.007843a8
mov eax, dword [ebp - 0x64]
cmp word [eax + 0xd2], 0
je 0x6fa39f
mov ebx, dword [ebp - 0x64]
xor edx, edx
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4