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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6967
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
fild dword [eax]
push edi
mov dword [esp + 0x44], esi
fld st(0)
fmul qword [0x4e4560]
fadd qword [0x4e19a8]
call sub.MSVCRT.dll__ftol
xor ebx, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x330], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
fild dword [ecx]
mov dword [esp + 0xb4], ebx
fmul qword [0x4e00b0]
fstp dword [esp + 0x90]
fmul dword [esi + 0x7c]
fmul qword [0x4e4558]
fld st(0)
fmul st(1)
fstp dword [esp + 0x78]
fstp st(0)
movsx eax, ax
mov byte [esp + 0x330], 1
lea edi, [eax + eax + 1]
imul edi, edi
cmp edi, 1
jb 0x465346
lea ecx, [esp + 0x4c]
call fcn.00426a60
lea eax, [edi + edi*2]
shl eax, 2
mov dword [esp + 0x58], eax
add eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x9c], eax
cmp eax, ebx
mov byte [esp + 0x330], 2
je 0x465314
push fcn.004011f0
mov dword [eax], edi
push fcn.00426a10
add eax, 4
push edi
push 0xc
push eax
mov dword [esp + 0x74], eax
call fcn.004ce784
mov eax, dword [esp + 0x60]
jmp 0x465316
xor eax, eax
lea edx, [esp + 0xac]
mov byte [esp + 0x330], 1
push edx
push edi
push eax
mov dword [esp + 0x58], eax
call fcn.00474f80
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
add esp, 0xc
add ecx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push fcn.004011f0
push fcn.00426a10
push 3
lea edx, [esp + 0x190]
push 0xc
push edx
mov byte [esp + 0x344], 3
call fcn.004ce784
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x330], 6
cmp eax, ebx
je 0x465424
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
cmp edi, 1
jb 0x465424
lea ecx, [esp + 0x38]
call fcn.00426aa0
lea eax, [edi*8]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp edi, ebx
mov edx, eax
mov dword [esp + 0x38], eax
jbe 0x465416
mov ecx, edi
mov edi, edx
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
add ecx, eax
mov dword [esp + 0x40], ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], ebx
cmp dword [edx], ebx
jle 0x46621d
jmp 0x465437
xor ebx, ebx
movsx edi, word [esi + 0x86]
movsx eax, word [esi + 0x84]
imul edi, eax
lea ecx, [edi + edi*2]
lea edx, [ecx*8 + 4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebx
mov byte [esp + 0x330], 7
je 0x465490
push fcn.004011f0
push 0x471c40
lea ebx, [eax + 4]
push edi
push 0x18
push ebx
mov dword [eax], edi
call fcn.004ce784
mov eax, ebx
xor ebx, ebx
mov dword [esp + 0x80], eax
jmp 0x465499
xor eax, eax
mov dword [esp + 0x80], eax
cmp word [esi + 0x84], bx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x80]
mov byte [esp + 0x330], 6
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], eax
jle 0x46552b
mov edi, dword [esp + 0x68]
xor ebx, ebx
cmp word [esi + 0x86], bx
jle 0x4654f8
mov eax, dword [esp + 0x64]
sub eax, edi
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x2c8]
add ecx, edi
push ecx
push edx
mov ecx, edi
call fcn.00471c60
inc ebx
add edi, 0x18
cmp bx, word [esi + 0x86]
jl 0x4654d5
movsx eax, word [esi + 0x86]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
lea eax, [eax + eax*2]
shl eax, 3
inc ecx
add edi, eax
add edx, eax
cmp cx, word [esi + 0x84]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edx
jl 0x4654bc
mov ecx, dword [esp + 0x80]
mov edx, dword [esi + 0x80]
cmp word [esi + 0x84], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
jle 0x4661ce
cmp word [esi + 0x86], 0
mov dword [esp + 0x48], 0
jle 0x46619f
mov dword [esp + 0x7c], ecx
sub ecx, edx
lea ebx, [edx + 8]
mov dword [esp + 0x58], ecx
cmp byte [ebx + 4], 9
jb 0x46616d
mov eax, dword [esp + 0x34]
xor edx, edx
lea ecx, [ebx - 8]
cmp ax, dx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0xc12e8480
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
jl 0x46585d
mov esi, ecx
mov ax, word [esp + 0x18]
cmp ax, word [esp + 0x5c]
jge 0x46585d
mov ecx, dword [esp + 0x48]
add esi, 0xffffffe8
mov dword [esp + 0x30], 0
lea edi, [ecx - 1]
test di, di
jl 0x4656e9
mov dx, word [esp + 0x30]
cmp dx, word [esp + 0x5c]
jge 0x4656e9
cmp byte [esi + 0xc], 9
jb 0x4656d3
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], edx
lea eax, [esp + 0x128]
push esi
lea ecx, [esp + 0x2b4]
push eax
push ecx
mov byte [esp + 0x33c], 8
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x274]
push eax
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 9
call fcn.004051b0
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
mov byte [esp + 0x330], 6
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x4656d3
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x84]
fld dword [esp + 0x10]
push eax
push ecx
fstp qword [esp + 0x8c]
lea ecx, [esp + 0x40]
call fcn.00472910
fld dword [esp + 0x10]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x4656bb
fld dword [esp + 0x10]
fstp qword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
push esi
inc edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
push edx
call fcn.004728d0
mov eax, dword [esp + 0x30]
sub esi, 0x18
inc eax
dec edi
test di, di
mov dword [esp + 0x30], eax
jge 0x4655de
mov ax, word [esp + 0x14]
cmp ax, word [esp + 0x34]
je 0x465821
mov edx, dword [esp + 0x44]
mov cx, word [esp + 0x48]
mov esi, dword [esp + 0x2c]
xor edi, edi
cmp cx, word [edx + 0x86]
jge 0x465821
cmp di, word [esp + 0x5c]
jge 0x465821
cmp byte [esi + 0xc], 9
jb 0x465805
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], edx
lea eax, [esp + 0xec]
push esi
lea ecx, [esp + 0x2c0]
push eax
push ecx
mov byte [esp + 0x33c], 0xa
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x298]
push eax
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0xb
call fcn.004051b0
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
mov byte [esp + 0x330], 6
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x465805
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x84]
fld dword [esp + 0x10]
push eax
push ecx
fstp qword [esp + 0x8c]
lea ecx, [esp + 0x40]
call fcn.00472910
fld dword [esp + 0x10]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x4657ed
fld dword [esp + 0x10]
fstp qword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
push esi
inc edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
push edx
call fcn.004728d0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
inc edi
add esi, 0x18
lea ecx, [edi + eax]
cmp cx, word [edx + 0x86]
jl 0x465715
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
inc ecx
movsx eax, word [eax + 0x86]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
lea edx, [eax*4]
dec ecx
sub edx, eax
mov eax, dword [esp + 0x2c]
neg edx
test cx, cx
lea esi, [eax + edx*8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], esi
jge 0x4655b3
mov eax, dword [esp + 0x34]
lea ecx, [ebx - 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
cmp ax, word [ecx + 0x84]
jge 0x465b32
mov dx, word [esp + 0x18]
cmp dx, word [esp + 0x5c]
jge 0x465b32
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
xor edi, edi
inc eax
cmp ax, word [edx + 0x86]
lea esi, [ecx + 0x18]
jge 0x4659c2
cmp di, word [esp + 0x5c]
jge 0x4659c2
cmp byte [esi + 0xc], 9
jb 0x4659a6
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
lea eax, [esp + 0x110]
push esi
lea ecx, [esp + 0x1c4]
push eax
push ecx
mov byte [esp + 0x33c], 0xc
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x250]
push eax
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0xd
call fcn.004051b0
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
mov byte [esp + 0x330], 6
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x4659a6
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x84]
fld dword [esp + 0x10]
push eax
push ecx
fstp qword [esp + 0x8c]
lea ecx, [esp + 0x40]
call fcn.00472910
fld dword [esp + 0x10]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x46598c
fld dword [esp + 0x10]
fstp qword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
push esi
inc eax
push 1
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], eax
call fcn.00472f60
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
inc edi
add esi, 0x18
inc eax
add eax, edi
cmp ax, word [ecx + 0x86]
jl 0x4658b4
mov dx, word [esp + 0x14]
cmp dx, word [esp + 0x34]
je 0x465afa
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
test di, di
mov dword [esp + 0x30], 0
jl 0x465afa
mov ax, word [esp + 0x30]
cmp ax, word [esp + 0x5c]
jge 0x465afa
cmp byte [esi + 0xc], 9
jb 0x465ae4
mov ecx, dword [ebx - 8]
mov edx, dword [ebx - 4]
mov eax, dword [ebx]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
lea ecx, [esp + 0x11c]
push esi
lea edx, [esp + 0x1dc]
push ecx
push edx
mov byte [esp + 0x33c], 0xe
call fcn.0041a670
add esp, 0xc
push eax
lea eax, [esp + 0x2a8]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0xf
call fcn.004051b0
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
mov byte [esp + 0x330], 6
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x465ae4
fld dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x84]
fstp qword [esp + 0x84]
push ecx
push 1
push edx
lea ecx, [esp + 0x44]
call fcn.00429850
fld dword [esp + 0x10]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x465aca
fld dword [esp + 0x10]
fstp qword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
inc ecx
push esi
mov dword [esp + 0x20], ecx
push 1
push eax
lea ecx, [esp + 0x58]
call fcn.00472f60
mov eax, dword [esp + 0x30]
sub esi, 0x18
inc eax
dec edi
test di, di
mov dword [esp + 0x30], eax
jge 0x4659eb
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc esi
movsx eax, word [edx + 0x86]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x2c]
lea eax, [eax + eax*2]
inc ecx
cmp cx, word [edx + 0x84]
mov dword [esp + 0x14], ecx
lea eax, [esi + eax*8]
mov dword [esp + 0x2c], eax
jl 0x465885
cmp word [esp + 0x1c], 4
jge 0x465b4f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
jmp 0x46616d
fld qword [esp + 0x6c]
fmul qword [0x4e4550]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
fstp qword [esp + 0x6c]
je 0x465b97
fld qword [eax]
fmul qword [0x4e4548]
add eax, 8
fdiv qword [esp + 0x6c]
fldl2e
fmulp st(1)
fld st(0)
frndint
fxch st(1)
fsub st(1)
f2xm1
fld1
faddp st(1)
fscale
fstp st(1)
fstp qword [eax - 8]
cmp eax, dword [esp + 0x3c]
jne 0x465b69
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
lea esi, [ebx - 8]
lea ecx, [esp + 0x4c]
push esi
push 1
push eax
inc edi
call fcn.00472f60
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xe4]
push ecx
push 1
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0x3ff00000
call fcn.00429850
mov eax, dword [esi]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x1f0]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0x10
call fcn.004051b0
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
movsx edx, di
test eax, eax
mov byte [esp + 0x330], 6
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
je 0x465f5f
mov eax, edx
cmp eax, 4
jl 0x465f5f
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x13c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x94], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xe0]
lea ecx, [esp + 0xc0]
push eax
lea edx, [esp + 0xe0]
push ecx
push edx
lea ecx, [esp + 0x274]
call fcn.00405110
push eax
lea eax, [esp + 0x20c]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0x11
call fcn.004051b0
mov edi, dword [esp + 0x30]
xor ecx, ecx
fld qword [0x4e00c0]
mov dword [esp + 0xcc], ecx
mov byte [esp + 0x330], 6
mov dword [esp + 0xd0], ecx
mov eax, esi
mov dword [esp + 0xd4], ecx
test edi, edi
mov dword [esp + 0xd8], ecx
jle 0x465d5c
mov edx, dword [esp + 0x14]
fld qword [esp + 0xd4]
fld qword [esp + 0xcc]
fld qword [esp + 0x94]
lea ecx, [edx + 8]
mov edx, edi
fld dword [ecx - 8]
fmul qword [eax]
add ecx, 0xc
add eax, 8
dec edx
faddp st(4)
fld dword [ecx - 0x10]
fmul qword [eax - 8]
faddp st(2)
fld dword [ecx - 0xc]
fmul qword [eax - 8]
faddp st(3)
fadd qword [eax - 8]
jne 0x465d24
fstp qword [esp + 0x94]
fstp qword [esp + 0xcc]
fstp qword [esp + 0xd4]
fdiv qword [esp + 0x94]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x1b4]
fld qword [esp + 0xd8]
fdiv qword [esp + 0xa0]
fst qword [esp + 0xd8]
fld qword [esp + 0xe0]
fdiv qword [esp + 0xa0]
fst qword [esp + 0xe0]
fstp dword [esp + 0x24]
fstp dword [esp + 0x38]
fstp dword [esp + 0x28]
call fcn.00405110
push eax
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0x12
call fcn.004051b0
test edi, edi
mov byte [esp + 0x330], 6
mov eax, esi
jle 0x465faf
fld qword [esp + 0x15c]
fld qword [esp + 0x144]
fld qword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
mov edx, edi
fld qword [esp + 0x154]
fld qword [esp + 0x134]
add ecx, 4
fld dword [ecx - 4]
fsub dword [esp + 0x20]
add ecx, 0xc
add eax, 8
dec edx
fld st(0)
fld st(0)
fmul st(1)
fmul qword [eax - 8]
faddp st(3)
fstp st(0)
fld dword [ecx - 0xc]
fsub dword [esp + 0x24]
fst dword [esp + 0x14]
fld st(0)
fmul st(1)
fmul qword [eax - 8]
faddp st(4)
fstp st(0)
fld dword [ecx - 8]
fsub dword [esp + 0x28]
fst dword [esp + 0x18]
fld st(0)
fmul qword [eax - 8]
fmul st(1)
fadd qword [esp + 0x174]
fstp qword [esp + 0x174]
fstp st(0)
fld st(0)
fmul dword [esp + 0x14]
fmul qword [eax - 8]
faddp st(4)
fmul dword [esp + 0x18]
fmul qword [eax - 8]
faddp st(4)
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
fmul qword [eax - 8]
faddp st(5)
jne 0x465e0c
fxch st(4)
fst qword [esp + 0x15c]
fxch st(3)
fst qword [esp + 0x144]
fxch st(2)
fst qword [esp + 0x13c]
fxch st(4)
fstp qword [esp + 0x134]
fstp qword [esp + 0x154]
fxch st(1)
fxch st(2)
fstp qword [esp + 0x14c]
lea edx, [esp + 0x2e0]
lea eax, [esp + 0x134]
fstp qword [esp + 0x164]
push edx
push 3
fstp qword [esp + 0x174]
push eax
call fcn.00475860
fstp st(0)
add esp, 0xc
lea esi, [esp + 0x184]
lea edi, [esp + 0x2f8]
mov dword [esp + 0x14], 3
fld qword [edi + 0x18]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
fstp dword [esp + 0x18]
fld qword [edi]
push ecx
lea eax, [esp + 0x20]
fstp dword [esp + 0x30]
fld qword [edi - 0x18]
push edx
push eax
fstp dword [esp + 0x28]
lea ecx, [esp + 0x28c]
call fcn.00405110
lea ecx, [esp + 0x238]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x338], 0x13
call fcn.004051b0
mov ecx, esi
mov byte [esp + 0x330], 6
call fcn.00405150
mov eax, dword [esp + 0x14]
add edi, 8
add esi, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x465ef8
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
sub eax, 0
je 0x465fc9
dec eax
jne 0x46615d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x9c], eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x188]
push edx
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0xa8]
push ecx
push edx
push eax
call fcn.00473920
add esp, 0x18
jmp 0x46615d
fld qword [esp + 0x15c]
fld qword [esp + 0x144]
fld qword [esp + 0x13c]
jmp 0x465eb1
mov edi, dword [esp + 0x7c]
lea ecx, [esp + 0x28c]
push edi
push ecx
lea ecx, [esp + 0xa8]
call fcn.004051b0
lea edx, [esp + 0xa0]
lea eax, [esp + 0x1b4]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00405230
fld dword [esp + 0x184]
fmul dword [eax]
fld dword [esp + 0x188]
fmul dword [eax + 4]
lea ecx, [esp + 0x184]
lea edx, [esp + 0x17c]
faddp st(1)
fld dword [esp + 0x18c]
fmul dword [eax + 8]
push ecx
lea eax, [esp + 0x1d0]
faddp st(1)
push edx
push eax
mov byte [esp + 0x33c], 0x14
fstp qword [esp + 0x188]
call fcn.00405980
add esp, 0xc
lea ecx, [esp + 0x1e4]
push eax
push ecx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x338], 0x15
call fcn.004051f0
lea edx, [esp + 0x1fc]
push eax
push edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x338], 0x16
call fcn.004051b0
fld dword [esp + 0x90]
fsubr qword [0x4e1438]
mov eax, dword [edi]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x58]
fstp qword [esp + 0xac]
fld dword [ebx + eax]
mov ecx, dword [ebx + eax - 4]
fstp dword [esp + 0x10c]
mov dword [esp + 0x108], ecx
lea edx, [esp + 0x104]
lea eax, [esp + 0xac]
push edx
lea ecx, [esp + 0x218]
push eax
push ecx
mov byte [esp + 0x33c], 0x17
call fcn.00405980
mov esi, eax
lea edx, [esp + 0xac]
lea eax, [esp + 0x9c]
push edx
lea ecx, [esp + 0x23c]
push eax
push ecx
mov byte [esp + 0x348], 0x18
call fcn.00405860
add esp, 0x18
mov byte [esp + 0x330], 0x19
push esi
lea edx, [esp + 0x248]
mov ecx, eax
push edx
call fcn.004051f0
push eax
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 0x1a
call fcn.004051b0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [esp + 0x24]
mov dword [ebx + eax - 4], edx
mov byte [esp + 0x330], 6
fld dword [esp + 0x28]
fstp dword [ebx + eax]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x48]
add edx, 0x18
inc eax
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x44]
add ebx, 0x18
mov dword [esp + 0x48], eax
cmp ax, word [edx + 0x86]
jl 0x465579
mov ecx, dword [esp + 0x68]
mov esi, edx
mov edx, dword [esp + 0x64]
movsx eax, word [esi + 0x86]
mov edi, dword [esp + 0x34]
lea eax, [eax + eax*2]
inc edi
shl eax, 3
add ecx, eax
add edx, eax
cmp di, word [esi + 0x84]
mov dword [esp + 0x34], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
jl 0x465556
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4661f5
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.004011f0
push ecx
push 0x10
push eax
call fcn.004ce690
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x80]
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0x60], eax
mov dword [esi + 0x80], edx
mov edx, dword [ecx]
movsx eax, ax
cmp eax, edx
jl 0x465435
xor ebx, ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x46623a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push fcn.004011f0
push 3
lea edx, [esp + 0x18c]
push 0xc
push edx
mov byte [esp + 0x340], 3
call fcn.004ce690
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x330], 0xffffffff
cmp eax, ebx
je 0x466288
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004011f0
push ecx
push 0xc
push eax
call fcn.004ce690
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x328]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10