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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
xor ebx, ebx
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp esi, ebx
setne al
sub edi, edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x24]
add edi, 2
cmp edi, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], edi
mov dword [ecx], edi
jg 0x1002a7ba
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x10], edx
mov dword [esp + 0x50], ecx
jmp 0x1002a831
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, ebx
je 0x1002a7cc
push eax
call fcn.10003d40
add esp, 4
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1002a7de
push eax
call fcn.10003d40
add esp, 4
lea esi, [edi*8]
push esi
call fcn.10003ce0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x1002a805
mov dword [esp + 0x2c], 1
jmp 0x1002b1c9
push esi
call fcn.10003ce0
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [esp + 0x50], ecx
jne 0x1002a825
mov dword [esp + 0x2c], 2
jmp 0x1002b1c9
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov dword [edx], ebx
mov dword [eax], ecx
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x20]
fld qword [eax + edx*8 - 8]
lea edx, [eax + edx*8]
cmp esi, ebx
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0xc]
fld qword [eax + edx*8]
fxch st(1)
fstp qword [esp + 0x40]
lea eax, [eax + edx*8]
fst qword [esp + 0x90]
fld st(0)
fsub qword [esp + 0x40]
mov dword [esp + 0x84], eax
fstp qword [esp + 0x60]
jne 0x1002a889
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
fstp qword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x1002abbe
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
test ebx, ebx
mov dword [esp + 0x20], edx
jl 0x1002abbc
fld qword [esp + 0x40]
fsub qword [0x100597c0]
fcomp qword [esi]
fld qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x1002aa2f
fsub qword [esi]
mov eax, dword [esp + 0x10]
push 0
push 0
push ecx
lea ecx, [esp + 0x34]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x28]
push edi
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
fsubr st(1)
push ebx
push eax
push ecx
fstp qword [esp + 0x48]
fstp qword [esp + 0x50]
call fcn.1002a760
mov edx, dword [esp + 0x5c]
add esp, 0x34
xor ecx, ecx
dec edx
test edx, edx
mov dword [esp + 0x2c], eax
jle 0x1002a931
mov eax, dword [esp + 0x10]
fld qword [eax]
fsub qword [esp + 0x60]
inc ecx
add eax, 8
fstp qword [eax - 8]
mov edx, dword [esp + 0x28]
dec edx
cmp ecx, edx
jl 0x1002a91b
mov eax, edi
shl eax, 4
push eax
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x1002b1c9
mov edx, dword [esp + 0x40]
lea ecx, [eax + edi*8]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
push 0
push 0
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [ebp + 0x1c]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x30], ecx
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x28]
push edi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push eax
call fcn.1002a760
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
add esp, 0x34
xor edx, edx
lea eax, [ecx - 1]
test eax, eax
jle 0x1002a9fa
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
sub esi, eax
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov ebx, dword [esi + eax]
add eax, 8
lea ecx, [ecx + edx - 1]
shl ecx, 3
inc edx
mov dword [ecx + edi], ebx
mov ebx, dword [esi + eax - 4]
mov dword [ecx + edi + 4], ebx
mov edi, dword [esp + 0x50]
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 + 0x34]
lea edi, [ecx - 1]
cmp edx, edi
jl 0x1002a9bd
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea edx, [edx + ecx*8 - 8]
add ecx, eax
mov eax, dword [esp + 0x10]
mov esi, dword [edx]
mov dword [eax + ecx*8 - 0x10], esi
mov edx, dword [edx + 4]
mov dword [eax + ecx*8 - 0xc], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp + 0x28]
mov dword [eax], edx
jmp 0x1002b1c9
fsub qword [0x100597c8]
fcomp qword [esi]
fnstsw ax
test ah, 0x41
jne 0x1002aa4e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
fld st(0)
fsub qword [0x100597c8]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
je 0x1002aba4
mov edx, dword [esi]
mov eax, dword [esi + 4]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x24], eax
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x28]
fstp qword [esp + 0x30]
push edi
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ebx
push ecx
push edx
call fcn.1002a760
add esp, 0x34
mov dword [esp + 0x2c], eax
shl edi, 4
push edi
call fcn.10003ce0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x1002b1c9
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
push 0
fld qword [esi + 8]
fsub qword [esp + 0x94]
lea edi, [ecx + eax*8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
push 0
push edi
lea ecx, [esp + 0x40]
push edx
push ecx
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [ebp + 0x14]
fadd qword [esp + 0x5c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ebx
fstp qword [esp + 0x48]
push eax
push ecx
call fcn.1002a760
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
add esp, 0x34
xor edx, edx
lea eax, [ecx - 1]
test eax, eax
jle 0x1002ab74
mov esi, dword [esp + 0x24]
mov eax, edi
sub esi, edi
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
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 + 0x34]
lea ebx, [ecx - 1]
cmp edx, ebx
jl 0x1002ab3f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
fld qword [edx + ecx*8 - 8]
fadd qword [esp + 0x60]
mov edx, dword [esp + 0x10]
add ecx, eax
fstp qword [edx + ecx*8 - 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp + 0x28]
mov dword [eax], edx
jmp 0x1002b1c9
fld st(0)
fsub qword [0x100597c0]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
je 0x1002abbc
fstp qword [esp + 0x1c]
jmp 0x1002abbe
fstp st(0)
mov edx, dword [ebp + 8]
mov eax, 2
cmp edx, eax
jne 0x1002ac0d
cmp dword [ebp + 0xc], eax
jle 0x1002abdc
mov dword [esp + 0x2c], 3
jmp 0x1002b1c9
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [ecx], 0
mov dword [ecx + 4], 0
jmp 0x1002b1c9
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, 1
cmp edx, ebx
lea eax, [ecx*4]
jne 0x1002ac26
add eax, ecx
shl eax, 3
push eax
call fcn.10003ce0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x6c], edi
jne 0x1002ac49
mov dword [esp + 0x2c], 4
jmp 0x1002b1c9
mov esi, dword [ebp + 0xc]
lea ecx, [esi + esi*2]
lea eax, [edi + ecx*8]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov dword [esp + 0x70], eax
jne 0x1002ac65
lea edx, [eax + esi*8]
mov dword [esp + 0x38], edx
lea edx, [esi + esi*2]
test edx, edx
jle 0x1002ac8a
mov ecx, dword [ebp + 0x18]
mov eax, edi
sub ecx, edi
mov ebx, dword [ecx + eax]
mov dword [eax], ebx
mov ebx, dword [ecx + eax + 4]
mov dword [eax + 4], ebx
add eax, 8
dec edx
jne 0x1002ac73
mov ebx, 1
cmp dword [esp + 0x3c], ebx
jne 0x1002ad75
fld qword [0x100597d0]
test esi, esi
jle 0x1002acbd
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov edx, esi
mov ebx, dword [eax]
mov dword [ecx + eax], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + eax + 4], ebx
fadd qword [eax]
add eax, 8
dec edx
jne 0x1002aca9
fcom qword [0x100597d0]
fld qword [0x100597d0]
fld qword [0x100597d0]
fld qword [0x100597d0]
fxch st(2)
fstp qword [esp + 0xb0]
fnstsw ax
fstp qword [esp + 0xb8]
test ah, 1
fstp qword [esp + 0xc0]
fld st(0)
je 0x1002acf7
fchs
fcomp qword [0x100597c0]
fnstsw ax
test ah, 1
je 0x1002ad0e
fstp st(0)
fld qword [0x100597d8]
jmp 0x1002ad14
fdivr qword [0x100597d8]
test esi, esi
jle 0x1002ad48
mov esi, dword [esp + 0x38]
mov ebx, dword [ebp + 0xc]
mov ecx, edi
lea eax, [esp + 0xb0]
mov edx, 3
fld qword [esi]
fmul qword [ecx]
add ecx, 8
add eax, 8
dec edx
fmul st(1)
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x1002ad2d
add esi, 8
dec ebx
jne 0x1002ad21
mov eax, dword [ebp + 0xc]
test eax, eax
fstp st(0)
jle 0x1002ad75
mov esi, dword [ebp + 0xc]
mov eax, edi
lea ecx, [esp + 0xb0]
mov edx, 3
fld qword [eax]
fsub qword [ecx]
add ecx, 8
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x1002ad62
dec esi
jne 0x1002ad56
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x88], 0
cmp ebx, 1
mov dword [esp + 0x8c], 0x3ff00000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x3ff00000
jne 0x1002ade7
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0xa0]
push eax
push ecx
push esi
push ebx
call fcn.100468e0
fld qword [esp + 0xb0]
fmul qword [0x100597e0]
add esp, 0x10
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x1002adea
xor ebx, ebx
mov dword [esp + 0x3c], ebx
jmp 0x1002adea
mov esi, dword [ebp + 0xc]
cmp ebx, 1
jne 0x1002ae89
lea edx, [esp + 0xc8]
push edx
push edi
push esi
push 3
call fcn.100468e0
add esp, 0x10
test esi, esi
jle 0x1002ae29
mov ecx, dword [esp + 0x38]
mov eax, edi
mov edx, 3
fld qword [ecx]
fmul qword [eax]
add eax, 8
dec edx
fstp qword [eax - 8]
jne 0x1002ae16
add ecx, 8
dec esi
jne 0x1002ae11
fld qword [0x100597d0]
lea ecx, [esp + 0xb0]
lea eax, [esp + 0xc8]
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 0x1002ae42
fsqrt
fld qword [esp + 0xa8]
fdiv qword [esp + 0xa0]
fxch st(1)
fmul qword [0x100597e8]
fld st(1)
fxch st(1)
fmul st(2)
fxch st(1)
fstp qword [esp + 0x88]
fstp qword [esp + 0x98]
fstp st(0)
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
add eax, 8
mov dword [esp + 0x30], 2
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
sub ebx, eax
lea ecx, [eax - 1]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x1002af3c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
fld qword [esi]
fsub qword [edi]
fcom qword [0x100597c0]
fnstsw ax
test ah, 1
je 0x1002aee9
fstp st(0)
fld qword [0x100597d0]
jmp 0x1002aefd
mov eax, dword [esp + 0x54]
add ebx, eax
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x60]
fild dword [esp + 0x78]
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 0x1002af04
cmp dword [esp + 0x3c], 1
jne 0x1002af24
fld qword [edx + 8]
fsub qword [edx]
fmul st(1)
fstp qword [edx]
mov ecx, eax
mov eax, dword [esp + 0x58]
add esi, 8
add edi, 8
add edx, 8
dec eax
fstp st(0)
mov dword [esp + 0x58], eax
jne 0x1002aece
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add edx, 8
dec ecx
dec eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], eax
jne 0x1002aeae
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x70]
lea esi, [ecx - 2]
test esi, esi
jle 0x1002afb2
mov edx, dword [esp + 0x6c]
mov ecx, edi
lea eax, [edx + 0x10]
mov edx, esi
fld qword [eax - 0x10]
fld qword [eax - 8]
fld qword [eax]
fxch st(2)
fst qword [esp + 0x60]
fxch st(1)
fst qword [esp + 0x78]
fxch st(1)
fmul qword [esp + 0x60]
fxch st(1)
fmul qword [esp + 0x78]
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 0x1002af78
cmp dword [esp + 0x3c], 1
jne 0x1002aff9
test esi, esi
jle 0x1002aff9
mov edx, dword [esp + 0x38]
mov ecx, edi
sub edx, edi
fld qword [ecx]
fmul qword [esp + 0x88]
fst qword [ecx]
fld qword [edx + ecx]
fcomp qword [0x100597d0]
fld qword [edx + ecx]
fnstsw ax
test ah, 1
je 0x1002afe5
fchs
fmul qword [esp + 0x98]
add ecx, 8
dec esi
fadd st(1)
fstp qword [ecx - 8]
fstp st(0)
jne 0x1002afc5
mov eax, dword [esp + 0x5c]
lea edx, [eax - 1]
test edx, edx
jle 0x1002b07d
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x4c]
add eax, 0xfffffffe
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov ecx, edi
sub ebx, edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x58], edx
sub eax, edi
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x30]
fld qword [ecx]
cmp edx, 1
jle 0x1002b058
mov eax, dword [esp + 0x30]
lea edx, [ecx + 8]
lea edi, [eax - 1]
fcom qword [edx]
fnstsw ax
test ah, 1
je 0x1002b04e
fstp st(0)
fld qword [edx]
add edx, 8
dec edi
jne 0x1002b041
mov eax, dword [esp + 0x60]
mov edx, dword [esi - 8]
add esi, 8
mov dword [ebx + ecx], edx
mov edx, dword [esi - 0xc]
mov dword [ebx + ecx + 4], edx
mov edx, dword [esp + 0x58]
fstp qword [eax + ecx]
add ecx, 8
dec edx
mov dword [esp + 0x58], edx
jne 0x1002b02c
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx]
mov dword [edx + eax*8 - 8], esi
mov esi, dword [ecx + 4]
mov dword [edx + eax*8 - 4], esi
fld qword [esp + 0x14]
fsub qword [esp + 0x40]
fcom qword [0x100597d0]
fnstsw ax
test ah, 1
je 0x1002b0ac
fchs
fcomp qword [0x100597c0]
fnstsw ax
test ah, 1
je 0x1002b0e4
fld qword [esp + 0x1c]
fsub qword [esp + 0x90]
fcom qword [0x100597d0]
fnstsw ax
test ah, 1
je 0x1002b0d3
fchs
fcomp qword [0x100597c0]
fnstsw ax
test ah, 1
jne 0x1002b1c9
fld qword [esp + 0x14]
fcomp qword [esp + 0x40]
xor ebx, ebx
fnstsw ax
test ah, 0x41
jne 0x1002b119
mov edx, dword [esp + 0x4c]
fld qword [edx - 8]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x1002b118
fld qword [edx]
fcomp qword [esp + 0x14]
add edx, 8
inc ebx
fnstsw ax
test ah, 1
jne 0x1002b107
dec ebx
fld qword [esp + 0x1c]
fcomp qword [esp + 0x90]
xor edx, edx
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 1
je 0x1002b15c
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
fld qword [eax + esi*8]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x1002b157
fld qword [ecx - 8]
fcomp qword [esp + 0x1c]
sub ecx, 8
inc edx
fnstsw ax
test ah, 0x41
je 0x1002b145
dec edx
mov dword [esp + 0x30], edx
test ebx, ebx
jle 0x1002b1a3
mov esi, dword [esp + 0x5c]
sub esi, ebx
sub esi, edx
test esi, esi
jle 0x1002b1a3
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov ecx, eax
mov edi, ecx
lea eax, [eax + ebx*8]
sub edx, edi
mov edi, dword [edx + eax]
add eax, 8
mov dword [edx + ecx], edi
mov edi, dword [edx + eax - 4]
mov dword [edx + ecx + 4], edi
mov edi, dword [eax - 8]
mov dword [ecx], edi
mov edi, dword [eax - 4]
mov dword [ecx + 4], edi
add ecx, 8
dec esi
jne 0x1002b17d
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x28]
mov esi, dword [esp + 0x18]
add edx, ebx
sub eax, edx
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], esi
fld qword [esp + 0x1c]
fstp qword [ecx + eax*8 - 8]
mov eax, dword [esp + 0x6c]
push eax
call fcn.10003d40
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x1002b1e7
push eax
call fcn.10003d40
add esp, 4
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret