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

Disassembly:
sub esp, 0xcc
mov eax, dword [esp + 0xdc]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 8]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x20], ebp
jle 0x1003f1e9
fild dword [esp + 0xe8]
mov dword [esp + 0x24], ebp
fstp dword [esp + 0x40]
fild dword [esp + 0xe4]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0xf4]
fld dword [esp + 0x40]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0xf0]
lea eax, [ebp*4]
add ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [esp + 0xec]
mov ebx, dword [eax + 4]
add ebx, dword [esp + 0x24]
sub esp, 0x10
fmul dword [ebx + 0xc]
lea esi, [esp + 0x98]
mov dword [esp + 0x48], ecx
fadd dword [ebx + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fmul dword [ebx + 0xc]
fadd dword [ebx + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 8]
fld dword [ebx + 8]
fstp dword [esp + 4]
fld dword [ebx + 4]
fstp dword [esp]
call fcn.10049a10
lea eax, [edi - 1]
cmp eax, ebp
mov byte [esp + 0x17], 1
mov dword [esp + 0x30], eax
jle 0x1003f1c7
fld dword [esp + 0xa4]
mov ecx, edi
fsub dword [esp + 0x98]
shl ecx, 4
fld dword [esp + 0xa0]
mov edx, eax
fsub dword [esp + 0x94]
shl edx, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
fmulp st(1)
fstp dword [esp + 0x3c]
jmp 0x1003efc8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xf4]
fld dword [esp + 0x40]
mov ecx, dword [ecx + 0xc]
add eax, eax
add eax, eax
add ecx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xf0]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [esp + 0xec]
mov ebp, dword [eax + 4]
fmul dword [ebp + edx + 0xc]
add ebp, edx
sub esp, 0x10
lea esi, [esp + 0x70]
fadd dword [ebp + 8]
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fmul dword [ebp + 0xc]
fadd dword [ebp + 4]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fld dword [ebp + 8]
fstp dword [esp + 4]
fld dword [ebp + 4]
fstp dword [esp]
call fcn.10049a10
fld dword [esp + 0x7c]
lea esi, [esp + 0xb0]
fsub dword [esp + 0x70]
fld dword [esp + 0x78]
fsub dword [esp + 0x6c]
fmulp st(1)
fstp dword [esp + 0x1c]
call fcn.10049780
lea ecx, [esp + 0x60]
lea edx, [esp + 0x88]
mov esi, eax
call fcn.1004a000
fld dword [eax + 0x18]
fstp dword [esp + 0x58]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x1c]
fstp dword [esp + 0x44]
fld dword [eax + 0x10]
fstp dword [esp + 0x54]
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 0x41
lea eax, [esp + 0x3c]
je 0x1003f0a7
lea eax, [esp + 0x1c]
fld dword [esp + 0x44]
mov byte [esp + 0x16], 1
fsub dword [esp + 0x54]
fld dword [esp + 0x58]
fsub dword [esp + 0x2c]
fmulp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0xe0]
fmul dword [eax]
fcompp
fnstsw ax
test ah, 5
jnp 0x1003f0dd
mov byte [esp + 0x16], 0
lea ecx, [esp + 0xd0]
call fcn.10049aa0
cmp byte [esp + 0x16], 0
je 0x1003f150
mov ecx, dword [esp + 0x5c]
fld dword [ecx]
mov edx, dword [esp + 0x38]
fld dword [edx]
fcompp
fnstsw ax
test ah, 0x41
jne 0x1003f14b
mov edx, dword [esp + 0xf4]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + edi*4 - 4]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
sub edi, 1
mov dword [esi], edx
mov edx, dword [esp + 0xf0]
mov edx, dword [edx + 4]
fld dword [edx + edi*4]
sub eax, 0x10
fstp dword [ecx]
mov ecx, dword [esp + 0xec]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x18], eax
mov eax, ebp
call fcn.1004b480
jmp 0x1003f150
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x80]
call fcn.10049aa0
mov eax, dword [esp + 0x30]
sub dword [esp + 0x28], 0x10
sub eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
jg 0x1003efc0
cmp byte [esp + 0x17], 0
jne 0x1003f1c3
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + edi*4 - 4]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0xf0]
sub edi, 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
fld dword [ecx + edi*4]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xec]
fstp dword [edx]
mov ecx, edi
shl ecx, 4
add ecx, dword [eax + 4]
mov eax, ebx
call fcn.1004b480
mov ebp, dword [esp + 0x20]
jmp 0x1003f1d3
mov ebp, dword [esp + 0x20]
add ebp, 1
add dword [esp + 0x24], 0x10
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0xa8]
call fcn.10049aa0
cmp ebp, edi
jl 0x1003eeec
xor ebp, ebp
mov ecx, dword [esp + 0xec]
call fcn.1000ec40
mov esi, dword [esp + 0xf0]
push ebp
push edi
call fcn.10009380
mov esi, dword [esp + 0xf4]
mov eax, dword [esi + 0x14]
cmp edi, eax
jg 0x1003f21d
je 0x1003f297
cmp byte [esi + 0x18], 0
je 0x1003f297
cmp byte [esi + 0x19], 0
je 0x1003f233
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x1003f233
push eax
call fcn.10178e5d
add esp, 4
xor eax, eax
cmp edi, ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov byte [esi + 0x19], 0
jle 0x1003f28d
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101790d8
add esp, 4
cmp eax, ebp
jne 0x1003f28d
push 4
push edi
push str.void_ert_TmplArr_Type_::size__int32_sizeA__
push str._s:_nFailed_to_allocate__i_untits_of__i_bytes_n
lea eax, [esp + 0x5c]
call fcn.100595b0
add esp, 0x10
push 0x102051a0
lea eax, [esp + 0x50]
push eax
call fcn.1017d044
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], edi
mov byte [esi + 0x19], 1
mov dword [esi + 0x10], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret