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

Disassembly:
sub esp, 0xe4
push ebx
mov ebx, dword [esp + 0xf0]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
push ebp
push esi
shl eax, 2
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
xor eax, eax
mov edx, ecx
shr ecx, 2
and edx, 3
rep stosd dword es:[edi], eax
mov ecx, edx
rep stosb byte es:[edi], al
mov ebp, dword [ebx + 0x50]
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
push edx
inc ebp
push eax
mov dword [ebx + 0x50], ebp
call fcn.10bf64c0
mov ecx, dword [ebx + 0x30]
xor eax, eax
add esp, 8
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x10bf6c38
mov dword [esp + 0x24], eax
mov esi, dword [ebx + 0x2c]
add esi, dword [esp + 0x24]
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x58], esi
mov dword [esi + 0x10], 0
je 0x10bf6c19
call fcn.10a39840
mov ebp, eax
test ebp, ebp
je 0x10bf6c19
cmp word [ebp + 0x36], 0
jne 0x10bf6c19
cmp word [ebp + 0x34], 0
jne 0x10bf6c19
mov ecx, dword [ebx + 0x3c]
mov eax, dword [esp + 0xf8]
mov edi, dword [esi + 8]
mov edx, dword [eax + 0x68]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x28], edx
je 0x10bf677e
mov edi, dword [esi + 4]
mov dword [esp + 0x14], edi
jmp 0x10bf6782
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x6c], ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], ecx
jle 0x10bf6c12
mov ecx, dword [esp + 0x100]
lea eax, [esp + 0xb0]
mov dword [esp + 0x70], eax
lea eax, [ecx + 8]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x90], eax
lea ebx, [edx + 0x14]
jmp 0x10bf67c4
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
lea eax, [ecx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [ebx - 0x10]
mov dword [esp + 0xb0], edx
mov edx, dword [ebx - 0xc]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0x3f800000
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
lea edi, [esp + 0x48]
fld dword [esi]
fmul dword [edx]
fld dword [esi]
fmul dword [edx + 4]
fld dword [esi]
fmul dword [edx + 8]
fld dword [esi]
fmul dword [edx + 0xc]
fld dword [esi + 4]
fmul dword [edx + 0x10]
fld dword [esi + 4]
fmul dword [edx + 0x14]
fld dword [esi + 4]
fmul dword [edx + 0x18]
fld dword [esi + 4]
fmul dword [edx + 0x1c]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
fld dword [esi + 8]
fmul dword [edx + 0x20]
fld dword [esi + 8]
fmul dword [edx + 0x24]
fld dword [esi + 8]
fmul dword [edx + 0x28]
fld dword [esi + 8]
fmul dword [edx + 0x2c]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
fld dword [esi + 0xc]
fmul dword [edx + 0x30]
fld dword [esi + 0xc]
fmul dword [edx + 0x34]
fld dword [esi + 0xc]
fmul dword [edx + 0x38]
fld dword [esi + 0xc]
fmul dword [edx + 0x3c]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
fxch st(3)
fstp dword [edi]
fxch st(1)
fstp dword [edi + 4]
fstp dword [edi + 8]
fstp dword [edi + 0xc]
mov eax, dword [ebx - 8]
mov edx, dword [ebx - 4]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
lea edi, [esp + 0xc0]
fld dword [esi]
fmul dword [edx]
fld dword [esi]
fmul dword [edx + 4]
fld dword [esi]
fmul dword [edx + 8]
fld dword [esi]
fmul dword [edx + 0xc]
fld dword [esi + 4]
fmul dword [edx + 0x10]
fld dword [esi + 4]
fmul dword [edx + 0x14]
fld dword [esi + 4]
fmul dword [edx + 0x18]
fld dword [esi + 4]
fmul dword [edx + 0x1c]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
fld dword [esi + 8]
fmul dword [edx + 0x20]
fld dword [esi + 8]
fmul dword [edx + 0x24]
fld dword [esi + 8]
fmul dword [edx + 0x28]
fld dword [esi + 8]
fmul dword [edx + 0x2c]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
fld dword [esi + 0xc]
fmul dword [edx + 0x30]
fld dword [esi + 0xc]
fmul dword [edx + 0x34]
fld dword [esi + 0xc]
fmul dword [edx + 0x38]
fld dword [esi + 0xc]
fmul dword [edx + 0x3c]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
fxch st(3)
fstp dword [edi]
fxch st(1)
fstp dword [edi + 4]
fstp dword [edi + 8]
fstp dword [edi + 0xc]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x38], edx
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x3c], eax
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
mov dword [esp + 0x40], edx
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fcom qword [0x10e49258]
fnstsw ax
test ah, 5
jp 0x10bf69ad
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x10bf69d3
fsqrt
fdivr dword [0x10e45008]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x14]
fstp st(0)
mov dl, byte [esp + 0x13]
test byte [eax], dl
je 0x10bf6bbc
mov eax, dword [ebp]
mov dl, byte [eax + 0x2d]
sub esp, 0xc
cmp dl, 0x13
jne 0x10bf6ae0
mov ecx, dword [ecx]
fld dword [ecx + 0x2a4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
fld st(0)
fmul dword [ebp + 8]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x40]
fstp dword [esp + 0x84]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [esp + 0x54]
fld st(0)
fmul dword [ebp + 0xc]
mov eax, dword [esp + 0x58]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
fstp dword [esp + 0x94]
mov edx, dword [esp + 0x68]
fmul dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, ebp
fstp dword [esp + 0x98]
call fcn.10bc8660
fld dword [esp + 0x78]
mov dword [esp + 0xec], 0
fmul st(1)
fstp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
fld dword [esp + 0x7c]
mov dword [esp + 0xe0], eax
fmul st(1)
lea eax, [esp + 0xe0]
push eax
fstp dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
fld dword [esp + 0x84]
mov dword [esp + 0xe8], ecx
fmul st(1)
lea ecx, [esp + 0x6c]
fstp dword [esp + 0x90]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xec], edx
fstp st(0)
call fcn.1097fa00
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push ecx
push edx
call fcn.10bc8ec0
add esp, 8
jmp 0x10bf6bb5
mov eax, dword [ecx]
fld dword [eax + 0x2a4]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
fld st(0)
fmul dword [ebp + 8]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
fstp dword [esp + 0xa0]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x54]
fld st(0)
fmul dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
fstp dword [esp + 0xb0]
mov ecx, dword [esp + 0x68]
fmul dword [ebp + 0x10]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, ebp
fstp dword [esp + 0xb4]
call fcn.10bc8660
fld dword [esp + 0x94]
mov dword [esp + 0xdc], 0
fmul st(1)
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
fld dword [esp + 0x98]
mov dword [esp + 0xd0], edx
fmul st(1)
lea edx, [esp + 0xd0]
push edx
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
fld dword [esp + 0xa0]
mov dword [esp + 0xd8], eax
fmul st(1)
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0xf4]
fstp st(0)
call fcn.1097fa00
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.10aa7b70
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add eax, 0x28
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x13]
shl al, 1
add edx, 4
add ebx, 0x28
test al, al
mov dword [esp + 0x1c], edx
mov byte [esp + 0x13], al
jne 0x10bf6bec
inc dword [esp + 0x14]
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xf8]
mov esi, dword [edx + 0x6c]
inc eax
cmp eax, esi
mov dword [esp + 0x18], eax
jl 0x10bf67c0
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0xfc]
mov dword [esi + 0x10], 1
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x30]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jl 0x10bf6716
mov ebp, dword [esp + 0xf8]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x84]
xor ebx, ebx
test eax, eax
jle 0x10bf6cd3
mov eax, dword [ebp + 0x12c]
test eax, eax
je 0x10bf6cbf
movzx esi, byte [edi + 2]
movzx eax, byte [ecx + 2]
imul esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, byte [ecx + 1]
mov byte [ecx + 2], al
movzx esi, byte [edi + 1]
imul esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, byte [ecx]
mov byte [ecx + 1], al
movzx esi, byte [edi]
imul esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
mov dl, byte [edi + 3]
mov byte [ecx + 3], dl
mov eax, dword [ebp + 0x6c]
add edi, 4
add ecx, 4
inc ebx
cmp ebx, eax
jl 0x10bf6c55
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret