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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
cdq
and edx, 3
mov dword [esp + 0x54], ecx
add eax, edx
sar eax, 2
push ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x30], eax
imul eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [ecx]
push esi
mov esi, dword [ecx + 8]
push edi
push dword [ebp + 0x34]
mov edi, dword [ecx + 0xc]
lea eax, [ebx + eax*4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], eax
lea eax, [esp + 0x74]
push ebp
push eax
call fcn.101e2940
mov ecx, dword [esp + 0x38]
mov ebp, 0x10000
shl esi, 0x10
add esp, 0xc
shl edi, 0x10
add esi, 0x8000
add edi, 0x8000
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], esi
test eax, eax
je 0x101dbb8f
lea ecx, [esp + 0xb0]
push ecx
push eax
call fcn.101d25b0
add esp, 8
test eax, eax
jne 0x101dbb59
mov eax, dword [esp + 0x64]
jmp 0x101dbf75
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb8]
mov edi, dword [esp + 0xb4]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], esi
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], eax
jmp 0x101dbba3
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], 0
mov edx, dword [ecx + 0x70]
mov eax, dword [ecx + 0x78]
sub eax, edx
mov dword [esp + 0x58], edx
cdq
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x74]
sub eax, edx
mov dword [esp + 0x68], edx
cdq
mov ecx, edx
mov dword [esp + 0x20], eax
push ecx
push eax
push ecx
push eax
mov dword [esp + 0x2c], ecx
call fcn.10264a60
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push eax
mov dword [esp + 0x58], edx
call fcn.10264a60
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, ecx
mov dword [esp + 0x18], ecx
adc dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
or eax, edx
je 0x101dbeb3
cmp dword [esp + 0x34], 0
je 0x101dbd9a
xorps xmm0, xmm0
movsd qword [esp + 0x40], xmm0
cmp ebx, dword [esp + 0x24]
jae 0x101dbf6e
mov eax, dword [esp + 0x3c]
shl eax, 2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x101dbc56
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x101dbd62
test ebp, ebp
je 0x101dbd2f
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x24]
cdq
push edx
push eax
call fcn.10264a60
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cdq
push edx
push eax
call fcn.10264a60
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.10265070
mov eax, dword [esp + 0x2c]
push dword [esp + 0x1c]
movsd qword [esp + 0x44], xmm0
push dword [esp + 0x24]
mov eax, dword [eax + 0x74]
cdq
push edx
push eax
call fcn.10264a60
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x30]
push dword [esp + 0x18]
mov eax, dword [eax + 0x70]
cdq
push edx
push eax
call fcn.10264a60
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.10265070
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x102a4380]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x40]
subsd xmm1, xmm0
movsd qword [esp + 0x40], xmm1
call fcn.10265070
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd xmm1, qword [0x102dfb10]
divsd xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
push ebx
call fcn.10264f70
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call dword [esp + 0x70]
mov ebp, dword [esp + 0xc8]
add esp, 0x10
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
movsd xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x28]
add esi, dword [esp + 0x54]
add ebx, dword [esp + 0x3c]
add edi, dword [esp + 0x50]
add ebp, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
cmp ebx, dword [esp + 0x24]
jb 0x101dbc41
jmp 0x101dbf6e
test ebp, ebp
je 0x101dbeb3
call fcn.10265070
movd xmm1, ebp
mov eax, edi
cvtdq2pd xmm1, xmm1
cdq
push dword [esp + 0x1c]
mulsd xmm0, xmm1
movsd xmm1, qword [0x102dfb10]
push dword [esp + 0x24]
divsd xmm1, xmm0
push edx
push eax
movsd qword [esp + 0x58], xmm1
call fcn.10264a60
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cdq
push edx
push eax
call fcn.10264a60
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.10265070
push dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x24]
cdq
push edx
push eax
movsd qword [esp + 0x44], xmm0
call fcn.10264a60
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x60]
cdq
push edx
push eax
call fcn.10264a60
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.10265070
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x102a4380]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x34]
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x48]
movaps xmm0, xmm1
call fcn.10264f70
push dword [esp + 0x1c]
mov ebp, eax
mov dword [esp + 0x1c], eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
cdq
push edx
push eax
call fcn.10264a60
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cdq
push edx
push eax
call fcn.10264a60
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.10265070
movaps xmm1, xmm0
mulsd xmm1, qword [esp + 0x48]
mov esi, dword [esp + 0x34]
jmp 0x101dbecf
xorps xmm0, xmm0
xorps xmm1, xmm1
movlpd qword [esp + 0x58], xmm0
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], ebp
xorps xmm0, xmm0
movsd qword [esp + 0x68], xmm1
movlpd qword [esp + 0x58], xmm0
movd xmm0, dword [esp + 0x28]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
call fcn.10264f70
or eax, edx
jne 0x101dbf0a
push dword [esp + 0x24]
lea eax, [esp + 0x74]
push ebx
push esi
push ebp
push eax
call dword [esp + 0x54]
add esp, 0x14
jmp 0x101dbf6e
xor edi, edi
cmp ebx, dword [esp + 0x24]
jae 0x101dbf6e
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
test esi, esi
je 0x101dbf2e
mov eax, dword [esi]
add esi, 4
test eax, eax
je 0x101dbf45
add ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push ebx
adc edx, dword [esp + 0x38]
push edx
push ecx
push eax
call dword [esp + 0x70]
add esp, 0x10
inc edi
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x68]
call fcn.10264f70
mov ebp, dword [esp + 0x3c]
mov ecx, eax
lea eax, [ebp*4]
add ebx, eax
cmp ebx, dword [esp + 0x24]
jb 0x101dbf21
mov eax, dword [esp + 0x64]
inc dword [eax + 0xc]
mov ecx, dword [esp + 0xbc]
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026465b
add esp, 0xb0
ret