Function at 0x40a230
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.00409e75
push ebx
push dword [ebx + 0x10]
jmp 0x40a2af
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a2a3
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a2a3
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a275
mov ebx, dword [ebp - 4]
add ebx, 0x34
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
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 0x40a325
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a319
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a319
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a2eb
mov ebx, dword [ebp - 4]
add ebx, 4
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
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 0x40a39b
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a38f
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a38f
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a361
mov ebx, dword [ebp - 4]
add ebx, 0x4c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
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 0x40a411
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a405
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a405
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a3d7
mov ebx, dword [ebp - 4]
add ebx, 0x64
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
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 0x40a49d
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a491
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a491
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
cmp dword [ebp + 8], 0
je 0x40a491
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a44d
mov ebx, dword [ebp - 4]
add ebx, 0x7c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
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 0x40a513
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a507
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a507
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a4d9
mov ebx, dword [ebp - 4]
add ebx, 0x94
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
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 0x40a58c
lea ecx, [ebp - 0xc]
call fcn.00408938
cmp dword [eax], 0
je 0x40a580
lea ecx, [ebp - 0xc]
call fcn.00408938
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a580
lea ecx, [ebp - 0xc]
call fcn.00408938
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.0041280b
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00409e75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401454
test al, al
je 0x40a552
pop edi
pop esi
pop ebx
leave
ret 4