Function at 0x4059dd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x42b004]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x4309d4]
mov ecx, edi
mov dword [edi + 8], esi
call fcn.00404ad0
add esi, 0xfffffc16
cmp esi, 0x28
ja case.0x40579f.1006
movzx eax, byte [esi + 0x405bd8]
jmp dword [eax*4 + 0x405bb8]
mov eax, dword [0x430a00]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a0c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x4309d8]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a5c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x4309ec]
push 5
push dword [eax + 4]
mov byte [eax], 1
call esi
push 0x3ef
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x427ccc
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4309ec]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a0c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x4309d8]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a5c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a00]
push 5
push dword [eax + 4]
mov byte [eax], 1
call esi
push 0x3ef
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x42bf30
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4309ec]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a00]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x4309d8]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a5c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a0c]
push 5
push dword [eax + 4]
mov byte [eax], 1
call esi
push 0x3ef
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x42c030
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4309ec]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a00]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a0c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a5c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x4309d8]
push 5
push dword [eax + 4]
mov byte [eax], 1
call esi
push 0x3ef
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x42c130
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4309ec]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a00]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a0c]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x4309d8]
push 0
push dword [eax + 4]
mov byte [eax], 0
call esi
mov eax, dword [0x430a5c]
push 5
push dword [eax + 4]
mov byte [eax], 1
call esi
push 0x3ef
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x42c230
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x430ac0], 0
je case.0x40579f.1006
cmp byte [0x430a9c], 0
jne case.0x40579f.1006
push 0x34
push 0x427ccc
push 0x42dc30
push 0
mov byte [0x430a9c], 1
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x405b9c
mov eax, dword [0x430ac0]
mov dword [eax], 0x444c504d
mov byte [0x430a9c], 0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 8