Function at 0x40827d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0x1e
jg 0x4087ea
mov eax, 0x2c25ce8
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403ec6
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4082b7
push ebx
call fcn.0041929c
add esp, 4
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0x2c263ca
call fcn.004087f1
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4082e9
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4082f9
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x2c263da], eax
cmp dword [0x2c263da], 0
jle 0x4086d9
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 4], eax
mov eax, 0x2c25d00
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00403ec6
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408340
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40836d
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40837d
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x408664
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 0x14], eax
mov eax, 0x2c25d10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403ec6
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4083b9
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4083e6
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4083f6
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x408664
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 0x24], eax
mov eax, 0x2c25d28
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403ec6
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408432
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x24]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40845f
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40846f
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x408664
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 0x34], eax
mov eax, 0x2c25d38
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403ec6
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4084ab
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4084d8
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4084e8
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x408664
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 0x44], eax
mov eax, 0x2c25d50
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00403ec6
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x408524
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x44]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x408551
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x408561
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x408664
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 0x54], eax
mov eax, 0x2c25d60
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00403ec6
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40859d
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x54]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4085ca
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4085da
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x60], 0
je 0x408664
push dword [0x2c263da]
call fcn.00409cda
mov dword [ebp - 0x64], eax
mov eax, 0x2c25d70
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00403ec6
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x408616
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x64]
call fcn.00402655
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x408643
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x408653
push ebx
call fcn.0041929c
add esp, 4
cmp dword [ebp - 0x70], 0
je 0x408664
mov eax, 1
jmp 0x408669
mov eax, 0
test eax, eax
je 0x4086d9
mov dword [ebp - 4], esp
push 0
push dword [0x2c263da]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x4086a5
push 0x3d1
push 0x4012f3a
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 4], esp
push 0
push dword [0x2c263da]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
nop
nop
cmp dword [ebp - 4], esp
je 0x4086d9
push 0x3f4
push 0x4012f3a
push 6
call fcn.004192a8
add esp, 0xc
mov eax, 0x2c25d88
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403ec6
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4086fd
push ebx
call fcn.0041929c
add esp, 4
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0x2c263ca
call fcn.004087f1
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40872f
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40873f
push ebx
call fcn.0041929c
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x2c263da], eax
cmp dword [0x2c263da], 0
jle 0x4087bc
mov dword [ebp - 4], esp
push 0
push dword [0x2c263da]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x408788
push 0x4fc
push 0x4012f3a
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 4], esp
push 0
push dword [0x2c263da]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
nop
nop
cmp dword [ebp - 4], esp
je 0x4087bc
push 0x51f
push 0x4012f3a
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x2c263ca
call fcn.00409ddf
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4087e4
jmp 0x4087ea
pop ecx
jmp 0x408288
add esp, 4
mov esp, ebp
pop ebp
ret