Function at 0x401a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x402982
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0xe0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 3
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0xe0], 4
call sub.MFC42.DLL_CString::CString
add esi, 0xe0
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0xe4], 5
call sub.MFC42.DLL_CString::operator_1
lea edi, [esp + 0x38]
sub edi, 8
push 0x2c
lea ecx, [esp + 0x10]
inc ebx
add edi, 8
call sub.MFC42.DLL_CString::Find
mov esi, eax
lea eax, [esp + 0x30]
push esi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 5
call fcn.0040234c
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
sub eax, esi
dec eax
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0xe0], 5
call fcn.0040234c
cmp esi, 0xffffffff
jne 0x401b74
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [edi]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
jmp 0x401b84
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [edi]
add esp, 4
fld qword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fadd qword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
fstp qword [esp + 0x1c]
jne 0x401b9d
dec ebx
sub edi, 8
cmp esi, 0xffffffff
jne 0x401ad0
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
test ebx, ebx
fdivr qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [0x4037d0]
jle 0x401bda
lea eax, [esp + 0x38]
mov ecx, ebx
fld qword [eax]
fsub qword [esp + 0x1c]
add eax, 8
dec ecx
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jne 0x401bc6
dec ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fdivr st(1)
fsqrt
fstp qword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 0x404038
push eax
fstp st(0)
call sub.MFC42.DLL_CString::Format
fld dword [ebp + 0xc]
fmul dword [0x4037cc]
add esp, 0x10
lea edx, [esp + 0x24]
fstp dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004017a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0xe0], 5
call fcn.0040234c
push 0x20
push 0x2b
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Replace_1
push 0x20
push 0x2d
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Replace_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x34], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0xe0], 4
call fcn.0040234c
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 3
call fcn.0040234c
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 2
call fcn.0040234c
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 1
call fcn.0040234c
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 0
call fcn.0040234c
mov ecx, dword [esp + 0xd8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8