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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6817
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x304
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x40], esi
cmp dword [esi + 0x80], ebx
je 0x4651f1
cmp dword [esi + 0x88], 1
jl 0x4651f1
mov al, byte [esi + 0x74]
test al, al
je 0x4641ea
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00465210
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
fild dword [ecx]
fld st(0)
fmul qword [0x4e4560]
fadd qword [0x4e19a8]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x318], ebx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
fild dword [edx]
mov dword [esp + 0xc4], 0
fmul qword [0x4e00b0]
fstp dword [esp + 0x7c]
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 + 0x318], 1
lea edi, [eax + eax + 1]
imul edi, edi
cmp edi, 1
jb 0x4642f9
lea ecx, [esp + 0x48]
call fcn.00426a60
lea ebx, [edi + edi*2]
shl ebx, 2
mov dword [esp + 0x58], ebx
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x94], eax
test eax, eax
mov byte [esp + 0x318], 2
je 0x4642c9
push fcn.004011f0
push fcn.00426a10
lea ebx, [eax + 4]
push edi
push 0xc
push ebx
mov dword [eax], edi
call fcn.004ce784
mov eax, ebx
mov ebx, dword [esp + 0x58]
jmp 0x4642cb
xor eax, eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x318], 1
push ecx
push edi
push eax
mov dword [esp + 0x54], eax
call fcn.00474f80
mov eax, dword [esp + 0x54]
add esp, 0xc
add ebx, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
xor ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push fcn.004011f0
push fcn.00426a10
push 3
lea edx, [esp + 0x18c]
push 0xc
push edx
mov byte [esp + 0x32c], 3
call fcn.004ce784
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x48]
mov byte [esp + 0x318], 6
cmp eax, ebx
je 0x4643d7
mov ecx, dword [esp + 0x50]
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 0x4643d7
lea ecx, [esp + 0x34]
call fcn.00426aa0
lea eax, [edi*8]
push eax
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov edx, eax
cmp edi, ebx
mov dword [esp + 0x34], edx
jbe 0x4643c9
mov ecx, edi
mov edi, edx
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x38], edx
add ecx, edx
mov dword [esp + 0x3c], ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x58], ebx
cmp dword [edx], ebx
jle 0x465184
movsx edi, word [esi + 0x86]
movsx eax, word [esi + 0x84]
imul edi, eax
mov ecx, edi
shl ecx, 4
add ecx, 4
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
mov byte [esp + 0x318], 7
je 0x464432
push fcn.004011f0
push fcn.00427d20
lea ebx, [eax + 4]
push edi
push 0x10
push ebx
mov dword [eax], edi
call fcn.004ce784
jmp 0x464434
xor ebx, ebx
mov edx, dword [esi + 0x80]
cmp word [esi + 0x84], 0
mov dword [esp + 0x80], ebx
mov byte [esp + 0x318], 6
mov dword [esp + 0x30], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edx
jle 0x4644cf
mov edi, dword [esp + 0x60]
xor ebx, ebx
cmp word [esi + 0x86], bx
jle 0x46449f
mov eax, dword [esp + 0x5c]
sub eax, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x2b8]
add eax, edi
push eax
push ecx
mov ecx, edi
call fcn.00429700
inc ebx
add edi, 0x10
cmp bx, word [esi + 0x86]
jl 0x46447c
movsx eax, word [esi + 0x86]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
inc ecx
shl eax, 4
add edi, eax
add edx, eax
cmp cx, word [esi + 0x84]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edx
jl 0x464463
mov ecx, dword [esp + 0x80]
mov edx, dword [esi + 0x80]
cmp word [esi + 0x84], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
jle 0x465137
cmp word [esi + 0x86], 0
mov dword [esp + 0x44], 0
jle 0x46510b
mov dword [esp + 0x74], ecx
sub ecx, edx
lea ebx, [edx + 8]
mov dword [esp + 0x70], ecx
cmp byte [ebx + 4], 9
jb 0x4650d9
mov eax, dword [esp + 0x30]
xor edx, edx
lea ecx, [ebx - 8]
cmp ax, dx
mov dword [esp + 0x24], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0xc12e8480
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
jl 0x4647fc
mov dx, word [esp + 0x14]
cmp dx, word [esp + 0x54]
jge 0x4647fc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
lea edi, [eax - 1]
lea esi, [ecx - 0x10]
test di, di
jl 0x46468f
mov dx, word [esp + 0x2c]
cmp dx, word [esp + 0x54]
jge 0x46468f
cmp byte [esi + 0xc], 9
jb 0x464679
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], edx
lea eax, [esp + 0xfc]
push esi
lea ecx, [esp + 0x268]
push eax
push ecx
mov byte [esp + 0x324], 8
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x294]
push eax
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 9
call fcn.004051b0
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
mov byte [esp + 0x318], 6
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fst dword [esp + 0xc]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x464679
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x84]
fld dword [esp + 0xc]
push eax
push ecx
fstp qword [esp + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.00472910
fld dword [esp + 0xc]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x464661
fld dword [esp + 0xc]
fstp qword [esp + 0x64]
mov edx, dword [esp + 0x24]
push esi
inc edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
push edx
call fcn.004728d0
mov eax, dword [esp + 0x2c]
sub esi, 0x10
inc eax
dec edi
test di, di
mov dword [esp + 0x2c], eax
jge 0x464584
mov ax, word [esp + 0x10]
cmp ax, word [esp + 0x30]
je 0x4647c7
mov edx, dword [esp + 0x40]
mov cx, word [esp + 0x44]
mov esi, dword [esp + 0x28]
xor edi, edi
cmp cx, word [edx + 0x86]
jge 0x4647c7
cmp di, word [esp + 0x54]
jge 0x4647c7
cmp byte [esi + 0xc], 9
jb 0x4647ab
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
lea eax, [esp + 0x120]
push esi
lea ecx, [esp + 0x2b0]
push eax
push ecx
mov byte [esp + 0x324], 0xa
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x270]
push eax
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0xb
call fcn.004051b0
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
mov byte [esp + 0x318], 6
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fst dword [esp + 0xc]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x4647ab
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x84]
fld dword [esp + 0xc]
push eax
push ecx
fstp qword [esp + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.00472910
fld dword [esp + 0xc]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x464793
fld dword [esp + 0xc]
fstp qword [esp + 0x64]
mov edx, dword [esp + 0x24]
push esi
inc edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
push edx
call fcn.004728d0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
inc edi
add esi, 0x10
lea ecx, [edi + eax]
cmp cx, word [edx + 0x86]
jl 0x4646bb
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc esi
movsx edx, word [ecx + 0x86]
neg edx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x28]
shl edx, 4
dec eax
add esi, edx
test ax, ax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], esi
jge 0x464555
mov ecx, dword [esp + 0x30]
lea eax, [ebx - 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
cmp cx, word [eax + 0x84]
jge 0x464ad4
mov cx, word [esp + 0x14]
cmp cx, word [esp + 0x54]
jge 0x464ad4
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
xor edi, edi
lea eax, [edx + 1]
mov edx, dword [esp + 0x40]
lea esi, [ecx + 0x10]
cmp ax, word [edx + 0x86]
jge 0x464965
cmp di, word [esp + 0x54]
jge 0x464965
cmp byte [esi + 0xc], 9
jb 0x464949
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
lea eax, [esp + 0xd8]
push esi
lea ecx, [esp + 0x244]
push eax
push ecx
mov byte [esp + 0x324], 0xc
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x1c8]
push eax
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0xd
call fcn.004051b0
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
mov byte [esp + 0x318], 6
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fst dword [esp + 0xc]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x464949
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x84]
fld dword [esp + 0xc]
push eax
push 1
fstp qword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00429850
fld dword [esp + 0xc]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x46492f
fld dword [esp + 0xc]
fstp qword [esp + 0x64]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
push esi
inc eax
push 1
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], eax
call fcn.00472f60
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
inc edi
add esi, 0x10
inc eax
add eax, edi
cmp ax, word [ecx + 0x86]
jl 0x464855
mov dx, word [esp + 0x10]
cmp dx, word [esp + 0x30]
je 0x464a9d
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
test di, di
mov dword [esp + 0x2c], 0
jl 0x464a9d
mov ax, word [esp + 0x2c]
cmp ax, word [esp + 0x54]
jge 0x464a9d
cmp byte [esi + 0xc], 9
jb 0x464a87
mov ecx, dword [ebx - 8]
mov edx, dword [ebx - 4]
mov eax, dword [ebx]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], eax
lea ecx, [esp + 0x114]
push esi
lea edx, [esp + 0x28c]
push ecx
push edx
mov byte [esp + 0x324], 0xe
call fcn.0041a670
add esp, 0xc
push eax
lea eax, [esp + 0x1e4]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0xf
call fcn.004051b0
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
mov byte [esp + 0x318], 6
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fst dword [esp + 0xc]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x464a87
fld dword [esp + 0xc]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x84]
fstp qword [esp + 0x84]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.00429850
fld dword [esp + 0xc]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x464a6d
fld dword [esp + 0xc]
fstp qword [esp + 0x64]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
inc ecx
push esi
mov dword [esp + 0x28], ecx
push 1
push eax
lea ecx, [esp + 0x54]
call fcn.00472f60
mov eax, dword [esp + 0x2c]
sub esi, 0x10
inc eax
dec edi
test di, di
mov dword [esp + 0x2c], eax
jge 0x46498e
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
inc edx
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movsx edx, word [ecx + 0x86]
shl edx, 4
add esi, edx
cmp ax, word [ecx + 0x84]
mov dword [esp + 0x28], esi
jl 0x464824
mov edi, dword [esp + 0x24]
cmp di, 4
jl 0x4650c9
fld qword [esp + 0x64]
fmul qword [0x4e4550]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
fstp qword [esp + 0x64]
je 0x464b2a
fld qword [eax]
fmul qword [0x4e4548]
add eax, 8
fdiv qword [esp + 0x64]
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 + 0x38]
jne 0x464afc
mov edx, dword [esp + 0x4c]
lea esi, [ebx - 8]
push esi
push 1
push edx
lea ecx, [esp + 0x54]
inc edi
call fcn.00472f60
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xcc]
push eax
push 1
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0x3ff00000
call fcn.00429850
mov edx, dword [esi]
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
lea edx, [esp + 0xf0]
lea eax, [esp + 0x258]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0x10
call fcn.004051b0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
movsx ecx, di
test eax, eax
mov byte [esp + 0x318], 6
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], eax
je 0x464ed1
mov eax, ecx
cmp eax, 4
jl 0x464ed1
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x134]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x8c], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
lea edx, [esp + 0xe4]
lea eax, [esp + 0x1f8]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0x11
call fcn.004051b0
mov edi, dword [esp + 0x2c]
xor ecx, ecx
fld qword [0x4e00c0]
mov dword [esp + 0xac], ecx
mov byte [esp + 0x318], 6
mov dword [esp + 0xb0], ecx
mov eax, esi
mov dword [esp + 0xb4], ecx
test edi, edi
mov dword [esp + 0xb8], ecx
jle 0x464cce
mov edx, dword [esp + 0x10]
fld qword [esp + 0xb4]
fld qword [esp + 0xac]
fld qword [esp + 0x8c]
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 0x464c96
fstp qword [esp + 0x8c]
fstp qword [esp + 0xac]
fstp qword [esp + 0xb4]
fdiv qword [esp + 0x8c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x1b0]
fld qword [esp + 0xb8]
fdiv qword [esp + 0x98]
fst qword [esp + 0xb8]
fld qword [esp + 0xc0]
fdiv qword [esp + 0x98]
fst qword [esp + 0xc0]
fstp dword [esp + 0x20]
fstp dword [esp + 0x30]
fstp dword [esp + 0x34]
call fcn.00405110
push eax
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0x12
call fcn.004051b0
test edi, edi
mov byte [esp + 0x318], 6
mov eax, esi
jle 0x464f1e
fld qword [esp + 0x154]
fld qword [esp + 0x13c]
fld qword [esp + 0x134]
mov ecx, dword [esp + 0x10]
mov edx, edi
fld qword [esp + 0x14c]
fld qword [esp + 0x12c]
add ecx, 4
fld dword [ecx - 4]
fsub dword [esp + 0x18]
add ecx, 0xc
add eax, 8
dec edx
fld st(0)
fld st(0)
fmul qword [eax - 8]
fmul st(1)
faddp st(3)
fstp st(0)
fld dword [ecx - 0xc]
fsub dword [esp + 0x1c]
fst dword [esp + 0x10]
fld st(0)
fmul st(1)
fmul qword [eax - 8]
faddp st(4)
fstp st(0)
fld dword [ecx - 8]
fsub dword [esp + 0x20]
fst dword [esp + 0x14]
fld st(0)
fmul qword [eax - 8]
fmul st(1)
fadd qword [esp + 0x16c]
fstp qword [esp + 0x16c]
fstp st(0)
fld st(0)
fmul dword [esp + 0x10]
fmul qword [eax - 8]
faddp st(4)
fmul dword [esp + 0x14]
fmul qword [eax - 8]
faddp st(4)
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fmul qword [eax - 8]
faddp st(5)
jne 0x464d7e
fxch st(4)
fst qword [esp + 0x154]
fxch st(3)
fst qword [esp + 0x13c]
fxch st(2)
fst qword [esp + 0x134]
fxch st(4)
fstp qword [esp + 0x12c]
fstp qword [esp + 0x14c]
fxch st(1)
fxch st(2)
fstp qword [esp + 0x144]
lea edx, [esp + 0x2c8]
lea eax, [esp + 0x12c]
fstp qword [esp + 0x15c]
push edx
push 3
fstp qword [esp + 0x16c]
push eax
call fcn.00475860
fstp st(0)
add esp, 0xc
lea esi, [esp + 0x180]
lea edi, [esp + 0x2e0]
mov dword [esp + 0x10], 3
fld qword [edi + 0x18]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
fstp dword [esp + 0x14]
fld qword [edi]
push ecx
lea eax, [esp + 0x2c]
fstp dword [esp + 0x28]
fld qword [edi - 0x18]
push edx
push eax
fstp dword [esp + 0x34]
lea ecx, [esp + 0x288]
call fcn.00405110
lea ecx, [esp + 0x228]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x320], 0x13
call fcn.004051b0
mov ecx, esi
mov byte [esp + 0x318], 6
call fcn.00405150
mov eax, dword [esp + 0x10]
add edi, 8
add esi, 0xc
dec eax
mov dword [esp + 0x10], eax
jne 0x464e6a
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
sub eax, 0
je 0x464f38
dec eax
jne 0x4650c9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x94], eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x184]
push edx
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0xa0]
push ecx
push edx
push eax
call fcn.00473920
add esp, 0x18
jmp 0x4650c9
fld qword [esp + 0x154]
fld qword [esp + 0x13c]
fld qword [esp + 0x134]
jmp 0x464e23
mov edi, dword [esp + 0x74]
lea ecx, [esp + 0x2a0]
push edi
push ecx
lea ecx, [esp + 0xa0]
call fcn.004051b0
lea edx, [esp + 0x98]
lea eax, [esp + 0x1b0]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00405230
fld dword [esp + 0x180]
fmul dword [eax]
fld dword [esp + 0x184]
fmul dword [eax + 4]
lea ecx, [esp + 0x180]
lea edx, [esp + 0x174]
faddp st(1)
fld dword [esp + 0x188]
fmul dword [eax + 8]
push ecx
lea eax, [esp + 0x1c0]
faddp st(1)
push edx
push eax
mov byte [esp + 0x324], 0x14
fstp qword [esp + 0x180]
call fcn.00405980
add esp, 0xc
lea ecx, [esp + 0x1d4]
push eax
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x320], 0x15
call fcn.004051f0
lea edx, [esp + 0x1ec]
push eax
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x320], 0x16
call fcn.004051b0
fld dword [esp + 0x7c]
fsubr qword [0x4e1438]
mov eax, dword [edi]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x70]
fstp qword [esp + 0xbc]
fld dword [ebx + eax]
mov ecx, dword [ebx + eax - 4]
fstp dword [esp + 0x110]
mov dword [esp + 0x10c], ecx
lea edx, [esp + 0x108]
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0x208]
push eax
push ecx
mov byte [esp + 0x324], 0x17
call fcn.00405980
mov esi, eax
lea edx, [esp + 0xa4]
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x22c]
push eax
push ecx
mov byte [esp + 0x330], 0x18
call fcn.00405860
add esp, 0x18
mov byte [esp + 0x318], 0x19
push esi
lea edx, [esp + 0x238]
mov ecx, eax
push edx
call fcn.004051f0
push eax
lea eax, [esp + 0x250]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x320], 0x1a
call fcn.004051b0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
mov dword [edi], ecx
mov edx, dword [esp + 0x1c]
mov dword [ebx + eax - 4], edx
mov byte [esp + 0x318], 6
fld dword [esp + 0x20]
fstp dword [ebx + eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
add edx, 0x10
inc eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x40]
add ebx, 0x10
mov dword [esp + 0x44], eax
cmp ax, word [edx + 0x86]
jl 0x46451d
mov ecx, dword [esp + 0x60]
mov esi, edx
mov edx, dword [esp + 0x5c]
movsx eax, word [esi + 0x86]
mov edi, dword [esp + 0x30]
shl eax, 4
inc edi
add ecx, eax
add edx, eax
cmp di, word [esi + 0x84]
mov dword [esp + 0x30], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
jl 0x4644fa
mov eax, dword [esi + 0x80]
test eax, eax
je 0x46515e
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 + 0x58]
mov edx, dword [esp + 0x80]
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0x58], eax
mov dword [esi + 0x80], edx
mov edx, dword [ecx]
movsx eax, ax
cmp eax, edx
jl 0x4643e6
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
je 0x4651a3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
push fcn.004011f0
push 3
lea edx, [esp + 0x188]
push 0xc
push edx
mov byte [esp + 0x328], 3
call fcn.004ce690
mov eax, dword [esp + 0x48]
mov dword [esp + 0x318], 0xffffffff
cmp eax, esi
je 0x4651f1
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 + 0x310]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10