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

Disassembly:
sub esp, 0x48
fldz
push ebx
mov ebx, ecx
fstp dword [esp + 8]
mov eax, dword [ebx + 0x9c]
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xbc]
mov dword [esp + 0x3c], ecx
imul ecx, eax
push ebp
xor ebp, ebp
cmp dword [ebx + 0x34], ebp
push esi
mov esi, dword [ebx + 0xc4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ebp
jle 0x100d6a64
push edi
mov dword [esp + 0x54], ebp
jmp 0x100d68a8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x30]
movsx esi, word [ecx + ebp*2]
add esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
jle 0x100d6939
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x100d6924
sub esi, edx
mov dword [esp + 0x28], eax
nop
movzx ecx, byte [esi + edx]
movzx eax, byte [edx]
add dword [esp + 0x10], ecx
mov ebx, ecx
imul ebx, ecx
add dword [esp + 0x20], ebx
mov ebx, eax
imul ebx, eax
add dword [esp + 0x1c], ebx
add edi, eax
imul eax, ecx
add dword [esp + 0x24], eax
add edx, 1
sub dword [esp + 0x28], 1
jne 0x100d68e0
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add esi, dword [esp + 0x50]
add edx, eax
sub dword [esp + 0x34], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edx
jne 0x100d68d5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, edi
imul eax, ecx
imul edx, edi
sub eax, edx
test eax, eax
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
jge 0x100d695d
fadd dword [0x101e930c]
mov eax, dword [esp + 0x10]
mov edx, eax
imul edx, eax
mov eax, dword [esp + 0x20]
imul eax, ecx
sub eax, edx
test eax, eax
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
jge 0x100d6981
fadd dword [0x101e930c]
fmulp st(1)
push ecx
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp]
call fcn.10006530
fstp dword [esp + 0x48]
add esp, 4
fldz
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x100d69ea
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
jge 0x100d69c7
fadd dword [0x101e930c]
imul edi, dword [esp + 0x10]
test edi, edi
mov dword [esp + 0x44], edi
fild dword [esp + 0x44]
jge 0x100d69de
fadd dword [0x101e930c]
fsubp st(1)
fstp dword [esp + 0x44]
fdivr dword [esp + 0x44]
jmp 0x100d69ee
fstp st(0)
fldz
mov eax, dword [ebx + 0x54]
fld dword [eax + ebp*4]
mov ecx, dword [ebx + 0x78]
fxch st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x44]
fsub dword [ecx + ebp*4]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fistp dword [esp + 0x3c]
movsx eax, word [esp + 0x3c]
mov edx, dword [ebx + 0xcc]
lea ecx, [edx - 1]
mov dword [esp + 0x34], eax
cmp ecx, eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x44]
jl 0x100d6a32
lea eax, [esp + 0x34]
cmp dword [eax], 0
jge 0x100d6a3b
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
fld dword [ecx + eax*4]
add ebp, 1
cmp ebp, dword [ebx + 0x34]
fadd dword [esp + 0x14]
lea edx, [ecx + edx*4]
mov dword [esp + 0x40], edx
fstp dword [esp + 0x14]
mov dword [esp + 0x44], ebp
jl 0x100d68a0
pop edi
fld dword [esp + 0x10]
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x10