Function at 0x4394c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a59e0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
cmp eax, 1
push esi
mov ebp, ecx
jne 0x4395c2
mov ecx, dword [esp + 0x20]
mov eax, dword [0x4dc3a4]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
mov ecx, dword [ecx]
push ecx
call esi
add esp, 8
test eax, eax
je 0x439555
lea edx, [esp + 0x24]
push 0x494
push edx
mov ecx, 0x4dc390
call fcn.00498ef0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4dc3a0]
mov eax, dword [eax]
push eax
push ecx
call esi
add esp, 8
test eax, eax
je 0x439694
lea ecx, [esp + 0x24]
push 0x494
push ecx
mov ecx, 0x4dc390
call fcn.00498ef0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
mov edx, dword [esp + 0x20]
mov ecx, 0x4dc390
push edx
call fcn.004991b0
test eax, eax
jne 0x439627
lea eax, [esp + 0x24]
push 0x494
push eax
mov ecx, 0x4dc390
call fcn.00498ef0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x20], 2
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [0x4dc3a0]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x439694
lea edx, [esp + 0x24]
push 0x494
push edx
mov ecx, 0x4dc390
call fcn.00498ef0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x20], 3
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x28]
mov bl, 5
cmp eax, 1
mov byte [esp + 0x14], bl
jne 0x439733
mov eax, dword [0x4dc428]
push 4
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
push 0x332
push ecx
mov ecx, 0x4dc390
call fcn.00498ef0
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push edx
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1c], 7
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
jmp 0x439819
cmp eax, 2
jne 0x43979e
mov edx, dword [0x4dc428]
push 4
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push 0x332
push eax
mov ecx, 0x4dc390
call fcn.00498ef0
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0x14], bl
lea ecx, [esp + 0x24]
jmp 0x43980b
cmp eax, 3
jne 0x439856
mov ecx, dword [0x4dc428]
push 4
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x28]
push 0x331
push edx
mov ecx, 0x4dc390
call fcn.00498ef0
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0x14], bl
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 2
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00438c60
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c