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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10104008]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov ecx, 0x101080ea
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 8], esi
mov dword [esp + 0x34], eax
call fcn.100de193
lea eax, [esi*4 + 4]
mov dword [esp + 0x2c], 0
movzx esi, byte [edi + 0x14]
xorps xmm3, xmm3
inc esi
mov dword [esp + 0x24], 0
movsd qword [esp + 0x60], xmm3
imul esi, eax
call fcn.100baf60
test eax, eax
jne 0x100d99d2
push eax
push esi
call fcn.1003f3a0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x100d99d2
mov edx, dword [esp + 8]
movzx eax, byte [edi + 0x14]
push esi
mov esi, dword [esp + 0x18]
lea ecx, [edx*4 + 4]
imul eax, ecx
push 0
push esi
add eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
call sub.VCRUNTIME140.dll_memset
mov cl, byte [edi + 0x14]
add esp, 0xc
mov dword [esp + 0xc], 0
test cl, cl
je 0x100d9551
xor edx, edx
mov dword [esp + 0x10], edx
nop dword [eax]
movzx eax, cl
mov ecx, dword [esp + 0x14]
add eax, edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 8]
xor ecx, ecx
mov dword [esi], edx
test eax, eax
jle 0x100d9514
mov edi, eax
nop word [eax + eax]
mov eax, dword [esi]
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x100d9500
mov edx, dword [esi]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 8]
push dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x14]
push eax
call fcn.100d9270
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov eax, dword [esp + 8]
inc edx
add dword [esp + 0x10], eax
add esi, 4
mov cl, byte [edi + 0x14]
movzx eax, cl
mov dword [esp + 0xc], edx
cmp edx, eax
mov edx, dword [esp + 0x10]
jl 0x100d94e0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], 0
test cl, cl
je 0x100d9814
mov dword [esp + 0xc], esi
xorps xmm4, xmm4
nop dword [eax + eax]
mov eax, dword [edi + 0x10]
movaps xmm3, xmm4
movzx ecx, byte [edi + 0x17]
sub eax, 4
cdq
movaps xmm0, xmm4
idiv ecx
movsd qword [esp + 0x38], xmm3
mov ecx, eax
movsd qword [esp + 0x50], xmm0
mov eax, 0x55555556
movsd qword [esp + 0x58], xmm4
imul ecx
mov eax, dword [esp + 8]
mov ecx, edx
mov dword [esp + 0x20], 0
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jg 0x100d97d6
nop
mov ecx, dword [esi]
mov esi, 1
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x10]
movups xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x20]
mov eax, dword [esp + 8]
movups xmmword [esp + 0xc0], xmm0
mov eax, dword [ecx + eax*4 - 4]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x10]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x20]
mov eax, dword [esp + 8]
dec eax
movups xmmword [esp + 0x90], xmm0
cmp eax, esi
jle 0x100d9675
mov eax, dword [esp + 0xc]
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
lea edx, [esp + 0xa0]
push eax
cmp esi, dword [esp + 0x14]
jl 0x100d9656
lea edx, [esp + 0x74]
call fcn.100d8b00
mov eax, dword [esp + 0xc]
inc esi
mov edx, dword [esp + 0x20]
dec eax
add esp, 4
cmp esi, eax
jl 0x100d9631
movsd xmm3, qword [esp + 0x38]
xorps xmm4, xmm4
movzx ecx, byte [edi + 0x15]
movaps xmm2, xmm4
mov dl, byte [edi + 0x16]
add ecx, 0xfffffffe
mov eax, ecx
test dl, dl
jne 0x100d96a2
movss xmm0, dword [esp + eax*4 + 0xac]
movss xmm1, dword [esp + eax*4 + 0xa8]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x100d96bc
movd xmm0, dword [esp + eax*4 + 0xac]
movd xmm1, dword [esp + eax*4 + 0xa8]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub eax, 2
subsd xmm0, xmm1
addsd xmm2, xmm0
jns 0x100d9684
addsd xmm2, xmm3
movaps xmm3, xmm4
test dl, dl
jne 0x100d96e8
movss xmm0, dword [esp + ecx*4 + 0x7c]
movss xmm1, dword [esp + ecx*4 + 0x78]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x100d96fc
movd xmm0, dword [esp + ecx*4 + 0x7c]
movd xmm1, dword [esp + ecx*4 + 0x78]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub ecx, 2
subsd xmm0, xmm1
addsd xmm3, xmm0
jns 0x100d96d0
addsd xmm3, xmm2
push ecx
lea eax, [esp + 0x74]
mov ecx, edi
push eax
lea edx, [esp + 0xa8]
movsd qword [esp + 0x40], xmm3
call fcn.100d8ba0
add esp, 8
movsd qword [esp + 0x48], xmm0
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.100d8980
lea edx, [esp + 0xa0]
movsd qword [esp + 0x68], xmm0
mov ecx, edi
call fcn.100d8980
mov eax, dword [edi + 0x10]
movzx ecx, byte [edi + 0x17]
sub eax, 4
cdq
idiv ecx
movsd xmm1, qword [esp + 0x68]
mov ecx, eax
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x48]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x10]
cmp edx, ecx
je 0x100d97a6
movsd xmm2, qword [esp + 0x50]
comisd xmm2, xmm0
ja 0x100d97a6
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x100d97b6
movsd xmm2, qword [esp + 0x58]
comisd xmm2, xmm1
jbe 0x100d97b6
mov dword [esp + 0x20], edx
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm1
mov eax, dword [esp + 8]
inc edx
movsd xmm3, qword [esp + 0x38]
sub eax, ecx
mov esi, dword [esp + 0xc]
xorps xmm4, xmm4
mov dword [esp + 0x10], edx
cmp edx, eax
jle 0x100d95c0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100d97ea
movsd xmm0, qword [esp + 0x60]
comisd xmm0, xmm3
jbe 0x100d97fc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
movsd qword [esp + 0x60], xmm3
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0x14]
inc ecx
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], esi
cmp ecx, eax
jl 0x100d9570
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [ecx + edx*4]
mov eax, dword [eax]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x20]
mov eax, edi
movups xmmword [eax + 0x20], xmm0
mov eax, dword [ecx + edx*4]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
movups xmmword [edx], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x20]
mov eax, edx
xor edx, edx
mov dword [esp + 0x10], edx
movups xmmword [eax + 0x20], xmm0
cmp dword [esp + 8], edx
jle 0x100d9949
nop word [eax + eax]
cmp edx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
cmovl eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
cmovl ecx, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x30]
mov eax, dword [eax + edx*4]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x18]
movzx ecx, byte [edi + 0x17]
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl esi, 8
add esi, eax
mov eax, dword [edi + 0x10]
sub eax, 4
cdq
idiv ecx
cmp esi, eax
jge 0x100d9918
mov edx, dword [esp + 0x18]
mov ecx, edi
push esi
push dword [esp + 0x24]
call fcn.100d6b90
lea edx, [esi + 1]
add esp, 8
mov esi, dword [esp + 0x18]
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 + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.100d8b00
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, dword [esp + 0x1c]
inc edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 8]
jl 0x100d9890
mov ecx, dword [esp + 0x14]
cmp dword [0x10104048], 0
je 0x100d99b2
mov eax, dword [0x10106638]
test eax, eax
je 0x100d9965
push eax
call dword [0x10104098]
add esp, 4
mov esi, dword [esp + 0x14]
push esi
call dword [0x10104074]
sub dword [0x10106460], eax
add esp, 4
dec dword [0x10106484]
push esi
call dword [0x1010406c]
mov eax, dword [0x10106638]
add esp, 4
test eax, eax
je 0x100d99bc
push eax
call dword [0x101040a0]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret
push ecx
call dword [0x1010406c]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
mov eax, 7
pop edi
pop esi
xor ecx, esp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret