Function at 0x40c383
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.00406c18
push ebx
push dword [ebx + 0x10]
jmp 0x40c402
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c3f6
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c3f6
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c3c8
mov ebx, dword [ebp - 4]
add ebx, 0x34
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406c18
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 0x40c478
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c46c
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c46c
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c43e
mov ebx, dword [ebp - 4]
add ebx, 4
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406c18
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 0x40c4ee
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c4e2
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c4e2
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c4b4
mov ebx, dword [ebp - 4]
add ebx, 0x4c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406c18
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 0x40c564
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c558
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c558
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c52a
mov ebx, dword [ebp - 4]
add ebx, 0x64
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406c18
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 0x40c5f0
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c5e4
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c5e4
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
cmp dword [ebp + 8], 0
je 0x40c5e4
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c5a0
mov ebx, dword [ebp - 4]
add ebx, 0x7c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406c18
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 0x40c666
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c65a
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c65a
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c62c
mov ebx, dword [ebp - 4]
add ebx, 0x94
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406c18
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 0x40c6df
lea ecx, [ebp - 0xc]
call fcn.004135b8
cmp dword [eax], 0
je 0x40c6d3
lea ecx, [ebp - 0xc]
call fcn.004135b8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c6d3
lea ecx, [ebp - 0xc]
call fcn.004135b8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.00408c69
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00406c18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004135e4
test al, al
je 0x40c6a5
pop edi
pop esi
pop ebx
leave
ret 4