Function at 0x40a0ad
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.00407106
push ebx
push dword [ebx + 0x10]
jmp 0x40a12c
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a120
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a120
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a0f2
mov ebx, dword [ebp - 4]
add ebx, 0x34
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00407106
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 0x40a1a2
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a196
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a196
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a168
mov ebx, dword [ebp - 4]
add ebx, 4
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00407106
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 0x40a218
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a20c
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a20c
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a1de
mov ebx, dword [ebp - 4]
add ebx, 0x4c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00407106
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 0x40a28e
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a282
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a282
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a254
mov ebx, dword [ebp - 4]
add ebx, 0x64
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00407106
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 0x40a31a
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a30e
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a30e
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
cmp dword [ebp + 8], 0
je 0x40a30e
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a2ca
mov ebx, dword [ebp - 4]
add ebx, 0x7c
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00407106
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 0x40a390
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a384
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a384
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a356
mov ebx, dword [ebp - 4]
add ebx, 0x94
push ebx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00407106
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 0x40a409
lea ecx, [ebp - 0xc]
call fcn.004127d8
cmp dword [eax], 0
je 0x40a3fd
lea ecx, [ebp - 0xc]
call fcn.004127d8
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a3fd
lea ecx, [ebp - 0xc]
call fcn.004127d8
push esi
push dword [eax]
call edi
lea ecx, [ebp - 0xc]
call fcn.004070b4
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00407106
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406828
test al, al
je 0x40a3cf
pop edi
pop esi
pop ebx
leave
ret 4