Function at 0x408c8f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, dword [ebp + 0xc]
dec esi
neg esi
sbb esi, esi
push edi
mov edi, dword [ebp + 8]
and esi, 0xfffffffb
add esi, 5
push esi
push dword [edi]
mov dword [ebp - 4], esi
call ebx
push esi
push dword [edi + 0xac]
call ebx
mov ebx, dword [edi + 0x28]
add edi, 0x1c
lea esi, [ebp - 0x10]
mov dword [ebp - 8], edi
call fcn.0040bf3e
jmp 0x408d0c
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408d01
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408d01
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp - 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408cd3
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x40]
add edi, 0x34
lea esi, [ebp - 0x18]
mov dword [ebp - 8], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x408d80
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408d75
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408d75
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp - 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408d47
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
add edi, 4
lea esi, [ebp - 0x18]
mov dword [ebp - 8], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x408df4
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408de9
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408de9
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp - 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408dbb
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x58]
add edi, 0x4c
lea esi, [ebp - 0x18]
mov dword [ebp - 8], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x408e68
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408e5d
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408e5d
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp - 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408e2f
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x70]
add edi, 0x64
lea esi, [ebp - 0x18]
mov dword [ebp - 8], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x408eef
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408ee4
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408ee4
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
je 0x408ee4
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp - 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408ea3
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x88]
add edi, 0x7c
lea esi, [ebp - 0x18]
mov dword [ebp + 0xc], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x408f66
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408f5b
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408f5b
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408f2d
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xa0]
add edi, 0x94
lea esi, [ebp - 0x18]
mov dword [ebp + 8], edi
call fcn.0040bf3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x408fe0
lea esi, [ebp - 0x10]
call fcn.0040ab3f
cmp dword [eax], 0
je 0x408fd5
call fcn.0040ab3f
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408fd5
call fcn.0040ab3f
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebp - 0x10]
call fcn.004075aa
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x18]
call fcn.0040bf3e
mov edi, esi
lea esi, [ebp - 0x10]
call fcn.004072fc
test al, al
jne 0x408fa7
pop edi
pop esi
pop ebx
leave
ret 8