Function at 0x401ac0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x417710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push 0x422200
lea eax, [esp + 0x30]
push edi
mov esi, ecx
push eax
call fcn.00402aa0
mov eax, dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0xc], eax
call sub.MFC42.DLL_CString::CString
push 0x422110
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x10], eax
call sub.MFC42.DLL_CString::CString
push 0x4221f8
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00402aa0
add esp, 0xc
lea ecx, [esi + 0x14]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], ecx
call fcn.00416708
or ebp, 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x4221f0
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x28], 1
call fcn.00416708
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x4221e8
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x28], 2
call fcn.00416708
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x4221dc
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x20], eax
call sub.MFC42.DLL_CString::CString
push 0x4221d0
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x28], 3
call fcn.00416708
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x4221c4
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.00402aa0
mov dword [esp + 0x38], eax
mov eax, dword [eax]
push str.True
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x14
test eax, eax
je 0x401c58
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call ebx
add esp, 4
test eax, eax
je 0x401c5d
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esi + 0x28], al
call sub.MFC42.DLL_CString::CString
push 0x4221b0
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00402aa0
mov dword [esp + 0x38], eax
mov eax, dword [eax]
push str.True
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x14
test eax, eax
je 0x401ca2
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
push eax
call ebx
add esp, 4
test eax, eax
je 0x401ca7
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esi + 0x29], al
call sub.MFC42.DLL_CString::CString
push 0x4221a4
lea edx, [esp + 0x14]
push edi
push edx
call fcn.00402aa0
mov dword [esp + 0x38], eax
mov eax, dword [eax]
push str.True
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x14
test eax, eax
je 0x401cec
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
push eax
call ebx
add esp, 4
test eax, eax
je 0x401cf1
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esi + 0x2a], al
call sub.MFC42.DLL_CString::CString
push 0x422198
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.00402aa0
mov dword [esp + 0x38], eax
mov eax, dword [eax]
push str.True
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x14
test eax, eax
je 0x401d36
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call ebx
add esp, 4
test eax, eax
je 0x401d3b
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esi + 0x2b], al
call sub.MFC42.DLL_CString::CString
push 0x42218c
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x2c]
mov dword [esp + 0x28], 4
call fcn.00416708
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x422180
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x28], 5
call fcn.00416708
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x4220bc
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x34]
mov dword [esp + 0x28], 6
call fcn.00416708
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
push 0x422174
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x38], eax
call sub.MFC42.DLL_CString::CString
push 0x422168
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x3c], eax
call sub.MFC42.DLL_CString::CString
push 0x42215c
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x40], eax
call sub.MFC42.DLL_CString::CString
push 0x422150
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x44], eax
call sub.MFC42.DLL_CString::CString
push 0x422144
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x48], eax
call sub.MFC42.DLL_CString::CString
push 0x422138
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00402aa0
mov eax, dword [eax]
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esi + 0x4c], eax
call sub.MFC42.DLL_CString::CString
push 0x42212c
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esi + 0x50]
mov dword [esp + 0x28], 7
call fcn.00416708
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
mov edx, dword [ecx]
pop ebp
pop ebx
mov ecx, dword [edx - 8]
test ecx, ecx
mov ecx, dword [esp + 0xc]
setne al
mov dword fs:[0], ecx
add esp, 0x18
ret 4