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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov edx, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
cmp edx, ecx
mov edx, dword [ebp + 0xc]
push ebx
setne al
push esi
mov dword [esp + 0x9c], eax
push edi
mov edi, dword [ebp + 0x10]
shl eax, 2
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x40], ecx
mov esi, dword [eax + edx]
mov edx, dword [eax + edi]
mov ebx, dword [eax + ebx]
sub edi, eax
mov dword [esp + 0x58], ebx
mov ebx, dword [ebp + 0x20]
mov edi, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x48], ecx
mov edi, dword [eax + edi]
xor eax, eax
cmp ebx, ecx
mov dword [esp + 0x5c], edi
setne al
mov ecx, eax
lea eax, [edi + esi*8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], eax
neg ecx
sbb ecx, ecx
mov dword [esp + 0x68], esi
and ecx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax - 8]
mov eax, dword [eax - 4]
mov dword [esp + 0x38], ecx
fld qword [edi + edx*8]
mov dword [esp + 0x3c], eax
lea eax, [edi + edx*8]
fst qword [esp + 0x88]
fld st(0)
fsub qword [esp + 0x38]
mov edi, edx
mov dword [esp + 0xa4], eax
sub edi, esi
mov esi, dword [ebp + 0x24]
test esi, esi
fstp qword [esp + 0x60]
lea ecx, [edi + 2]
mov dword [esp + 0x2c], ecx
jne 0x10023201
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
fstp qword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x10023535
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x28], ecx
jl 0x10023533
fld qword [esp + 0x38]
fsub qword [0x100596a0]
fcomp qword [esi]
fld qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x100233a6
mov edx, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
fsub qword [esi]
push edx
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x38]
push edi
lea ecx, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
fsubr st(1)
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
fstp qword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 8]
fstp qword [esp + 0x44]
push edx
push eax
push ecx
call fcn.10023120
mov edx, dword [esp + 0x60]
add esp, 0x2c
mov dword [esp + 0x48], eax
lea ecx, [edx - 1]
test ecx, ecx
jle 0x100232a2
mov eax, edi
fld qword [eax]
fsub qword [esp + 0x60]
add eax, 8
dec ecx
fstp qword [eax - 8]
jne 0x10023293
mov eax, dword [esp + 0x2c]
shl eax, 4
push eax
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x10023bd7
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx*8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
push ecx
mov ecx, dword [ebp + 0x1c]
push eax
lea edx, [esp + 0x4c]
lea eax, [esp + 0x24]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.10023120
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x74], eax
add esp, 0x2c
xor edx, edx
lea eax, [ecx - 1]
test eax, eax
jle 0x10023375
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
sub esi, eax
mov dword [esp + 0x5c], esi
jmp 0x1002333d
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esi + eax]
add eax, 8
lea ecx, [ecx + edx - 1]
shl ecx, 3
inc edx
mov dword [ecx + edi], ebx
mov esi, dword [esi + eax - 4]
mov dword [ecx + edi + 4], esi
mov esi, dword [ebp + 0x30]
mov ebx, dword [eax - 8]
mov dword [ecx + esi], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + esi + 4], ebx
mov ecx, dword [esp + 0x44]
lea esi, [ecx - 1]
cmp edx, esi
jl 0x10023339
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx*8 - 8]
mov edx, dword [esp + 0x34]
add ecx, edx
mov edx, dword [eax]
mov dword [edi + ecx*8 - 0x10], edx
mov eax, dword [eax + 4]
mov dword [edi + ecx*8 - 0xc], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
jmp 0x10023bd7
fsub qword [0x100596a8]
fcomp qword [esi]
fnstsw ax
test ah, 0x41
jne 0x100233c5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
fld st(0)
fsub qword [0x100596a8]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
je 0x1002351b
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
push edi
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x24]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ebx
fstp qword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.10023120
mov ecx, dword [esp + 0x58]
add esp, 0x2c
shl ecx, 4
push ecx
mov dword [esp + 0x4c], eax
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x10023bd7
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
fld qword [esi + 8]
fsub qword [esp + 0x88]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x48]
push eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push ebx
fadd qword [esp + 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
fstp qword [esp + 0x44]
push eax
push ecx
push edx
call fcn.10023120
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x74], eax
add esp, 0x2c
xor edx, edx
lea eax, [ecx - 1]
test eax, eax
jle 0x100234ec
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
sub esi, eax
mov ecx, dword [esp + 0x34]
mov ebx, dword [ebp + 0x2c]
fld qword [eax + esi]
fadd qword [esp + 0x60]
lea ecx, [ecx + edx - 1]
add eax, 8
shl ecx, 3
inc edx
fstp qword [ecx + ebx]
mov ebx, dword [eax - 8]
mov dword [ecx + edi], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + edi + 4], ebx
mov ecx, dword [esp + 0x44]
lea ebx, [ecx - 1]
cmp edx, ebx
jl 0x100234b8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
fld qword [edx + ecx*8 - 8]
fadd qword [esp + 0x60]
mov edx, dword [ebp + 0x2c]
add ecx, eax
fstp qword [edx + ecx*8 - 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp + 0x28]
mov dword [eax], edx
jmp 0x10023bd7
fld st(0)
fsub qword [0x100596a0]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
je 0x10023533
fstp qword [esp + 0x24]
jmp 0x10023535
fstp st(0)
cmp dword [esp + 0x68], 2
jne 0x10023571
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x24]
fld qword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
fstp qword [eax]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp + 0x28]
mov dword [eax], 2
jmp 0x10023bd7
mov ecx, dword [esp + 0x30]
lea eax, [edx*4]
cmp ecx, 1
jne 0x10023583
add eax, edx
lea ecx, [eax*8]
push ecx
call fcn.10003ce0
mov ecx, eax
xor esi, esi
add esp, 4
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x100235ac
mov dword [esp + 0x48], 4
jmp 0x10023bd7
mov eax, dword [esp + 0xc]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x30]
cmp edx, 1
mov dword [esp + 0x7c], ecx
jne 0x100235ca
lea eax, [ecx + eax*8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x30]
inc edi
cmp edi, esi
jle 0x100235fa
mov edx, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x6c]
sub edx, eax
mov ebx, edi
mov esi, dword [ecx - 8]
add ecx, 8
mov dword [edx + eax], esi
mov esi, dword [ecx - 0xc]
mov dword [edx + eax + 4], esi
xor esi, esi
mov dword [eax], esi
mov dword [eax + 4], esi
add eax, 8
dec ebx
jne 0x100235dd
fld qword [esp + 0x88]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], esi
fstp qword [ecx + edi*8]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x54]
mov edx, dword [ecx + 4]
cmp eax, esi
mov dword [esp + 0x58], edx
jle 0x10023a9f
mov dword [esp + 0x70], esi
mov edi, dword [esp + 0xc]
xor ebx, ebx
fld qword [0x100596b0]
test edi, edi
jle 0x100236c6
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x10023668
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ebx]
mov esi, dword [ebp + 0x1c]
lea ecx, [edx + edx*2]
lea ecx, [esi + ecx*8]
mov esi, 3
mov edi, dword [ecx]
add ecx, 8
mov dword [eax], edi
mov edi, dword [ecx - 4]
mov dword [eax + 4], edi
add eax, 8
dec esi
jne 0x10023676
cmp dword [esp + 0x30], 1
jne 0x100236a4
mov ecx, dword [esp + 0x9c]
fld qword [ecx + edx*8]
mov edx, dword [esp + 0x18]
fld st(0)
faddp st(2)
fstp qword [edx]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x18]
add edx, edi
mov edi, dword [esp + 0xc]
inc ebx
add esi, 8
cmp ebx, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], esi
jl 0x10023656
cmp dword [esp + 0x30], 1
jne 0x1002378a
fcom qword [0x100596b0]
fld qword [0x100596b0]
fld qword [0x100596b0]
fld qword [0x100596b0]
fxch st(2)
fstp qword [esp + 0xc0]
fnstsw ax
fstp qword [esp + 0xc8]
test ah, 1
fstp qword [esp + 0xd0]
fld st(0)
je 0x1002370b
fchs
fcomp qword [0x100596a0]
fnstsw ax
test ah, 1
je 0x10023722
fstp st(0)
fld qword [0x100596b8]
jmp 0x10023728
fdivr qword [0x100596b8]
test edi, edi
jle 0x1002375d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ebx, edi
lea eax, [esp + 0xc0]
mov esi, 3
fld qword [ecx]
fmul qword [edx]
add ecx, 8
add eax, 8
dec esi
fmul st(1)
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x10023742
add edx, 8
dec ebx
jne 0x10023736
test edi, edi
fstp st(0)
jle 0x1002378c
mov eax, dword [esp + 0x14]
mov esi, edi
lea ecx, [esp + 0xc0]
mov edx, 3
fld qword [eax]
fsub qword [ecx]
add ecx, 8
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x10023775
dec esi
jne 0x10023769
jmp 0x1002378c
fstp st(0)
mov esi, dword [esp + 0x30]
mov dword [esp + 0xa8], 0
cmp esi, 1
mov dword [esp + 0xac], 0x3ff00000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3ff00000
jne 0x100238a8
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xb0]
push eax
push ecx
push edi
push esi
call fcn.100468e0
fld qword [esp + 0xc0]
fmul qword [0x100596c0]
mov dword [esp + 0x58], eax
add esp, 0x10
fcomp qword [esp + 0xb8]
fnstsw ax
test ah, 0x41
jne 0x10023801
xor esi, esi
mov dword [esp + 0x30], esi
cmp esi, 1
jne 0x100238a8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xd8]
push edx
push eax
push edi
push 3
call fcn.100468e0
add esp, 0x10
test edi, edi
jle 0x10023848
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov esi, edi
mov edx, 3
fld qword [ecx]
fmul qword [eax]
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x10023835
add ecx, 8
dec esi
jne 0x10023830
fld qword [0x100596b0]
lea ecx, [esp + 0xc0]
lea eax, [esp + 0xd8]
mov edx, 3
fld qword [eax + 8]
fsub qword [eax]
add eax, 0x10
add ecx, 8
dec edx
fld st(0)
fmul st(1)
faddp st(2)
fstp qword [ecx - 8]
jne 0x10023861
fsqrt
fld qword [esp + 0xb8]
fdiv qword [esp + 0xb0]
fxch st(1)
fmul qword [0x100596c8]
fld st(1)
fxch st(1)
fmul st(2)
fxch st(1)
fstp qword [esp + 0xa8]
fstp qword [esp + 0x90]
fstp st(0)
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x68]
add ecx, 8
lea edx, [edi - 1]
sub ebx, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], 2
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x10023960
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
fld qword [esi]
fsub qword [edi]
fcom qword [0x100596a0]
fnstsw ax
test ah, 1
je 0x10023907
fstp st(0)
fld qword [0x100596b0]
jmp 0x10023921
mov eax, dword [esp + 0x18]
add ebx, eax
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x60]
fild dword [esp + 0x80]
fdivrp st(1)
mov eax, ecx
mov ecx, 3
fld qword [eax + 0x18]
fsub qword [eax]
add eax, 8
dec ecx
fmul st(1)
fstp qword [eax - 8]
jne 0x10023928
cmp dword [esp + 0x30], 1
jne 0x10023948
fld qword [edx + 8]
fsub qword [edx]
fmul st(1)
fstp qword [edx]
mov ecx, eax
mov eax, dword [esp + 0x78]
add esi, 8
add edi, 8
add edx, 8
dec eax
fstp st(0)
mov dword [esp + 0x78], eax
jne 0x100238ec
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
add edx, 8
dec ecx
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
jne 0x100238cc
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x7c]
lea ebx, [ecx - 2]
test ebx, ebx
jle 0x100239dd
mov edx, dword [esp + 0x14]
mov ecx, esi
lea eax, [edx + 0x10]
mov edx, ebx
fld qword [eax - 0x10]
fld qword [eax - 8]
fld qword [eax]
fxch st(2)
fst qword [esp + 0x60]
fxch st(1)
fst qword [esp + 0x80]
fxch st(1)
fmul qword [esp + 0x60]
fxch st(1)
fmul qword [esp + 0x80]
fld st(2)
fmul st(3)
fxch st(1)
faddp st(2)
add eax, 0x18
add ecx, 8
dec edx
faddp st(1)
fsqrt
fstp qword [ecx - 8]
fstp st(0)
jne 0x1002399d
cmp dword [esp + 0x30], 1
jne 0x10023a24
test ebx, ebx
jle 0x10023a24
mov edx, dword [esp + 0x40]
mov ecx, esi
sub edx, esi
fld qword [ecx]
fmul qword [esp + 0xa8]
fst qword [ecx]
fld qword [edx + ecx]
fcomp qword [0x100596b0]
fld qword [edx + ecx]
fnstsw ax
test ah, 1
je 0x10023a10
fchs
fmul qword [esp + 0x90]
add ecx, 8
dec ebx
fadd st(1)
fstp qword [ecx - 8]
fstp st(0)
jne 0x100239f0
mov eax, dword [esp + 0x2c]
dec eax
test eax, eax
jle 0x10023a7c
mov ecx, dword [esp + 0x68]
mov edx, dword [ebp + 0x30]
sub esi, edx
mov dword [esp + 0x50], eax
lea edi, [ecx - 2]
fld qword [esi + edx]
cmp edi, 1
jle 0x10023a5f
lea ecx, [esi + edx + 8]
lea ebx, [edi - 1]
fcom qword [ecx]
fnstsw ax
test ah, 1
je 0x10023a59
fstp st(0)
fld qword [ecx]
add ecx, 8
dec ebx
jne 0x10023a4c
fcom qword [edx]
fnstsw ax
test ah, 0x41
jne 0x10023a6c
fstp qword [edx]
jmp 0x10023a6e
fstp st(0)
mov eax, dword [esp + 0x50]
add edx, 8
dec eax
mov dword [esp + 0x50], eax
jne 0x10023a3d
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
inc eax
add esi, edx
cmp eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], esi
jl 0x1002362e
fld qword [esp + 0x1c]
fsub qword [esp + 0x38]
fcom qword [0x100596b0]
fnstsw ax
test ah, 1
je 0x10023ab6
fchs
fcomp qword [0x100596a0]
fnstsw ax
test ah, 1
je 0x10023aee
fld qword [esp + 0x24]
fsub qword [esp + 0x88]
fcom qword [0x100596b0]
fnstsw ax
test ah, 1
je 0x10023add
fchs
fcomp qword [0x100596a0]
fnstsw ax
test ah, 1
jne 0x10023bd7
fld qword [esp + 0x1c]
fcomp qword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
xor edi, edi
fnstsw ax
test ah, 0x41
jne 0x10023b27
mov ecx, dword [esp + 0x6c]
fld qword [ecx - 8]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x10023b26
fld qword [ecx]
fcomp qword [esp + 0x1c]
add ecx, 8
inc edi
fnstsw ax
test ah, 1
jne 0x10023b15
dec edi
fld qword [esp + 0x24]
fcomp qword [esp + 0x88]
xor edx, edx
mov dword [esp + 0x54], edx
fnstsw ax
test ah, 1
je 0x10023b73
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
fld qword [eax + ecx*8]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x10023b6e
mov ecx, dword [esp + 0xa4]
fld qword [ecx - 8]
fcomp qword [esp + 0x24]
sub ecx, 8
inc edx
fnstsw ax
test ah, 0x41
je 0x10023b5c
dec edx
mov dword [esp + 0x54], edx
test edi, edi
jle 0x10023bb6
mov esi, ebx
sub esi, edi
sub esi, edx
test esi, esi
jle 0x10023bb6
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
sub edx, ecx
lea eax, [ecx + edi*8]
mov ebx, dword [eax + edx]
add eax, 8
mov dword [ecx + edx], ebx
mov ebx, dword [eax + edx - 4]
mov dword [ecx + edx + 4], ebx
mov ebx, dword [eax - 8]
mov dword [ecx], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 4], ebx
add ecx, 8
dec esi
jne 0x10023b8c
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x1c]
fld qword [esp + 0x24]
add edx, edi
sub ebx, edx
mov edx, dword [ebp + 0x28]
mov dword [edx], ebx
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp qword [eax + ebx*8 - 8]
mov eax, dword [esp + 0x14]
push eax
call fcn.10003d40
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10023bf5
push eax
call fcn.10003d40
add esp, 4
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret