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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x102ca474]
xor eax, esp
mov dword [esp + 0xf4], eax
mov dword [esp + 0x20], edx
mov eax, ecx
mov ecx, dword [ebp + 8]
xorps xmm3, xmm3
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x10]
push esi
movzx esi, byte [eax + 0x14]
mov dword [esp + 0x54], edx
inc esi
mov edx, dword [ebp + 0x14]
push edi
mov dword [esp + 0x48], edx
lea edi, [ecx*4 + 4]
mov edx, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
movsd qword [esp + 0x80], xmm3
imul esi, edi
call fcn.101b3010
test eax, eax
jne 0x101d2856
push eax
push esi
call fcn.10133a30
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
je 0x101d2856
mov ecx, dword [esp + 8]
push esi
push 0
push edx
movzx eax, byte [ecx + 0x14]
imul eax, edi
add eax, edx
mov dword [esp + 0x20], eax
call fcn.101ffde0
mov eax, dword [esp + 0x14]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x20], edi
mov cl, byte [eax + 0x14]
test cl, cl
je 0x101d239c
mov esi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x1c], edx
movzx eax, cl
mov ecx, dword [esp + 0x18]
add eax, edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esi], edx
test eax, eax
jle 0x101d2364
mov edi, eax
nop dword [eax + eax]
mov eax, dword [esi]
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x101d2350
mov edx, dword [esi]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x2c]
push edi
push eax
call fcn.101d20d0
mov eax, dword [esp + 0x18]
inc edi
mov edx, dword [esp + 0x2c]
add esp, 0x10
add edx, dword [esp + 0xc]
add esi, 4
mov dword [esp + 0x20], edi
mov cl, byte [eax + 0x14]
movzx eax, cl
mov dword [esp + 0x1c], edx
cmp edi, eax
jl 0x101d2331
movzx eax, cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], 0
test cl, cl
je 0x101d26a9
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
dec esi
mov dword [esp + 0x20], esi
mov eax, dword [edi + 0x10]
movzx ecx, byte [edi + 0x17]
sub eax, 4
cdq
idiv ecx
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
xor eax, eax
mov edx, dword [esp + 0x44]
xorps xmm0, xmm0
xor ecx, ecx
movsd qword [esp + 0x68], xmm0
xorps xmm3, xmm3
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x2c]
jg 0x101d2671
mov al, byte [edi + 0x16]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
lea eax, [eax + eax*2]
shl eax, 4
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + esi*4]
lea esi, [eax + eax*2]
movzx eax, byte [edi + 0x15]
shl esi, 4
add eax, 0xfffffffe
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
movups xmm0, xmmword [eax + ecx]
movups xmmword [esp + 0xc0], xmm0
movups xmm0, xmmword [eax + ecx + 0x10]
movups xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [eax + ecx + 0x20]
movups xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esi + ecx]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [esi + ecx + 0x20]
mov esi, 1
movups xmmword [esp + 0xb0], xmm0
cmp dword [esp + 0x20], esi
jle 0x101d2507
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
add edi, 4
mov eax, dword [edi]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 8]
cmp esi, edx
lea edx, [esp + 0xc0]
push eax
jl 0x101d24e9
lea edx, [esp + 0x94]
call fcn.101d19a0
mov edx, dword [esp + 0x34]
inc esi
mov ecx, dword [esp + 0x2c]
add esp, 4
add edi, 4
cmp esi, dword [esp + 0x20]
jl 0x101d24c8
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x50]
xorps xmm2, xmm2
mov cl, byte [esp + 0x13]
mov eax, edx
test cl, cl
jne 0x101d2532
movss xmm0, dword [esp + eax*4 + 0xcc]
movss xmm1, dword [esp + eax*4 + 0xc8]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x101d254c
movd xmm0, dword [esp + eax*4 + 0xcc]
movd xmm1, dword [esp + eax*4 + 0xc8]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub eax, 2
subsd xmm0, xmm1
addsd xmm2, xmm0
jns 0x101d2514
addsd xmm2, xmm3
mov eax, edx
xorps xmm3, xmm3
test cl, cl
jne 0x101d2580
movss xmm0, dword [esp + eax*4 + 0x9c]
movss xmm1, dword [esp + eax*4 + 0x98]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x101d259a
movd xmm0, dword [esp + eax*4 + 0x9c]
movd xmm1, dword [esp + eax*4 + 0x98]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub eax, 2
subsd xmm0, xmm1
addsd xmm3, xmm0
jns 0x101d2562
addsd xmm3, xmm2
push ecx
lea eax, [esp + 0x94]
mov ecx, edi
push eax
lea edx, [esp + 0xc8]
movsd qword [esp + 0x80], xmm3
call fcn.101d1a30
add esp, 8
movsd qword [esp + 0x60], xmm0
lea edx, [esp + 0x90]
mov ecx, edi
call fcn.101d1830
lea edx, [esp + 0xc0]
movsd qword [esp + 0x88], xmm0
mov ecx, edi
call fcn.101d1830
movsd xmm1, qword [esp + 0x88]
mov edx, dword [esp + 0x30]
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x60]
cmp edx, dword [esp + 0x44]
je 0x101d2638
movsd xmm2, qword [esp + 0x68]
comisd xmm2, xmm0
ja 0x101d2638
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x101d264c
movsd xmm2, qword [esp + 0x70]
comisd xmm2, xmm1
jbe 0x101d264c
mov ecx, edx
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x1c], ecx
movsd qword [esp + 0x70], xmm1
jmp 0x101d2650
mov ecx, dword [esp + 0x1c]
movsd xmm3, qword [esp + 0x78]
inc edx
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x2c]
jle 0x101d2460
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x101d2684
movsd xmm0, qword [esp + 0x80]
comisd xmm0, xmm3
jbe 0x101d2695
mov dword [esp + 0x38], eax
movsd qword [esp + 0x80], xmm3
mov dword [esp + 0x34], ecx
add dword [esp + 0x24], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x40]
jl 0x101d23f5
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
mov eax, dword [esi + ecx*4]
mov eax, dword [eax]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [edi], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x20]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [esi + ecx*4]
xor edi, edi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x20]
mov eax, ecx
movups xmmword [eax + 0x20], xmm0
cmp dword [esp + 0xc], edi
jle 0x101d27d1
nop word [eax + eax]
cmp edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
cmovl eax, dword [esp + 0x48]
cmovl ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + eax*4]
mov eax, dword [eax + edi*4]
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 8]
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl esi, 8
add esi, eax
mov eax, dword [ecx + 0x10]
movzx ecx, byte [ecx + 0x17]
sub eax, 4
cdq
idiv ecx
cmp esi, eax
jge 0x101d27a6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push esi
push dword [esp + 0x30]
call fcn.101cfa70
lea edx, [esi + 1]
add esp, 8
mov esi, dword [esp + 0x14]
mov eax, edx
shr eax, 8
mov ecx, dword [esi + 0x18]
mov byte [ecx + 2], al
mov byte [ecx + 3], dl
mov dword [esi + 0x14], 1
push dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
call fcn.101d19a0
mov edx, dword [esp + 0x2c]
inc edi
mov esi, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x3c]
cmp edi, dword [esp + 0xc]
jl 0x101d2720
cmp dword [0x102caf10], 0
je 0x101d2836
mov eax, dword [0x102d4690]
test eax, eax
je 0x101d27ed
push eax
call dword [0x102caf60]
add esp, 4
push esi
call dword [0x102caf3c]
sub dword [0x102d44b8], eax
add esp, 4
dec dword [0x102d44dc]
push esi
call dword [0x102caf34]
mov eax, dword [0x102d4690]
add esp, 4
test eax, eax
je 0x101d2840
push eax
call dword [0x102caf68]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.101e7040
mov esp, ebp
pop ebp
ret
push esi
call dword [0x102caf34]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.101e7040
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xfc]
mov eax, 7
pop edi
pop esi
xor ecx, esp
call fcn.101e7040
mov esp, ebp
pop ebp
ret