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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], ecx
jle 0x10003b0f
lea eax, [ebx + 4]
mov dword [esp + 0x10], eax
inc ecx
cmp ecx, edi
mov dword [esp + 0x6c], ecx
jne 0x10003764
xor ecx, ecx
lea eax, [ecx + 1]
cmp eax, edi
mov dword [esp + 0x68], eax
jne 0x10003771
xor eax, eax
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
mov dword [esp + 0x38], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 8]
mov dword [esp + 0x40], esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x44], edx
mov edx, ecx
shl edx, 4
fld qword [esp + 0x40]
lea esi, [edx + ebx + 4]
mov edx, esi
shl eax, 4
mov ebx, dword [edx]
mov dword [esp + 0x58], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x5c], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x60], ebx
mov ebx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x64], edx
lea eax, [eax + ebx + 4]
fsub qword [esp + 0x60]
mov edx, dword [eax]
mov dword [esp + 0x48], edx
fld st(0)
fld qword [esp + 0x38]
fsub qword [esp + 0x58]
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 8]
fst qword [esp + 0x98]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
faddp st(1)
fsqrt
fstp qword [esp + 0x20]
fstp st(0)
fstp st(0)
fld qword [esp + 0x60]
fsub qword [esp + 0x50]
fst qword [esp + 0x90]
fld st(0)
fld qword [esp + 0x58]
fsub qword [esp + 0x48]
fst qword [esp + 0x30]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x18]
fstp st(0)
fstp st(0)
fld qword [esp + 0x50]
fsub qword [esp + 0x40]
fld qword [esp + 0x48]
fsub qword [esp + 0x38]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x28]
fstp st(0)
fstp st(0)
fmul qword [esp + 0x98]
fld qword [esp + 0x30]
fmul st(2)
fsubp st(1)
fabs
fstp st(1)
fcom qword [0x3ed240]
fnstsw ax
test ah, 0x41
jne 0x10003896
fld qword [0x3ed1e8]
fadd qword [0x3ed240]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x100038bc
jmp 0x10003898
fstp st(0)
push ecx
push ebx
call fcn.100028e0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 8
dec edi
dec ecx
sub eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x10003af3
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fsubp st(1)
fld qword [esp + 0x18]
fmul qword [esp + 0x18]
fsubp st(1)
fld qword [esp + 0x18]
fmul qword [esp + 0x20]
fmul qword [0x3ed238]
fdivp st(1)
call 0x10030c00
fmul qword [0x3ed200]
fst qword [esp + 0x28]
fmul qword [0x3ed208]
fdiv qword [0x3ed1e0]
fld qword [ebp + 0xc]
fmul qword [0x3ed200]
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1000392e
fadd qword [0x3ed1e8]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x10003af3
jmp 0x10003932
fstp st(0)
fstp st(0)
fld qword [esp + 0x28]
fsin
fdivr qword [ebp + 0x14]
fsub qword [ebp + 0x14]
fld qword [esp + 0x28]
fptan
fstp st(0)
fmul st(1)
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x1000397c
fld qword [0x3ed1e8]
fadd qword [esp + 0x20]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x10003af1
fld qword [esp + 0x18]
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100039a2
fld qword [0x3ed1e8]
fadd st(1)
fld st(2)
fcompp
fnstsw ax
test ah, 0x41
je 0x10003aef
fld st(0)
fsub st(2)
fdiv st(1)
fstp qword [esp + 0x18]
fstp st(0)
fsubr qword [esp + 0x20]
fdiv qword [esp + 0x20]
fld qword [esp + 0x58]
fsub qword [esp + 0x38]
fmul st(1)
fadd qword [esp + 0x38]
fstp qword [esp + 0x80]
fld qword [esp + 0x60]
fsub qword [esp + 0x40]
fmul st(1)
fadd qword [esp + 0x40]
fstp qword [esp + 0x88]
fld qword [esp + 0x30]
fmul qword [esp + 0x18]
fadd qword [esp + 0x48]
fstp qword [esp + 0x70]
fld qword [esp + 0x90]
fmul qword [esp + 0x18]
fadd qword [esp + 0x50]
fstp qword [esp + 0x78]
fcom qword [0x3ed1f0]
fnstsw ax
test ah, 0x40
jne 0x10003af1
fld qword [0x3ed1e8]
fchs
fstp qword [esp + 0x30]
fcom qword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x10003a3e
fcomp qword [0x3ed1e8]
fnstsw ax
test ah, 0x41
jne 0x10003af3
jmp 0x10003a40
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [0x3ed1f0]
fnstsw ax
test ah, 0x40
jne 0x10003af3
fld qword [esp + 0x18]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x10003a75
fld qword [esp + 0x18]
fcomp qword [0x3ed1e8]
fnstsw ax
test ah, 0x41
jne 0x10003af3
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [esi], ecx
mov ecx, dword [esp + 0x8c]
sub esp, 0x10
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x80]
mov edx, esp
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x84]
mov dword [edx], eax
mov eax, dword [esp + 0x88]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x78]
push edx
push ebx
call fcn.10002870
mov eax, dword [esp + 0x84]
add esp, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
inc edi
add eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x10003af3
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc ecx
add edx, 0x10
cmp ecx, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jl 0x10003759
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x10003b1f
push ebx
call fcn.10003bd0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret