Function at 0x458d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc3a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov eax, dword [0x53a914]
mov dword [esp + 0x110], 0
fild dword [ebp + 0xc]
mov ecx, dword [eax + 0x3ee8]
fmul dword [eax + ecx*4 + 0x3eec]
lea esi, [eax + ecx*4 + 0x3eec]
call sub.MSVCRT.dll__ftol
fild dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
fmul dword [esi]
call sub.MSVCRT.dll__ftol
fild dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
fmul dword [esi]
call sub.MSVCRT.dll__ftol
mov esi, eax
lea ecx, [esp + 0x30]
mov dword [ebp + 0x14], esi
call fcn.004d5be0
fild dword [ebp + 0x14]
push 0
push 0
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x30]
fstp qword [esp]
call fcn.004d5c00
fild dword [ebp + 0x10]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
fild dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
call fcn.004d5c00
mov eax, 0x99999999
push 0
imul esi
sar edx, 1
mov eax, edx
push 0
shr eax, 0x1f
add edx, eax
push 0
mov dword [esp + 0x18], edx
push 0
fild dword [esp + 0x1c]
lea ecx, [esp + 0xa0]
fstp qword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
push edi
call fcn.004d5c00
push 0
push 0
push 0
push 0
push esi
push edi
lea ecx, [esp + 0xc0]
call fcn.004d5c00
lea ecx, [esp + 0xc0]
call fcn.004d5be0
lea ecx, [esp + 0xd8]
call fcn.004d5be0
lea ecx, [esp + 0x48]
call fcn.004d5be0
lea ecx, [esp + 0x60]
call fcn.004d5be0
push 0x3fe0c152
push 0x382d7365
lea ecx, [esp + 0x98]
call fcn.004d6180
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x94]
call fcn.004d5e30
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
push esi
push edi
lea ecx, [esp + 0x98]
call fcn.004d6180
push 0xbfe0c152
push 0x382d7365
lea ecx, [esp + 0xb0]
call fcn.004d6180
lea edx, [esp + 0x18]
lea ecx, [esp + 0xa8]
push edx
call fcn.004d5e30
push esi
push edi
lea ecx, [esp + 0xb0]
call fcn.004d6180
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.004d6180
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x18]
push eax
call fcn.004d5ec0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x30]
lea edx, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
push ecx
push 0x3ff4cccc
push 0xcccccccd
push edx
call fcn.0045d130
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x58]
lea eax, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x3ff4cccc
lea ecx, [esp + 0x108]
push 0xcccccccd
push ecx
call fcn.0045d130
fld qword [esp + 0x68]
fld qword [esp + 0x50]
fcompp
mov esi, eax
add esp, 0x20
mov ecx, 6
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
fnstsw ax
test ah, 0x41
jne 0x458f73
fld qword [esp + 0x48]
jmp 0x458f77
fld qword [esp + 0x30]
fstp qword [esp + 0x48]
fld qword [esp + 0x50]
fld qword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x458f92
fld qword [esp + 0x50]
jmp 0x458f96
fld qword [esp + 0x38]
fstp qword [esp + 0x50]
fld qword [esp + 0x60]
fld qword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x458fb1
fld qword [esp + 0x60]
jmp 0x458fb5
fld qword [esp + 0x18]
fstp qword [esp + 0x60]
fld qword [esp + 0x68]
fld qword [esp + 0x20]
fcompp
fnstsw ax
test ah, 0x41
jne 0x458fd0
fld qword [esp + 0x68]
jmp 0x458fd4
fld qword [esp + 0x20]
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x90]
fstp qword [esp + 0x68]
push edx
call fcn.004d5ec0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xc0]
lea eax, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0xac]
call fcn.004d5ec0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004d5e30
lea edx, [esp + 0x78]
lea ecx, [esp + 0x60]
push edx
call fcn.004d5e30
lea eax, [esp + 0x78]
lea ecx, [esp + 0x30]
push eax
call fcn.004d5e30
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004d5e30
lea edx, [esp + 0x78]
lea ecx, [esp + 0x90]
push edx
call fcn.004d5e30
lea eax, [esp + 0x78]
lea ecx, [esp + 0xa8]
push eax
call fcn.004d5e30
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xc4]
call fcn.004d5e30
lea edx, [esp + 0x78]
lea ecx, [esp + 0xd8]
push edx
call fcn.004d5e30
fld qword [esp + 0x38]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
mov esi, dword [ebp + 8]
push eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::MoveTo
fld qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
fld qword [esp + 0x98]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x90]
push eax
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fld qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
fld qword [esp + 0xb0]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xa8]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
fld qword [esp + 0xc8]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xc0]
push eax
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
fld qword [esp + 0x38]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
fld qword [esp + 0xe0]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xd8]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebp + 0x20]
lea ecx, [esp + 0xc]
push eax
push 0x52b3bc
push ecx
call sub.MFC42.DLL_operator_2
mov edi, eax
fld qword [esp + 0x50]
mov byte [esp + 0x110], 1
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x48]
mov ebx, eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi]
mov edi, dword [esi]
mov edx, dword [ecx - 8]
push edx
push ecx
push ebx
push eax
mov ecx, esi
call dword [edi + 0x64]
lea ecx, [esp + 0xc]
mov byte [esp + 0x110], 0
call sub.MFC42.DLL_CString::CString
fld qword [esp + 0x68]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x60]
mov edi, eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp + 0x20]
mov ebx, dword [esi]
mov edx, dword [ecx - 8]
push edx
push ecx
push edi
push eax
mov ecx, esi
call dword [ebx + 0x64]
mov dword [esp + 0x110], 0xffffffff
lea ecx, [ebp + 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret