Function at 0x40c0f9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
dec esi
neg esi
sbb esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
and esi, 0xfffffffb
mov ebx, ecx
add esi, 5
push esi
push dword [ebx]
mov dword [ebp - 4], ebx
call edi
push esi
push dword [ebx + 0xac]
call edi
add ebx, 0x1c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0xc]
call fcn.00406d45
push ebx
push dword [ebx + 0x10]
jmp 0x40c178
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c16c
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c16c
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c13e
mov ebx, dword [ebp - 4]
add ebx, 0x34
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 0x10]
mov dword [ebp - 8], eax
jmp 0x40c1ee
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c1e2
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c1e2
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c1b4
mov ebx, dword [ebp - 4]
add ebx, 4
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 0x10]
mov dword [ebp - 8], eax
jmp 0x40c264
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c258
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c258
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c22a
mov ebx, dword [ebp - 4]
add ebx, 0x4c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 0x10]
mov dword [ebp - 8], eax
jmp 0x40c2da
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c2ce
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c2ce
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c2a0
mov ebx, dword [ebp - 4]
add ebx, 0x64
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 0x10]
mov dword [ebp - 8], eax
jmp 0x40c366
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c35a
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c35a
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
cmp dword [ebp + 8], 0
je 0x40c35a
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c316
mov ebx, dword [ebp - 4]
add ebx, 0x7c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 0x10]
mov dword [ebp - 8], eax
jmp 0x40c3dc
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c3d0
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c3d0
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c3a2
mov ebx, dword [ebp - 4]
add ebx, 0x94
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 0x10]
mov dword [ebp - 8], eax
jmp 0x40c455
lea ecx, [ebp - 0xc]
call fcn.004106ba
cmp dword [eax], 0
je 0x40c449
lea ecx, [ebp - 0xc]
call fcn.004106ba
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c449
lea ecx, [ebp - 0xc]
call fcn.004106ba
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c38
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406d45
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004170a5
test al, al
je 0x40c41b
pop edi
pop esi
pop ebx
leave
ret 4