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

Disassembly:
sub esp, 0x11c
push ebx
push ebp
mov ebp, dword [esp + 0x128]
push esi
push edi
mov ebx, eax
mov edi, ecx
lea eax, [esp + 0x98]
xor esi, esi
sub edi, eax
lea ecx, [edi + esi*4]
fld dword [esp + ecx + 0x98]
call fcn.10062c10
fmul qword [0x10080150]
inc esi
cmp esi, 0xa
fstp dword [esp + esi*4 + 0x94]
jl 0x10003650
lea ecx, [esp + 0x100]
lea eax, [esp + 0x98]
call fcn.10002760
cmp ebp, 8
je 0x1000385e
fld dword [ebx]
fmul qword [0x10080350]
fadd qword [0x10080348]
fstp dword [esp + 0x44]
fld dword [esp + 0x98]
fsub dword [esp + 0x44]
fstp dword [esp + 0x6c]
fld dword [ebx + 4]
fmul qword [0x10080340]
fadd qword [0x10080338]
fstp dword [esp + 0x48]
fld dword [esp + 0x9c]
fsub dword [esp + 0x48]
fstp dword [esp + 0x70]
fld dword [ebx + 8]
fmul qword [0x10080330]
fadd qword [0x10080328]
fstp dword [esp + 0x4c]
fld dword [esp + 0xa0]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x74]
fld dword [ebx + 0xc]
fmul qword [0x10080320]
fadd qword [0x10080318]
fstp dword [esp + 0x50]
fld dword [esp + 0xa4]
fsub dword [esp + 0x50]
fstp dword [esp + 0x78]
fld dword [ebx + 0x10]
fmul qword [0x10080310]
fadd qword [0x10080308]
fstp dword [esp + 0x54]
fld dword [esp + 0xa8]
fsub dword [esp + 0x54]
fstp dword [esp + 0x7c]
fld dword [ebx + 0x14]
fmul qword [0x10080300]
fadd qword [0x100802f8]
fstp dword [esp + 0x58]
fld dword [esp + 0xac]
fsub dword [esp + 0x58]
fstp dword [esp + 0x80]
fld dword [ebx + 0x18]
fmul qword [0x100802f0]
fadd qword [0x100802e8]
fstp dword [esp + 0x5c]
fld dword [esp + 0xb0]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x84]
fld dword [ebx + 0x1c]
fmul qword [0x100802e0]
fadd qword [0x100802d8]
fstp dword [esp + 0x60]
fld dword [esp + 0xb4]
fsub dword [esp + 0x60]
fstp dword [esp + 0x88]
fld dword [ebx + 0x20]
fmul qword [0x100802d0]
fadd qword [0x100802c8]
fstp dword [esp + 0x64]
fld dword [esp + 0xb8]
fsub dword [esp + 0x64]
fstp dword [esp + 0x8c]
fld dword [ebx + 0x24]
fmul qword [0x100802c0]
fadd qword [0x100802b8]
fstp dword [esp + 0x68]
fld dword [esp + 0xbc]
fsub dword [esp + 0x68]
fstp dword [esp + 0x90]
test ebp, ebp
je 0x10003b2c
cmp ebp, 1
je 0x10003b2c
cmp ebp, 5
jne 0x10003b1b
push 0
push 0x100767c0
mov eax, 0x200
lea esi, [esp + 0x108]
lea edx, [esp + 0x74]
call fcn.10002e10
mov edi, dword [esp + 0x140]
mov word [edi], ax
push 0
push 0x100727c0
mov eax, 0x200
lea esi, [esp + 0x11c]
lea edx, [esp + 0x88]
call fcn.10002e10
push 0x200
push 0x10073fc0
jmp 0x10003b7b
mov edx, dword [esp + 0x13c]
fld dword [0x100800c0]
mov dword [edx], 0
fstp dword [esp + 0x94]
xor ebp, ebp
mov dword [esp + 0x18], 0x10071a08
mov edx, 0x10071a0c
fld dword [edx - 4]
fadd qword [0x10080348]
fstp dword [esp + 0x1c]
fld dword [esp + 0x98]
fsub dword [esp + 0x1c]
fstp dword [esp + 0xc0]
fld dword [edx]
fadd qword [0x10080338]
fstp dword [esp + 0x20]
fld dword [esp + 0x9c]
fsub dword [esp + 0x20]
fstp dword [esp + 0xc4]
fld dword [edx + 4]
fadd qword [0x10080328]
fstp dword [esp + 0x24]
fld dword [esp + 0xa0]
fsub dword [esp + 0x24]
fstp dword [esp + 0xc8]
fld dword [edx + 8]
fadd qword [0x10080318]
fstp dword [esp + 0x28]
fld dword [esp + 0xa4]
fsub dword [esp + 0x28]
fstp dword [esp + 0xcc]
fld dword [edx + 0xc]
fadd qword [0x10080308]
fstp dword [esp + 0x2c]
fld dword [esp + 0xa8]
fsub dword [esp + 0x2c]
fstp dword [esp + 0xd0]
fld dword [edx + 0x10]
fadd qword [0x100802f8]
fstp dword [esp + 0x30]
fld dword [esp + 0xac]
fsub dword [esp + 0x30]
fstp dword [esp + 0xd4]
fld dword [edx + 0x14]
fadd qword [0x100802e8]
fstp dword [esp + 0x34]
fld dword [esp + 0xb0]
fsub dword [esp + 0x34]
fstp dword [esp + 0xd8]
fld dword [edx + 0x18]
fadd qword [0x100802d8]
fstp dword [esp + 0x38]
fld dword [esp + 0xb4]
fsub dword [esp + 0x38]
fstp dword [esp + 0xdc]
fld dword [edx + 0x1c]
fadd qword [0x100802c8]
fstp dword [esp + 0x3c]
fld dword [esp + 0xb8]
fsub dword [esp + 0x3c]
fstp dword [esp + 0xe0]
fld dword [edx + 0x20]
fadd qword [0x100802b8]
fstp dword [esp + 0x40]
fld dword [esp + 0xbc]
fsub dword [esp + 0x40]
fstp dword [esp + 0xe4]
fld dword [esp + 0xc0]
fld dword [esp + 0xc4]
fld dword [esp + 0xc8]
fld dword [esp + 0xcc]
fld dword [esp + 0xd0]
fld dword [esp + 0xd4]
fld dword [esp + 0xd8]
fld dword [esp + 0xdc]
fstp qword [esp + 0xf8]
fld dword [esp + 0xe0]
fstp qword [esp + 0xf0]
fld dword [esp + 0xe4]
fstp qword [esp + 0xe8]
fld st(6)
fmulp st(7)
fxch st(6)
fadd qword [0x100800c8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(5)
fmulp st(6)
faddp st(5)
fxch st(4)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(3)
fmulp st(4)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x14]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld qword [esp + 0xf8]
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld qword [esp + 0xf0]
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld qword [esp + 0xe8]
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x94]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x10003b04
mov eax, dword [esp + 0x13c]
fstp dword [esp + 0x94]
mov ecx, 0xa
lea esi, [esp + 0xc0]
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
lea esi, [esp + 0x1c]
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, 0xa
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [eax], ebp
jmp 0x10003b06
fstp st(0)
add dword [esp + 0x18], 0x28
add edx, 0x28
inc ebp
cmp edx, 0x10071b4c
jl 0x10003887
push 0
push 0x10071bc0
mov eax, 0x100
jmp 0x10003816
push 0
push 0x10071bc0
mov eax, 0x100
lea esi, [esp + 0x108]
lea edx, [esp + 0x74]
call fcn.10002e10
mov edi, dword [esp + 0x140]
mov word [edi], ax
push 1
push 0x100727c0
mov eax, 0x100
lea esi, [esp + 0x11c]
lea edx, [esp + 0x88]
call fcn.10002e10
push 0x80
push 0x10075fc0
lea esi, [esp + 0x130]
lea edx, [esp + 0x9c]
mov word [edi + 2], ax
call fcn.10003300
fld dword [esp + 0x84]
fld st(0)
mov word [edi + 4], ax
fadd dword [esp + 0x5c]
add esp, 0x18
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp + 0x20]
fstp dword [ebx]
fld dword [esp + 0x74]
fld st(0)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x24]
fstp dword [ebx + 4]
fld dword [esp + 0x78]
fld st(0)
fadd dword [esp + 0x50]
fstp dword [esp + 0x28]
fstp dword [ebx + 8]
fld dword [esp + 0x7c]
fld st(0)
fadd dword [esp + 0x54]
fstp dword [esp + 0x2c]
fstp dword [ebx + 0xc]
fld dword [esp + 0x80]
fld st(0)
fadd dword [esp + 0x58]
fstp dword [esp + 0x30]
fstp dword [ebx + 0x10]
fld dword [esp + 0x84]
fld st(0)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x34]
fstp dword [ebx + 0x14]
fld dword [esp + 0x88]
fld st(0)
fadd dword [esp + 0x60]
fstp dword [esp + 0x38]
fstp dword [ebx + 0x18]
fld dword [esp + 0x8c]
fld st(0)
fadd dword [esp + 0x64]
fstp dword [esp + 0x3c]
fstp dword [ebx + 0x1c]
fld dword [esp + 0x90]
fld st(0)
fadd dword [esp + 0x68]
fstp dword [esp + 0x40]
fstp dword [ebx + 0x20]
fld dword [esp + 0x94]
fld st(0)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x44]
fstp dword [ebx + 0x24]
fld dword [0x10080260]
fstp dword [esp]
call fcn.10002cc0
mov esi, dword [esp + 0x138]
mov edi, ecx
add esp, 4
sub edi, esi
mov ebx, 0xa
fld dword [edi + esi]
fmul qword [0x10080110]
call fcn.100473a0
fstp dword [esi]
add esi, 4
sub ebx, 1
jne 0x10003c7d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret