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

Disassembly:
push 0xffffffffffffffff
push 0x10192fcc
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x118]
mov esi, dword [esp + 0x11c]
mov eax, esi
call fcn.100d0150
mov eax, dword [ebp]
mov edx, dword [eax + 0x2c]
mov ecx, ebp
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
mov ecx, ebp
call edx
cmp dword [ebp + 8], 1
mov edi, eax
jle 0x100d8ec0
mov eax, dword [ebp + 0x90]
mov edx, dword [eax + 0x4c]
lea ecx, [ebp + 0x90]
call edx
test eax, eax
jle 0x100d8ec0
mov eax, dword [ebp + 0x9c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x134]
mov esi, dword [esi + 0x138]
mov eax, edx
sar eax, 1
sub ecx, eax
sub ecx, dword [esp + 0x1c]
sub esi, eax
sub esi, edi
cmp eax, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], eax
jg 0x100d914e
mov ecx, eax
sub ecx, eax
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
jg 0x100d8e9f
sub eax, eax
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x11c]
call fcn.100d04e0
fld dword [esp + 0x120]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x11c]
push ecx
fstp dword [esp]
push edx
call fcn.100d05d0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [ebp + 0xc]
fcompp
fnstsw ax
test ah, 5
mov eax, dword [esp + 0x24]
jp 0x100d8e7b
test eax, eax
jle 0x100d8e7b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], eax
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x11c]
call fcn.100d04e0
mov eax, dword [ebp + 0xb4]
mov edx, dword [eax + 0x4c]
lea ecx, [ebp + 0xb4]
xor edi, edi
call edx
test eax, eax
jle 0x100d8e56
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 0x70]
fld dword [eax + edi*4]
mov ecx, dword [ebp + 0xc0]
mov edx, dword [esp + 0x38]
fstp dword [esp + 0x6c]
mov eax, dword [ecx + edx + 8]
fld dword [esp + 0x120]
mov esi, dword [esp + 0x11c]
push ecx
fstp dword [esp]
push eax
mov eax, esi
call fcn.100d05d0
fstp dword [esp + 0x14]
fldz
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x100d8d02
lea eax, [esp + 0x78]
mov ecx, esi
call fcn.100c8760
mov dword [esp + 0x110], 0
fldz
push 1
push 0
sub esp, 0x10
fst dword [esp + 0xc]
lea edx, [esp + 0xb0]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fmul dword [esp + 0x84]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push eax
call fcn.100f8670
push eax
mov esi, ebx
mov byte [esp + 0x114], 1
call fcn.100f8ea0
lea ecx, [esp + 0xc8]
call fcn.100f8710
lea ecx, [esp + 0x78]
mov dword [esp + 0x110], 0xffffffff
call fcn.1004b470
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x2c]
add ecx, dword [esp + 0x10]
lea edx, [eax - 1]
lea eax, [esp + 0x58]
call fcn.1004b3f0
fld dword [ebp + 0xdc]
fstp dword [esp + 0x64]
fld dword [0x101e9308]
fld dword [esp + 0x64]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x100d8c9b
fsub qword [0x101e9300]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fld dword [0x101e92f8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100d8cb8
fadd qword [0x101e9300]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
mov ecx, dword [ebx + 0xc]
fld dword [esp + 0x5c]
lea eax, [edx*8]
sub eax, edx
add eax, eax
add eax, eax
add eax, eax
fstp dword [ecx + eax + 0x18]
add ecx, eax
mov ecx, dword [ebx + 0xc]
fld dword [esp + 0x60]
add ecx, eax
fstp dword [ecx + 0x1c]
mov ecx, dword [ebx + 0xc]
add ecx, eax
fstp dword [ecx + 0x20]
mov ecx, dword [ebp + 0xec]
mov edx, dword [ecx + edi*4]
mov ecx, dword [ebx + 0xc]
add ecx, eax
mov dword [ecx + 0x28], edx
lea ecx, [esp + 0x58]
call fcn.1004b470
mov esi, dword [esp + 0x124]
fld dword [esi + 0x24]
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fld dword [esp + 0x28]
fcompp
fnstsw ax
test ah, 5
jp 0x100d8e30
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x88]
call fcn.100c8760
mov dword [esp + 0x110], 2
fldz
push 1
push 0
sub esp, 0x10
fst dword [esp + 0xc]
lea edx, [esp + 0xb0]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fmul dword [esp + 0x84]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push eax
call fcn.100f8670
mov byte [esp + 0x110], 3
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
lea ecx, [esp + 0xc8]
call fcn.100f8710
lea ecx, [esp + 0x88]
mov dword [esp + 0x110], 0xffffffff
call fcn.1004b470
mov ecx, dword [ebp + 0x2c]
add ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
call fcn.1004b3f0
fld dword [ebp + 0xdc]
fstp dword [esp + 0x48]
fld dword [0x101e9308]
fld dword [esp + 0x48]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x100d8ded
fsub qword [0x101e9300]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld dword [0x101e92f8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100d8e0a
fadd qword [0x101e9300]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld dword [esp + 0x40]
fstp dword [esi + 0x18]
fld dword [esp + 0x44]
fstp dword [esi + 0x1c]
fstp dword [esi + 0x20]
mov ecx, dword [ebp + 0xec]
mov edx, dword [ecx + edi*4]
lea ecx, [esp + 0x3c]
mov dword [esi + 0x28], edx
call fcn.1004b470
mov eax, dword [ebp + 0xb4]
mov edx, dword [eax + 0x4c]
add dword [esp + 0x38], 0xc
add dword [esp + 0x10], 0x10
lea ecx, [ebp + 0xb4]
add edi, 1
call edx
cmp edi, eax
jl 0x100d8b93
mov eax, 1
add dword [esp + 0x54], eax
sub dword [esp + 0x68], eax
jne 0x100d8b5c
add dword [esp + 0x4c], eax
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
jne 0x100d8b50
mov ecx, dword [esp + 0x34]
add dword [esp + 0x30], eax
add ecx, eax
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
jle 0x100d8af0
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x18], edx
add ecx, edx
cmp ecx, esi
mov dword [esp + 0x50], ecx
jle 0x100d8adc
jmp 0x100d914e
mov eax, dword [ebp + 0xb4]
mov edx, dword [eax + 0x4c]
lea ecx, [ebp + 0xb4]
xor edi, edi
call edx
test eax, eax
jle 0x100d913f
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x100d8ef0
mov eax, dword [ebp + 0x70]
fld dword [eax + edi*4]
mov ecx, dword [ebp + 0xc0]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x1c]
mov eax, dword [ecx + edx + 8]
fld dword [esp + 0x120]
push ecx
fstp dword [esp]
push eax
mov eax, esi
call fcn.100d05d0
fstp dword [esp + 0x10]
fldz
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x100d9020
lea eax, [esp + 0x88]
mov ecx, esi
call fcn.100c8760
mov dword [esp + 0x110], 4
fldz
push 1
push 0
sub esp, 0x10
fst dword [esp + 0xc]
lea edx, [esp + 0xe8]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fmul dword [esp + 0x34]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
push eax
call fcn.100f8670
push eax
mov esi, ebx
mov byte [esp + 0x114], 5
call fcn.100f8ea0
lea ecx, [esp + 0x100]
call fcn.100f8710
lea ecx, [esp + 0x88]
mov dword [esp + 0x110], 0xffffffff
call fcn.1004b470
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebx + 0x10]
add ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
add edx, 0xffffffff
call fcn.1004b3f0
fld dword [ebp + 0xdc]
mov ecx, dword [ebx + 0xc]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
lea eax, [edx*8]
sub eax, edx
add eax, eax
add eax, eax
add eax, eax
fstp dword [ecx + eax + 0x18]
add ecx, eax
mov ecx, dword [ebx + 0xc]
fld dword [esp + 0x44]
fstp dword [ecx + eax + 0x1c]
add ecx, eax
mov ecx, dword [ebx + 0xc]
fld dword [esp + 0x48]
add ecx, eax
fstp dword [ecx + 0x20]
mov ecx, dword [ebp + 0xec]
mov edx, dword [ecx + edi*4]
mov ecx, dword [ebx + 0xc]
add ecx, eax
mov dword [ecx + 0x28], edx
lea ecx, [esp + 0x3c]
call fcn.1004b470
mov esi, dword [esp + 0x124]
fld dword [esi + 0x24]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 5
jp 0x100d9112
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x78]
call fcn.100c8760
mov dword [esp + 0x110], 6
fldz
push 1
push 0
sub esp, 0x10
fst dword [esp + 0xc]
lea edx, [esp + 0xb0]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fmul dword [esp + 0x34]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
push eax
call fcn.100f8670
mov byte [esp + 0x110], 7
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
lea ecx, [esp + 0xc8]
call fcn.100f8710
lea ecx, [esp + 0x78]
mov dword [esp + 0xc8], vtable.ert_RefCounter.0
mov dword [esp + 0x110], 0xffffffff
call fcn.1004b470
mov ecx, dword [ebp + 0x2c]
add ecx, dword [esp + 0x14]
lea eax, [esp + 0x58]
call fcn.1004b3f0
fld dword [ebp + 0xdc]
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fstp dword [esi + 0x18]
fld dword [esp + 0x60]
fstp dword [esi + 0x1c]
fld dword [esp + 0x64]
fstp dword [esi + 0x20]
mov ecx, dword [ebp + 0xec]
mov edx, dword [ecx + edi*4]
mov ecx, eax
mov dword [esi + 0x28], edx
call fcn.1004b470
mov eax, dword [ebp + 0xb4]
mov edx, dword [eax + 0x4c]
add dword [esp + 0x18], 0xc
add dword [esp + 0x14], 0x10
lea ecx, [ebp + 0xb4]
add edi, 1
call edx
cmp edi, eax
mov esi, dword [esp + 0x11c]
jl 0x100d8ef0
mov eax, esi
call fcn.100d0490
test al, al
jne 0x100d8ec0
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x104
ret 0x10