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

Disassembly:
sub esp, 0x90
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa0]
mov eax, ecx
mov ecx, dword [esp + 0xa4]
xorps xmm0, xmm0
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xb0]
push ebp
mov dword [esp + 0x3c], ecx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0xc], eax
push esi
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm0
cmp dword [eax + 0xc], ecx
je 0x101085f9
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x78]
push ecx
push dword [eax + 0x14]
push edx
push ecx
mov edx, ebx
mov ecx, eax
call fcn.10140b50
mov ebp, dword [esp + 0x2c]
mov ecx, 4
add esp, 0x14
mov dword [esp + 0x70], ebp
mov eax, ebp
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.101554b7
mov ecx, dword [esp + 0x78]
add esp, 4
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], ebx
xorps xmm0, xmm0
xor ebx, ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0
movups xmmword [esp + 0x8c], xmm0
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x1010863f
xor edi, edi
jmp 0x10108643
mov edi, dword [ecx + ebx*4 - 4]
mov esi, edx
cmp ebx, ebp
je 0x1010864c
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
push 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ecx
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
call fcn.101554b7
add esp, 4
mov dword [esp + 0x64], eax
mov ecx, esi
mov edx, eax
sub ecx, edi
call fcn.1014dae0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x64]
push dword [eax + 8]
push esi
push edi
call fcn.1013fbe0
push dword [esp + 0x38]
xor edx, edx
lea ecx, [esp + 0x34]
call fcn.10107890
addsd xmm0, qword [esp + 0x64]
xor edi, edi
add esp, 0x14
movsd qword [esp + 0x50], xmm0
cmp dword [esp + 0x28], edi
jbe 0x10108719
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ebp, esi
mov ebx, dword [esp + 0x30]
mov dx, word [esi + ebp]
lea eax, [esp + 0x78]
mov cx, word [esi]
push eax
push dword [ebx + edi*4]
call fcn.1013e2b0
inc edi
lea esi, [esi + 2]
add esp, 8
cmp edi, dword [esp + 0x28]
jb 0x101086f0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
cmp ebx, ebp
jae 0x1010872b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
mov dword [ecx + ebx*4], eax
mov esi, dword [esp + 0x64]
test esi, esi
je 0x1010875c
push dword [esi]
call fcn.10154f5a
add esp, 4
push dword [esi + 4]
call fcn.10154f5a
add esp, 4
push dword [esi + 8]
call fcn.10154f5a
add esp, 4
push esi
call fcn.10154f5a
add esp, 4
push dword [esp + 0x20]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x24]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x30]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x34]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x38]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x3c]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x40]
call fcn.10154f5a
mov ecx, dword [esp + 0x78]
inc ebx
mov edx, dword [esp + 0xb4]
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
cmp ebx, ebp
jbe 0x10108637
cmp dword [eax + 0xc], 0
je 0x10108874
cmp ebp, 1
jbe 0x10108874
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 0
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], 0
push ecx
push dword [eax + 0x14]
lea edx, [esp + 0x84]
mov ecx, eax
call fcn.10140710
mov edi, dword [esp + 0x7c]
add esp, 0xc
mov ebx, dword [esp + 0x1c]
xor esi, esi
test esi, esi
jne 0x1010881f
xor edx, edx
jmp 0x10108823
mov edx, dword [edi + esi*4 - 4]
mov eax, dword [esp + 0x80]
cmp esi, ebx
je 0x10108831
mov eax, dword [edi + esi*4]
push eax
lea ecx, [esp + 0x7c]
call fcn.10107890
addsd xmm0, qword [esp + 0x5c]
inc esi
add esp, 4
movsd qword [esp + 0x58], xmm0
cmp esi, ebx
jbe 0x10108817
movsd xmm1, qword [esp + 0x50]
comisd xmm1, xmm0
jbe 0x1010886b
push dword [esp + 0x10]
call fcn.10154f5a
add esp, 4
mov ebp, ebx
jmp 0x10108878
push edi
call fcn.10154f5a
add esp, 4
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xa4]
xor esi, esi
test esi, esi
jne 0x10108889
xor ecx, ecx
jmp 0x1010888d
mov ecx, dword [edi + esi*4 - 4]
mov eax, dword [esp + 0x80]
cmp esi, ebp
je 0x1010895a
mov eax, dword [edi + esi*4]
xor edx, edx
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x90]
push eax
call fcn.101080d0
inc esi
add esp, 0x1c
cmp esi, ebp
jbe 0x10108881
push dword [esp + 0x78]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x7c]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x88]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x8c]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x90]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x94]
call fcn.10154f5a
add esp, 4
push dword [esp + 0x98]
call fcn.10154f5a
add esp, 4
push edi
call fcn.10154f5a
add esp, 4
push dword [esp + 0x74]
call fcn.10154f5a
mov ecx, dword [esp + 0xa0]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x90
ret
test ebx, ebx
je 0x1010889f
mov edx, 1
jmp 0x101088a1