Function at 0x7822b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x782878
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x782525
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x7d5f74], 0
je 0x78230d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782850
cmp dword [0x125a7dc], 0
jne 0x782323
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782850
mov eax, dword [0x7d7390]
cmp dword [eax], 0
jne 0x78233a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782850
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x40], 0
jne 0x782365
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
cmp byte [eax + 0x40], 0
jne 0x782365
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782850
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 2
jl 0x78237d
cmp dword [ebp - 8], 5
jg 0x78237d
mov eax, dword [ebp - 8]
call fcn.007b7000
mov eax, dword [0x7d7390]
mov eax, dword [eax]
cmp dword [eax + 0x44c], 0
jne 0x78239a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782850
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x78242f
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov al, byte [eax + 0x57]
mov byte [ebp - 0xb], al
cmp dword [ebp - 8], 2
jne 0x7823ca
mov byte [ebp - 0xb], 0
mov eax, dword [0x7d6d7c]
cmp dword [eax], 0
je 0x7823ed
mov eax, dword [0x7d6d7c]
mov eax, dword [eax]
mov al, byte [eax + 0x57]
mov byte [ebp - 0xc], al
cmp dword [ebp - 8], 3
jne 0x7823f1
mov byte [ebp - 0xc], 0
jmp 0x7823f1
mov byte [ebp - 0xc], 0
mov eax, dword [0x7d70c8]
cmp dword [eax], 0
je 0x782414
mov eax, dword [0x7d70c8]
mov eax, dword [eax]
mov al, byte [eax + 0x57]
mov byte [ebp - 0xa], al
cmp dword [ebp - 8], 5
jne 0x782418
mov byte [ebp - 0xa], 0
jmp 0x782418
mov byte [ebp - 0xa], 0
mov al, byte [ebp - 0xb]
or al, byte [ebp - 0xc]
jne 0x78242a
cmp byte [ebp - 0xa], 0
jne 0x78242a
xor eax, eax
jmp 0x78242c
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
push ebp
push 0x78247c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
jne 0x782472
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x782472
cmp byte [0x7d5ed8], 0
jne 0x782472
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x782472
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782486
cmp byte [ebp - 9], 0
je 0x7824d2
push 0
mov eax, dword [0x7d6e98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov eax, dword [eax + 0x121c]
push eax
push 0xffffffffffffffec
mov eax, dword [0x7d6e98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x7d6e98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x78251b
push 0
mov eax, dword [0x7d6e98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov eax, dword [eax + 0x121c]
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x7d6e98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x7d6e98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x78259d
xor eax, eax
push ebp
push 0x7827d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x125a7dc], 0
je 0x78267b
mov eax, dword [0x125a7dc]
cmp byte [eax + 0x57], 0
je 0x782640
cmp byte [0x7d5ed8], 0
jne 0x782606
push 1
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [0x125a7dc]
call fcn.0047e9dc
push eax
call sub.user32.dll_SetWindowPos
jmp 0x78267b
push 1
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x40]
push eax
push 0xffffffffffffffff
mov eax, dword [0x125a7dc]
call fcn.0047e9dc
push eax
call sub.user32.dll_SetWindowPos
jmp 0x78267b
push 0x80
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x125a7dc]
mov eax, dword [eax + 0x40]
push eax
push 1
mov eax, dword [0x125a7dc]
call fcn.0047e9dc
push eax
call sub.user32.dll_SetWindowPos
call fcn.007b7074
sub eax, 2
je 0x782696
dec eax
je 0x7826e0
sub eax, 2
je 0x782734
jmp 0x782776
mov eax, dword [0x7d7390]
cmp dword [eax], 0
je 0x7826d1
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x7826d1
mov eax, dword [0x7d7390]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x7826d1
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp 0x782776
mov eax, 2
call fcn.007b7000
jmp 0x782776
mov eax, dword [0x7d6d7c]
cmp dword [eax], 0
je 0x782728
mov eax, dword [0x7d6d7c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x782728
mov eax, dword [0x7d6d7c]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x782728
mov eax, dword [0x7d6b60]
mov byte [eax], 1
mov eax, dword [0x7d6d7c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xc4]
mov eax, dword [0x7d6b60]
mov byte [eax], 0
jmp 0x782776
mov eax, 3
call fcn.007b7000
jmp 0x782776
mov eax, dword [0x7d70c8]
cmp dword [eax], 0
je 0x78276c
mov eax, dword [0x7d70c8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x78276c
mov eax, dword [0x7d70c8]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x78276c
mov eax, dword [0x7d70c8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp 0x782776
mov eax, 5
call fcn.007b7000
mov eax, dword [0x7d6978]
mov eax, dword [eax]
mov edx, 0x7828a8
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x7827ce
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x7827c4
mov eax, dword [0x7d7390]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x7827c4
mov eax, dword [0x7d7390]
mov eax, dword [eax]
call fcn.004782b8
mov eax, dword [0x7d7390]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp 0x7827ce
mov eax, 2
call fcn.007b7000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x782850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78287f
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040529c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040529c
ret