Function at 0x405187
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0x1e
jg 0x4056f4
mov eax, 0x269975f
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004026b1
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4051c1
push ebx
call fcn.0041778d
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 0x2699e63
call fcn.004056fb
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4051f3
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405203
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x2699e77], eax
cmp dword [0x2699e77], 0
jle 0x4055e3
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 4], eax
mov eax, 0x2699777
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004026b1
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40524a
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.00401150
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 0x405277
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405287
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x40556e
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 0x14], eax
mov eax, 0x2699787
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004026b1
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4052c3
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call fcn.00401150
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 0x4052f0
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405300
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40556e
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 0x24], eax
mov eax, 0x269979f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004026b1
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40533c
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x24]
call fcn.00401150
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 0x405369
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405379
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x40556e
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 0x34], eax
mov eax, 0x26997af
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004026b1
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4053b5
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
call fcn.00401150
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 0x4053e2
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4053f2
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x40556e
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 0x44], eax
mov eax, 0x26997c7
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004026b1
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40542e
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x44]
call fcn.00401150
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 0x40545b
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40546b
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x40556e
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 0x54], eax
mov eax, 0x26997d7
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004026b1
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4054a7
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x54]
call fcn.00401150
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 0x4054d4
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4054e4
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x60], 0
je 0x40556e
push dword [0x2699e77]
call fcn.00406be4
mov dword [ebp - 0x64], eax
mov eax, 0x26997e7
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.004026b1
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x405520
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x64]
call fcn.00401150
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 0x40554d
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40555d
push ebx
call fcn.0041778d
add esp, 4
cmp dword [ebp - 0x70], 0
je 0x40556e
mov eax, 1
jmp 0x405573
mov eax, 0
test eax, eax
je 0x4055e3
mov dword [ebp - 4], esp
push 0
push dword [0x2699e77]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x4055af
push 0x3d1
push 0x4012f3a
push 6
call fcn.0041779f
add esp, 0xc
mov dword [ebp - 4], esp
push 0
push dword [0x2699e77]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
nop
nop
cmp dword [ebp - 4], esp
je 0x4055e3
push 0x3f4
push 0x4012f3a
push 6
call fcn.0041779f
add esp, 0xc
mov eax, 0x26997ff
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004026b1
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405607
push ebx
call fcn.0041778d
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 0x2699e63
call fcn.004056fb
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405639
push ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405649
push ebx
call fcn.0041778d
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x2699e77], eax
cmp dword [0x2699e77], 0
jle 0x4056c6
mov dword [ebp - 4], esp
push 0
push dword [0x2699e77]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x405692
push 0x4fc
push 0x4012f3a
push 6
call fcn.0041779f
add esp, 0xc
mov dword [ebp - 4], esp
push 0
push dword [0x2699e77]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
nop
nop
cmp dword [ebp - 4], esp
je 0x4056c6
push 0x51f
push 0x4012f3a
push 6
call fcn.0041779f
add esp, 0xc
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x2699e63
call fcn.00406ce9
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4056ee
jmp 0x4056f4
pop ecx
jmp 0x405192
add esp, 4
mov esp, ebp
pop ebp
ret