Function at 0x406170
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc6c
dec eax
push esi
cmp eax, 9
push edi
ja case.default.0x406186
jmp dword [eax*4 + 0x406858]
mov ecx, dword [esp + 0xc7c]
mov edx, dword [0x413e24]
push 0
push 0x4024a0
push ecx
push 0x84
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [esp + 0xc7c]
push 0
push 0x3e9
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [0x4139ec]
test eax, eax
je 0x406287
mov ecx, dword [esp + 0xc7c]
mov edx, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push 0x402740
push ecx
push 0x85
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x40622c
push 0
push str.SEVERE
push str.FAILED_TO_CREATE_DIALOG
push 0
call edi
mov eax, dword [0x413e24]
push 0
push 0x402740
push 0
push 0x85
push eax
call esi
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x70
push esi
call fcn.00405f70
add esp, 8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.Press_ENTER
push 0x4135b4
push 0
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov ecx, dword [esp + 0xc7c]
push 0x70
push ecx
call fcn.00405f70
mov eax, dword [esp + 0x10]
add esp, 8
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [0x4139ec]
test eax, eax
je 0x40634b
mov edx, dword [esp + 0xc7c]
mov eax, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push 0x402740
push edx
push 0x85
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x4062ef
push 0
push str.SEVERE
push str.FAILED_TO_CREATE_DIALOG
push 0
call edi
mov ecx, dword [0x413e24]
push 0
push 0x402740
push 0
push 0x85
push ecx
call esi
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x71
push esi
call fcn.00405f70
add esp, 8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.Press_ENTER
push 0x4135b4
push 0
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov edx, dword [esp + 0xc7c]
push 0x71
push edx
call fcn.00405f70
mov eax, dword [esp + 0x10]
add esp, 8
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [0x4139ec]
test eax, eax
je 0x406410
mov eax, dword [esp + 0xc7c]
mov ecx, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push 0x402740
push eax
push 0x85
push ecx
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x4063b4
push 0
push str.SEVERE
push str.FAILED_TO_CREATE_DIALOG
push 0
call edi
mov edx, dword [0x413e24]
push 0
push 0x402740
push 0
push 0x85
push edx
call esi
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x72
push esi
call fcn.00405f70
add esp, 8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.Press_ENTER
push 0x4135b4
push 0
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [esp + 0xc7c]
push 0x72
push eax
call fcn.00405f70
mov eax, dword [esp + 0x10]
add esp, 8
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [0x4139ec]
test eax, eax
je 0x4064cf
mov ecx, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push 0x402740
push 0
push 0x85
push ecx
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x406473
push 0
push str.SEVERE
push str.FAILED_TO_CREATE_DIALOG
push 0
call edi
mov edx, dword [0x413e24]
push 0
push 0x402740
push 0
push 0x85
push edx
call esi
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x73
push esi
call fcn.00405f70
add esp, 8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.Press_ENTER
push 0x4135b4
push 0
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [esp + 0xc7c]
push 0x73
push eax
call fcn.00405f70
mov eax, dword [esp + 0x10]
add esp, 8
pop edi
pop esi
add esp, 0xc6c
ret
mov edx, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x19c]
push 0xc8
push ecx
push 0x75
push edx
call esi
mov ecx, dword [0x413e24]
lea eax, [esp + 0xd4]
push 0xc8
push eax
push 0x74
push ecx
call esi
mov eax, dword [0x413e24]
lea edx, [esp + 0xc]
push 0xc8
push edx
push 0x22b
push eax
call esi
push 0x40f3ec
push str.Lexmark
lea ecx, [esp + 0x26c]
push str._s__s
push ecx
call fcn.00406f8b
lea edx, [esp + 0x274]
lea eax, [esp + 0x1ac]
push edx
lea ecx, [esp + 0x488]
push eax
push ecx
call fcn.00406f8b
lea edx, [esp + 0x280]
lea eax, [esp + 0xf0]
push edx
lea ecx, [esp + 0x894]
push eax
push ecx
call fcn.00406f8b
lea edx, [esp + 0x34]
push str.Hebrew
push edx
call fcn.004071b0
add esp, 0x30
test eax, eax
je 0x4065ec
lea eax, [esp + 0xc]
push str.Arabic
push eax
call fcn.004071b0
add esp, 8
test eax, eax
je 0x4065ec
mov eax, dword [esp + 0xc7c]
push 0
lea ecx, [esp + 0x478]
push 0x14
lea edx, [esp + 0x87c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
pop edi
mov dword [esp + 4], eax
pop esi
add esp, 0xc6c
ret
mov eax, dword [esp + 0xc7c]
push 0
lea ecx, [esp + 0x478]
push 0x180014
lea edx, [esp + 0x87c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
pop edi
mov dword [esp + 4], eax
pop esi
add esp, 0xc6c
ret
mov edx, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x19c]
push 0xc8
push ecx
push 0x6f
push edx
call esi
mov ecx, dword [0x413e24]
lea eax, [esp + 0x3ac]
push 0xc8
push eax
push 0x76
push ecx
call esi
mov eax, dword [0x413e24]
lea edx, [esp + 0x2e4]
push 0xc8
push edx
push 0x77
push eax
call esi
mov edx, dword [0x413e24]
lea ecx, [esp + 0xc]
push 0xc8
push ecx
push 0x22b
push edx
call esi
lea eax, [esp + 0x2e4]
lea ecx, [esp + 0x3ac]
push eax
push ecx
lea edx, [esp + 0xdc]
push str._s__s
push edx
call fcn.00406f8b
lea eax, [esp + 0x1c]
push str.Hebrew
push eax
call fcn.004071b0
add esp, 0x18
test eax, eax
je 0x4066fa
lea ecx, [esp + 0xc]
push str.Arabic
push ecx
call fcn.004071b0
add esp, 8
test eax, eax
je 0x4066fa
push 0
lea edx, [esp + 0x1a0]
push 0x14
lea eax, [esp + 0xdc]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
push 0
lea ecx, [esp + 0x1a0]
push 0x180014
lea edx, [esp + 0xdc]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [esp + 0xc7c]
mov ecx, dword [0x413e24]
push 0
push 0x4024a0
push eax
push 0x82
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop edi
mov dword [esp + 4], eax
pop esi
add esp, 0xc6c
ret
mov eax, dword [0x413e24]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x19c]
push 0xc8
push edx
push 0x22c
push eax
call esi
mov edx, dword [0x413e24]
lea ecx, [esp + 0xd4]
push 0xc8
push ecx
push 0x22d
push edx
call esi
mov ecx, dword [0x413e24]
lea eax, [esp + 0xc]
push 0xc8
push eax
push 0x22b
push ecx
call esi
lea edx, [esp + 0xc]
push str.Hebrew
push edx
call fcn.004071b0
add esp, 8
test eax, eax
je 0x406802
lea eax, [esp + 0xc]
push str.Arabic
push eax
call fcn.004071b0
add esp, 8
test eax, eax
je 0x406802
mov eax, dword [esp + 0xc7c]
push 0
lea ecx, [esp + 0x1a0]
push 0x14
lea edx, [esp + 0xdc]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
mov eax, dword [esp + 0xc7c]
push 0
lea ecx, [esp + 0x1a0]
push 0x180014
lea edx, [esp + 0xdc]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret
push 0
push str.SEVERE
push str.Not_a_Valid_Dialog_Number
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc6c
ret