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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4c4002
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
push ebx
push esi
push edi
mov eax, dword [0x4f2fb0]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x34], ebx
xor edi, edi
xor esi, esi
cmp dword [ebx + 8], edi
jle 0x45c443
mov eax, dword [ebx + 0x10]
cmp dword [eax + esi*4], edi
lea eax, [eax + esi*4]
je 0x45c43d
mov eax, dword [eax]
push eax
call fcn.0047af7e
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [ecx + esi*4], edi
inc esi
cmp esi, dword [ebx + 8]
jl 0x45c421
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x45c456
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x10], edi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x45c469
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x14], edi
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x45c47c
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x34], edi
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x45c48f
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0xc], edi
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x45c4a2
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x24], edi
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x45c4b5
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x28], edi
mov eax, dword [ebx + 0x2c]
cmp eax, edi
je 0x45c4c8
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x2c], edi
mov eax, dword [ebx + 0x30]
cmp eax, edi
je 0x45c4db
push eax
call fcn.0047af7e
add esp, 4
mov dword [ebx + 0x30], edi
fldz
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
fst qword [ebx + 0xa8]
fst qword [ebx + 0xa0]
mov edx, esi
fst qword [ebx + 0x88]
shl edx, 4
fst qword [ebx + 0x80]
lea ecx, [edx + edi - 0x10]
fst qword [ebx + 0x78]
mov dword [esp + 0x1c], ecx
fst qword [ebx + 0x70]
fst qword [ebx + 0x68]
fst qword [ebx + 0x60]
fst qword [ebx + 0x58]
fst qword [ebx + 0x50]
fst qword [ebx + 0x48]
fstp qword [ebx + 0x40]
call fcn.00466230
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.00466230
fld qword [eax]
mov eax, dword [esp + 0x2c]
fcomp qword [eax]
fnstsw ax
test ah, 0x41
jne 0x45c547
cmp dword [ebx + 0x3c], 0
jg 0x45c54d
jmp 0x45c5b1
cmp dword [ebx + 0x3c], 0
jge 0x45c5b1
mov eax, esi
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x45c5b1
mov ecx, dword [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x1c], eax
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x4c], edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x50], edi
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edi, dword [edx + 0xc]
mov dword [ecx + 0xc], edi
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0xc], eax
sub ecx, 0x10
add edx, 0x10
sub dword [esp + 0x1c], 1
jne 0x45c562
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi - 1]
cmp eax, 1
mov dword [esp + 0x10], 1
jle 0x45c737
lea esi, [edi + 0x10]
lea ecx, [edi + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edi
jmp 0x45c5e0
mov edx, dword [edi]
mov ecx, dword [edi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [edi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esi]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], edx
lea edx, [esp + 0x64]
push edx
mov dword [eax + 0xc], ecx
call fcn.00466480
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
lea edx, [esp + 0x74]
push edx
mov dword [eax + 0xc], ecx
call fcn.00466480
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
add esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00466bb0
fabs
fcomp qword [0x4c77f8]
add esp, 0x20
fnstsw ax
test ah, 5
jp 0x45c70e
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x20]
jge 0x45c6f3
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add ecx, ecx
add ecx, ecx
and ecx, 0x3ffffffc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov eax, 1
sub dword [ebp + 8], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x10], eax
sub esi, 0x10
sub edi, 0x10
sub dword [esp + 0x14], 0x10
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x10
inc eax
add esi, 0x10
add edi, 0x10
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edi
jl 0x45c5e0
mov esi, dword [ebp + 8]
lea eax, [esi + esi + 1]
mov dword [ebx + 8], eax
xor ecx, ecx
inc eax
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
inc eax
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 8]
inc eax
push eax
call fcn.0047af73
mov dword [ebx + 0xc], eax
xor eax, eax
add esp, 0x10
cmp dword [ebx + 8], eax
jl 0x45c7d4
fldz
cmp eax, dword [ebx + 8]
jge 0x45c7b9
mov ecx, dword [ebx + 0x10]
mov dword [ecx + eax*4], 0
mov edx, dword [ebx + 0x34]
fst qword [edx + eax*8]
mov ecx, dword [ebx + 0x14]
fst qword [ecx + eax*8]
mov edx, dword [ebx + 0xc]
mov byte [eax + edx], 0
inc eax
cmp eax, dword [ebx + 8]
jle 0x45c7ad
fstp st(0)
mov eax, dword [ebp + 8]
fld1
dec eax
fst qword [esp + 0x3c]
test eax, eax
jle 0x45c8db
mov esi, dword [ebp + 0xc]
mov edi, eax
jmp 0x45c7f0
mov ecx, dword [esi + 0x10]
fstp st(0)
mov edx, dword [esi + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esi]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x64]
push eax
call fcn.00466480
mov edx, dword [eax]
add esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00466a60
fld qword [esp + 0x4c]
fcom st(1)
add esp, 0x10
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x45c8cf
mov ecx, dword [esi + 0x10]
fstp st(0)
mov edx, dword [esi + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esi]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x74]
push eax
call fcn.00466480
mov edx, dword [eax]
add esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00466a60
fst qword [esp + 0x4c]
add esp, 0x10
add esi, 0x10
sub edi, 1
jne 0x45c7f0
cmp dword [ebp + 8], 0
fmul qword [0x4c7a78]
fstp qword [esp + 0x3c]
jle 0x45c92a
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, esi
call fcn.00466240
fld qword [eax]
fabs
fcomp qword [ebx + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x45c916
mov ecx, esi
call fcn.00466240
fld qword [eax]
fabs
jmp 0x45c91c
fld qword [ebx + 0xa0]
add esi, 0x10
fstp qword [ebx + 0xa0]
sub edi, 1
jne 0x45c8f1
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x1c0], eax
cmp edi, eax
je 0x45c978
mov ebx, dword [ebp + 8]
dec ebx
mov esi, edi
test ebx, ebx
jl 0x45c972
mov ecx, esi
call fcn.004661f0
add esi, 0x10
sub ebx, 1
jns 0x45c963
mov dword [esp + 0x20], edi
jmp 0x45c97c
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x1c0], 0xffffffff
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c0], 1
test edi, edi
je 0x45c9d7
mov ebx, dword [ebp + 8]
dec ebx
mov esi, edi
test ebx, ebx
jl 0x45c9d1
mov ecx, esi
call fcn.004661f0
add esi, 0x10
sub ebx, 1
jns 0x45c9c2
mov dword [esp + 0x14], edi
jmp 0x45c9df
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x1c0], 0xffffffff
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c0], 2
test edi, edi
je 0x45ca3a
mov ebx, dword [ebp + 8]
dec ebx
mov esi, edi
test ebx, ebx
jl 0x45ca34
mov ecx, esi
call fcn.004661f0
add esi, 0x10
sub ebx, 1
jns 0x45ca25
mov dword [esp + 0x1c], edi
jmp 0x45ca42
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
mov dword [esp + 0x1c0], 0xffffffff
neg ecx
or ecx, eax
push ecx
call fcn.0047af73
add esp, 4
cmp dword [ebp + 8], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0
jle 0x45cfcb
fld qword [esp + 0x3c]
fld qword [0x4c7900]
call fcn.00499ba0
fstp qword [esp + 0x44]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
sub ebx, esi
sub eax, esi
mov dword [esp + 0x18], eax
nop
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jge 0x45cb61
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x138]
push ecx
call fcn.00466300
add esp, 4
mov ecx, eax
call fcn.00466200
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00466480
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
lea edi, [edx + esi]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
add esp, 0x24
mov dword [edi + 0xc], edx
jmp 0x45ccd3
mov eax, dword [ebp + 8]
dec eax
sub esp, 0x10
cmp ecx, eax
jge 0x45cc24
mov ecx, dword [ebx + esi]
mov edx, dword [ebx + esi + 4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + esi + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + esi - 0x10]
lea eax, [ebx + esi - 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xc4]
push ecx
call fcn.00466480
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + esi]
mov edx, dword [ebx + esi + 4]
add esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + esi + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + esi + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + esi + 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebx + esi + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x164]
push eax
call fcn.00466480
add esp, 0x24
jmp 0x45ccb6
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, edx
shl ecx, 4
mov edi, dword [ecx + eax - 0x10]
lea eax, [ecx + eax - 0x10]
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
lea eax, [edx - 2]
shl eax, 4
add eax, dword [ebp + 0xc]
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.00466480
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
add esp, 0x24
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0xe8]
push edx
mov dword [esi + 0xc], eax
call fcn.00466300
add esp, 4
mov ecx, eax
call fcn.00466200
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
lea edi, [ecx + esi]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
push esi
call fcn.00467560
push edi
call fcn.00467560
add esp, 8
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call fcn.00466200
mov edx, dword [edi]
mov ecx, dword [edi + 4]
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, esp
mov dword [eax], edx
mov edx, dword [edi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.00466df0
fstp qword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.00466df0
fsubr qword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
fst qword [edx + eax*8]
add esp, 0x10
fmul qword [0x4c79c0]
call fcn.00499060
fst qword [esp + 0x2c]
fld st(0)
fabs
fcomp qword [0x4c77f8]
fnstsw ax
test ah, 5
jnp 0x45cd76
fdivr qword [esp + 0x3c]
fstp qword [esp + 0x2c]
jmp 0x45cd78
fstp st(0)
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x124]
push eax
call fcn.004663c0
mov edx, dword [eax]
add esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.004674b0
fld qword [esp + 0x40]
mov edx, dword [eax]
add esp, 4
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
sub esp, 8
lea ecx, [esp + 0xcc]
fstp qword [esp]
push ecx
call fcn.00466540
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebx + esi + 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + esi + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xf4]
push eax
call fcn.004663c0
mov edx, dword [eax]
mov ecx, dword [esp + 0x48]
mov dword [ecx + esi], edx
mov edx, dword [eax + 4]
add esp, 0x24
mov dword [ecx + esi + 4], edx
mov edx, dword [eax + 8]
fld qword [esp + 0x2c]
fld qword [0x4c7900]
mov dword [ecx + esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + esi + 0xc], eax
call fcn.00499ba0
fsub qword [esp + 0x44]
call fcn.0049a190
fst qword [esp + 0x2c]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
lea eax, [esp + 0x10c]
fstp qword [esp]
push eax
call fcn.00466540
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebx + esi + 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + esi + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x134]
push eax
call fcn.004663c0
fld qword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
lea eax, [esp + 0x8c]
fstp qword [esp]
push eax
call fcn.00466540
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebx + esi + 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + esi + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x84]
push eax
call fcn.004663c0
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x34]
inc eax
add esp, 0x24
add esi, 0x10
cmp eax, dword [ebp + 8]
mov dword [edi + 0xc], edx
mov dword [esp + 0x10], eax
jl 0x45cab0
cmp dword [ebp + 8], 0
mov esi, dword [esp + 0x34]
mov dword [esp + 0x10], 0
jle 0x45d543
cmp dword [esp + 0x10], 0
jne 0x45d0c8
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.00466240
fld qword [eax]
mov eax, dword [esi + 0x14]
fchs
fstp qword [eax]
mov ecx, dword [esi + 0x14]
fldz
push 0x60
fstp qword [ecx + 8]
call fcn.0047af44
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c0], 3
test eax, eax
je 0x45d094
mov edi, dword [esi + 0x14]
mov ecx, ebx
call fcn.00466240
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00466230
fldz
sub esp, 0x10
fstp qword [esp + 8]
fld qword [eax]
lea ecx, [esp + 0x74]
fstp qword [esp]
call fcn.004661d0
fld qword [edi + 8]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [edi]
fstp qword [esp]
push edx
fld qword [ecx]
mov edx, dword [eax]
sub esp, 0x18
mov ecx, esp
fstp qword [esp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x60]
call fcn.00455490
jmp 0x45d096
xor eax, eax
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
mov ecx, ebx
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00466230
fld qword [eax]
mov edx, dword [esi + 0x34]
fstp qword [edx + 8]
mov eax, dword [esi + 0x34]
fld qword [eax + 8]
fstp qword [eax]
mov eax, dword [esi + 0xc]
mov byte [eax], 0x6b
jmp 0x45d20b
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
shl edi, 4
mov edx, dword [edi + ecx]
lea ebx, [edi + ecx]
mov ecx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + ecx - 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [edi + ecx - 0xc]
mov dword [eax + 4], edx
mov edx, dword [edi + ecx - 8]
mov ecx, dword [edi + ecx - 4]
mov dword [eax + 8], edx
lea edx, [esp + 0x94]
push edx
mov dword [eax + 0xc], ecx
call fcn.00466480
mov ecx, dword [esi + 0x14]
mov edx, dword [eax]
add ecx, edi
add esp, 0x14
mov dword [esp + 0x34], ecx
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00466a60
mov eax, dword [esp + 0x34]
fadd qword [eax]
push 0x60
fstp qword [eax + 8]
call fcn.0047af44
add esp, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c0], 4
test eax, eax
je 0x45d1d9
mov ecx, dword [esi + 0x14]
fld qword [ecx + edi + 8]
add ecx, edi
sub esp, 0x20
fstp qword [esp + 0x18]
mov edx, esp
fld qword [ecx]
mov ecx, dword [ebx]
fstp qword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [edx + 8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov ecx, dword [edi + ecx - 0x10]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [edi + ecx - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [edi + ecx - 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [edi + ecx - 4]
mov dword [edx + 0xc], ecx
mov ecx, eax
call fcn.00454f00
jmp 0x45d1db
xor eax, eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [edx + ecx*8], eax
mov ecx, ebx
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00466230
fld qword [eax]
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x10]
fstp qword [edx + edi + 8]
mov eax, dword [esi + 0xc]
mov byte [eax + ecx*2], 0x67
mov ecx, dword [esp + 0x10]
fld qword [esp + 0x3c]
mov edx, dword [esi + 0x14]
mov ebx, ecx
shl ebx, 4
lea eax, [edx + ebx]
mov edx, dword [esp + 0x28]
fmul qword [edx + ecx*8]
mov ecx, dword [esp + 0x20]
sub esp, 0x10
add ecx, ebx
fabs
mov dword [esp + 0x3c], ecx
fadd qword [eax + 8]
fstp qword [eax + 0x10]
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx + eax]
lea edi, [ebx + eax]
mov eax, esp
mov dword [eax], edx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov edx, dword [edi + 8]
mov dword [eax + 8], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
lea edx, [esp + 0x194]
push edx
mov dword [eax + 0xc], ecx
call fcn.00466480
mov edx, dword [eax]
add esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00466df0
fst qword [esp + 0x44]
fld qword [0x4c88b0]
add esp, 0x10
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x45d2c4
fsub qword [0x4c79a8]
fstp qword [esp + 0x34]
jmp 0x45d2c6
fstp st(0)
push 0x48
call fcn.0047af44
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c0], 5
test eax, eax
je 0x45d341
mov ecx, dword [esi + 0x14]
fld qword [ecx + ebx + 0x10]
lea edx, [ecx + ebx]
mov ecx, dword [esp + 0x10]
push 0
sub esp, 0x30
fstp qword [esp + 0x28]
fld qword [edx + 8]
mov edx, dword [esp + 0x5c]
fstp qword [esp + 0x20]
fld qword [esp + 0x68]
fld st(0)
fadd qword [edx + ecx*8]
mov ecx, dword [edi]
mov edx, esp
sub esp, 8
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
mov dword [edx], ecx
mov ecx, dword [edi + 4]
fld qword [esp + 0x78]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edx + 0xc], ecx
fstp qword [esp]
mov ecx, eax
call fcn.00454a50
jmp 0x45d343
xor eax, eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [edx + ecx*8 + 4], eax
mov edx, dword [esp + 0x14]
lea ecx, [ebx + edx]
mov dword [esp + 0x1c0], 0xffffffff
mov dword [esp + 0x34], ecx
call fcn.00466230
fld qword [eax]
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp + 8]
fstp qword [ecx + ebx + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xc]
dec eax
mov byte [edx + ecx*2 + 1], 0x72
cmp ecx, eax
jne 0x45d447
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
shl ebx, 4
lea ecx, [eax + ebx - 0x10]
mov dword [esp + 0x18], ecx
call fcn.00466240
fld qword [eax]
mov ecx, dword [esi + 0x14]
fadd qword [ecx + ebx]
add ecx, ebx
push 0x60
fstp qword [ecx + 8]
call fcn.0047af44
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c0], 6
test eax, eax
je 0x45d41f
mov edx, dword [esi + 0x14]
fld qword [edx + ebx + 8]
lea ecx, [edx + ebx]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ecx]
mov ecx, dword [esi + 0x3c]
fstp qword [esp]
push ecx
fldz
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
sub esp, 0x18
mov edx, esp
fstp qword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, eax
call fcn.00455490
jmp 0x45d421
xor eax, eax
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp + 8]
mov dword [edx + ecx*8], eax
mov eax, dword [esi + 0x34]
fld qword [ebx + eax]
add ebx, eax
fstp qword [ebx + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1c0], 0xffffffff
mov byte [edx + ecx*2], 0x6b
mov ecx, dword [esp + 0x34]
call fcn.00466230
mov ecx, edi
mov ebx, eax
call fcn.00466230
fld qword [eax]
fcomp qword [ebx]
fnstsw ax
test ah, 1
jne 0x45d481
mov ecx, edi
call fcn.00466230
mov ecx, dword [esp + 0x2c]
mov ebx, eax
call fcn.00466230
fld qword [eax]
fcomp qword [ebx]
fnstsw ax
test ah, 1
je 0x45d4bf
mov ecx, dword [esp + 0x2c]
call fcn.00466230
mov ecx, edi
mov ebx, eax
call fcn.00466230
fld qword [eax]
fcomp qword [ebx]
fnstsw ax
test ah, 1
jne 0x45d531
mov ecx, edi
call fcn.00466230
mov ecx, dword [esp + 0x34]
mov ebx, eax
call fcn.00466230
fld qword [eax]
fcomp qword [ebx]
fnstsw ax
test ah, 1
jne 0x45d531
mov ecx, edi
call fcn.00466240
fld qword [eax]
fadd qword [esp + 0x3c]
fcomp qword [esi + 0xa0]
fnstsw ax
test ah, 5
jp 0x45d4e1
fld qword [esi + 0xa0]
jmp 0x45d4ee
mov ecx, edi
call fcn.00466240
fld qword [eax]
fadd qword [esp + 0x3c]
mov eax, dword [esi + 0x10]
fstp qword [esi + 0xa0]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*8 + 4]
mov ebx, dword [edx]
mov ecx, edi
add ebx, 0x14
call fcn.00466230
fld qword [eax]
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [ebx]
sub esp, 8
fstp qword [esp]
call edx
lea eax, [edi + edi + 1]
fstp qword [esi + 0x18]
mov dword [esi + 0xbc], eax
jmp 0x45d535
mov edi, dword [esp + 0x10]
inc edi
cmp edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
jl 0x45cfe1
mov ecx, dword [esp + 0x28]
fld qword [esi + 0xa0]
push ecx
fstp qword [esi + 0xa8]
call fcn.0047af7e
mov edx, dword [esp + 0x20]
push edx
call fcn.0047af7e
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047af7e
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0047af7e
mov eax, dword [esi + 0xc]
add esp, 0x10
mov dword [esi + 0xc8], 0
cmp byte [eax], 0x6b
jne 0x45d5a4
lea esp, [esp]
inc dword [esi + 0xc8]
mov ecx, dword [esi + 0xc8]
mov edx, eax
cmp byte [edx + ecx], 0x6b
je 0x45d590
mov ecx, dword [esi + 8]
dec ecx
mov dword [esi + 0xc4], ecx
cmp byte [ecx + eax], 0x6b
jne 0x45d5d5
jmp 0x45d5c0
dec dword [esi + 0xc4]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0xc4]
cmp byte [edx + eax], 0x6b
je 0x45d5c0
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8