Function at 0x493ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4fade8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
push 0x5307a8
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
lea ebp, [eax + 0x90]
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x494348
cmp ebp, ebx
je 0x494348
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5268fc
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00443330
lea ecx, [esp + 0x10]
mov edi, eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5236a4
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00443330
cmp edi, 1
mov dword [esp + 0x24], eax
jle 0x494008
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5236a4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x4c], 3
push ecx
lea edx, [ecx + 4]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00443330
mov dword [esp + 0x28], eax
cmp edi, 2
jle 0x49404b
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5236a4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x4c], 4
push ecx
lea edx, [ecx + 8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x50], bl
call fcn.00443330
mov dword [esp + 0x30], eax
cmp dword [esp + 0x24], 6
jl 0x4941b8
mov dword [ebp + 0x3b4], 0xffffffff
xor ebp, ebp
mov eax, ebp
mov ecx, dword [esp + 0x50]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov edi, eax
lea esi, [ecx + 0x90]
sar edi, 1
mov eax, edi
shl eax, 4
add eax, edi
lea esi, [esi + eax*4]
mov dword [esi + 0x2fc], ebx
mov eax, dword [edx + ebp*4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x2e4], eax
lea eax, [ebp*4 + 4]
mov dword [esp + 0x38], eax
mov eax, dword [eax + ecx]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x2e8], eax
mov eax, dword [esi + 0x2e4]
add esp, 8
cmp eax, ebx
jle 0x4940d2
mov ecx, dword [esp + 0x20]
push ebx
push eax
call fcn.00494380
jmp 0x4940d4
xor eax, eax
mov dword [esi + 0x2d8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x304], ebx
mov dword [esi + 0x308], ebx
mov dword [esi + 0x310], ebx
lea ecx, [ebp + 2]
mov dword [esi + 0x314], ebx
mov dword [esi + 0x30c], ebx
cmp eax, ecx
mov dword [esi + 0x318], ebx
mov dword [esp + 0x24], ecx
jl 0x494173
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + ebp*4]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
call ebp
mov ecx, dword [esp + 0x54]
add edi, 0xb
mov edx, edi
add ecx, 0x90
shl edx, 4
add edx, edi
add esp, 4
cmp eax, ebx
mov dword [ecx + edx*4], eax
jle 0x494148
mov ecx, dword [esp + 0x20]
push ebx
push eax
call fcn.00494380
jmp 0x49414a
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esi + 0x2dc], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + edx]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x2f0], eax
add esp, 4
mov dword [esi + 0x314], eax
jmp 0x4941ab
mov eax, dword [esp + 0x50]
add edi, 0xb
mov edx, edi
add eax, 0x90
shl edx, 4
add edx, edi
mov dword [esi + 0x2dc], ebx
mov dword [eax + edx*4], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esi + 0x2f0], ebx
je 0x4941ab
mov dword [esi + 0x2fc], 1
mov dword [esp + 0x2c], ebx
mov ebp, ecx
cmp ebp, 6
jl 0x494062
jmp 0x4941c7
mov ecx, 0x33
xor eax, eax
lea edi, [ebp + 0x2d8]
rep stosd dword es:[edi], eax
xor edi, edi
mov eax, edi
lea ecx, [edi + 2]
cdq
sub eax, edx
mov dword [esp + 0x24], ecx
mov esi, eax
mov eax, dword [esp + 0x30]
sar esi, 1
cmp eax, ecx
jl 0x494247
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
mov eax, dword [ecx + edi*4]
push eax
call ebp
mov ecx, dword [esp + 0x54]
mov edx, esi
shl edx, 4
add edx, esi
add ecx, 0x90
add esp, 4
cmp eax, ebx
lea esi, [ecx + edx*4]
mov dword [esi + 0x2f4], eax
jle 0x49421f
mov ecx, dword [esp + 0x20]
push ebx
push eax
call fcn.00494380
jmp 0x494221
xor eax, eax
mov edx, dword [esp + 0x18]
mov dword [esi + 0x2e0], eax
mov edi, dword [edx + edi*4 + 4]
push edi
call ebp
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x2f8], eax
add esp, 4
mov dword [esi + 0x318], eax
jmp 0x49426c
mov eax, dword [esp + 0x50]
mov edx, esi
shl edx, 4
add edx, esi
add eax, 0x90
lea eax, [eax + edx*4]
mov dword [eax + 0x2e0], ebx
mov dword [eax + 0x2f4], ebx
mov dword [eax + 0x2f8], ebx
mov edi, ecx
cmp edi, 6
jl 0x4941c9
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49429c
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push sub.MFC42.DLL_CString::CString
push ecx
push 4
push eax
call fcn.004e9b8a
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4942c1
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push sub.MFC42.DLL_CString::CString
push edx
push 4
push eax
call fcn.004e9b8a
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4942e6
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push sub.MFC42.DLL_CString::CString
push ecx
push 4
push eax
call fcn.004e9b8a
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x49430b
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push sub.MFC42.DLL_CString::CString
push edx
push 4
push eax
call fcn.004e9b8a
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x78]
mov dword [esp + 0x34], eax
fild qword [esp + 0x34]
fstp qword [esi + 0x128]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x140], ecx
mov ecx, edi
call fcn.0048e370
push esi
mov ecx, edi
mov dword [esi + 0x174], eax
call fcn.00495d00
jmp 0x494357
mov ecx, 0x33
xor eax, eax
lea edi, [ebp + 0x2d8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 8