Function at 0x4160f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a5b0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x56c3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x41638a
mov ebx, dword [ebp + 0xc]
mov esi, dword [edi + 0x28]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.00415950
mov dword [edi + 0x28], esi
test eax, eax
jne 0x4161a1
cmp ebx, 0x111
jne 0x416304
mov eax, dword [ebp + 0x10]
mov ecx, 0x3ea
movzx eax, ax
cmp cx, ax
jne 0x4161ba
mov eax, dword [edi + 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x56f7d4
call fcn.00406e00
call fcn.0041ffd0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3e8
cmp cx, ax
jne 0x41625f
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x10], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.confirm
mov dword [ebp - 4], 0
call fcn.0040fbc0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040b340
call fcn.0041ffd0
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
push dword [edi + 4]
call dword [eax + 0xc]
mov eax, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
call dword [eax]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x108], 4
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3e9
cmp cx, ax
jne 0x41638a
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x10], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.confirm
mov dword [ebp - 4], 1
call fcn.0040fbc0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040b340
call fcn.0041ffd0
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
push dword [edi + 4]
call dword [eax + 0xc]
mov eax, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
call dword [eax]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x108], 4
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x464
jne 0x41631b
cmp dword [ebp + 0x14], 0
jne 0x416198
jmp 0x416167
cmp ebx, 0x1400
jne 0x416364
cmp dword [edi + 0x108], 4
mov esi, dword [edi + 4]
jne 0x416332
mov esi, dword [edi + 0x7c]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x416348
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x416358
push 5
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x416198
cmp ebx, 0x10
jne 0x41638a
mov ecx, edi
mov dword [edi + 0x70], 1
call fcn.00414980
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0x70], 0
jne 0x4161a1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18