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

Disassembly:
sub esp, 0x5c
cmp byte [esp + 0x64], 2
movaps xmm1, xmm2
push ebx
push ebp
sete al
movsd qword [esp + 0x38], xmm1
xorps xmm0, xmm0
mov byte [esp + 0xb], al
comisd xmm0, xmm1
push esi
mov ebx, edx
mov ebp, ecx
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
jb 0x100d8c01
test ebp, ebp
jle 0x100d8bda
test al, al
je 0x100d8bda
cmp ebp, dword [ebx + 0xc]
jbe 0x100d8bb5
mov eax, dword [ebx]
mov ecx, ebx
push ebp
call dword [eax]
mov eax, dword [ebx + 0xc]
cmp ebp, eax
push ebp
push 0x30
push dword [ebx + 4]
cmovbe eax, ebp
mov dword [ebx + 8], eax
call fcn.101383d0
add esp, 0xc
neg ebp
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ecx, dword [ebx + 8]
inc ecx
cmp ecx, dword [ebx + 0xc]
jbe 0x100d8bea
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov byte [ecx + eax], 0x30
inc dword [ebx + 8]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [esp + 0x14], 0
test ebp, ebp
jns 0x100d8c89
test byte [esp + 0x76], 4
je 0x100d8c3f
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
call fcn.100cfa60
mov esi, edx
lea ecx, [esp + 0x70]
push ebx
mov edx, eax
mov dword [esp + 0x78], esi
call fcn.100d59a0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
lea eax, [esp + 0x40]
push eax
call fcn.100cfd60
add esp, 4
lea ecx, [esp + 0x70]
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
movups xmmword [esp + 0x40], xmm1
push eax
movd eax, xmm1
push eax
push ebx
call fcn.100d5b60
movups xmm0, xmmword [esp + 0x4c]
add esp, 0xc
psrldq xmm0, 8
movd eax, xmm0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
movsd qword [esp + 0x28], xmm1
mov esi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x28]
and ecx, 0xfffff
shr esi, 0x14
and esi, 0x7ff
jne 0x100d8cb1
mov esi, 1
jmp 0x100d8cba
add edx, 0
adc ecx, 0x100000
mov ebp, ecx
mov dword [esp + 0x28], edx
mov edi, ecx
add esi, 0xfffffbcd
and ecx, 0x100000
mov dword [esp + 0x18], esi
xor eax, eax
mov ebx, edx
or eax, ecx
jne 0x100d8d01
nop word [eax + eax]
mov ebx, edx
mov ebp, edi
shld ebp, ebx, 1
xor eax, eax
dec esi
mov ecx, ebp
add ebx, ebx
and ecx, 0x100000
mov edx, ebx
or eax, ecx
mov edi, ebp
je 0x100d8ce0
mov dword [esp + 0x18], esi
lea ecx, [esi - 0xb]
mov eax, 0xffffffc3
sub eax, ecx
mov ecx, 0x4d104d42
imul ecx
shld ebp, ebx, 0xb
push 0
shl ebx, 0xb
add eax, 0xffffffff
push ebx
adc edx, 0
mov dword [esp + 0x28], ebp
push 0
mov dword [esp + 0x28], ebx
lea eax, [edx + 0x15b]
cdq
and edx, 7
add eax, edx
sar eax, 3
inc eax
mov dword [esp + 0x30], eax
push dword [eax*8 + 0x101c614c]
mov edi, dword [eax*8 + 0x101c6148]
call fcn.10136200
push 0
push ebp
push 0
push edi
mov ebx, eax
mov dword [esp + 0x38], edx
call fcn.10136200
push 0
push dword [esp + 0x20]
mov esi, eax
mov ebp, edx
push 0
push edi
call fcn.10136200
xor edi, edi
add edx, esi
adc edi, edi
add edx, ebx
mov ebx, dword [esp + 0x24]
adc edi, 0
add edx, 0x80000000
adc edi, 0
xor esi, esi
push esi
push dword [esp + 0x24]
push esi
push dword [ebx*8 + 0x101c614c]
call fcn.10136200
mov ecx, dword [esp + 0x18]
add edi, eax
movsx eax, word [ebx*2 + 0x101c6400]
adc esi, edx
mov dword [esp + 0x54], 0
add edi, ebp
adc esi, 0
add dword [esp + 0x28], edi
lea edi, [ebx*8 - 0x15c]
mov bh, byte [esp + 0x13]
adc esi, 0
mov byte [esp + 0x60], bh
mov dword [esp + 0x2c], esi
add ecx, 0x35
mov esi, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x30], eax
sub esp, 0x10
movups xmm0, xmmword [esp + 0x38]
mov eax, dword [esi + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov eax, edi
neg eax
mov dword [esp + 0x6c], eax
mov eax, esp
sub esp, 8
movups xmmword [eax], xmm0
lea edx, [esp + 0x68]
lea ecx, [esp + 0x2c]
call fcn.100c9540
add esp, 0x18
cmp eax, 2
je 0x100d8e3a
push dword [esp + 0x54]
mov ecx, esi
call fcn.100cd640
mov ebx, dword [esp + 0x5c]
add ebx, dword [esp + 0x14]
jmp 0x100d8f7e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
dec eax
mov ebp, dword [esp + 0x58]
sub ecx, edi
movsd xmm0, qword [esp + 0x40]
add eax, ecx
test byte [esp + 0x76], 4
mov dword [esp + 0x14], eax
je 0x100d8ecd
cvtpd2ps xmm0, xmm0
xor edx, edx
mov dword [esp + 0x44], edx
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
mov ecx, eax
and ecx, 0x7fffff
shr eax, 0x17
mov dword [esp + 0x40], ecx
movlpd qword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x40]
movzx edi, al
mov eax, ecx
or eax, edx
movups xmmword [esp + 0x50], xmm0
jne 0x100d8eba
cmp edi, 1
jbe 0x100d8eba
mov bl, 1
add ecx, 0x800000
lea eax, [edi - 0x96]
mov dword [esp + 0x50], ecx
adc edx, edx
mov dword [esp + 0x54], edx
jmp 0x100d8f33
xor bl, bl
test edi, edi
jne 0x100d8ea2
mov edi, 1
lea eax, [edi - 0x96]
jmp 0x100d8f33
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
mov edi, dword [esp + 0x44]
mov ecx, edi
mov edx, dword [esp + 0x40]
and ecx, 0xfffff
mov dword [esp + 0x40], edx
mov eax, edx
mov dword [esp + 0x44], ecx
movlpd qword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x40]
shr edi, 0x14
and edi, 0x7ff
or eax, ecx
movups xmmword [esp + 0x50], xmm0
jne 0x100d8fcd
cmp edi, 1
jbe 0x100d8fcd
mov bl, 1
add edx, 0
mov dword [esp + 0x50], edx
adc ecx, 0x100000
mov dword [esp + 0x54], ecx
lea eax, [edi - 0x433]
movups xmm0, xmmword [esp + 0x50]
mov dword [esp + 0x60], eax
xor eax, eax
test bl, bl
setne al
mov ecx, eax
or ecx, 4
test bh, bh
cmove ecx, eax
mov eax, 0x2ff
cmp ebp, eax
cmovg ebp, eax
sub esp, 0x18
mov eax, esp
mov edx, ebp
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.100ca850
mov ebx, dword [esp + 0x34]
add esp, 0x20
cmp byte [esp + 0x13], 0
jne 0x100d8fc3
test byte [esp + 0x76], 8
jne 0x100d8fc3
mov edi, dword [esi + 8]
test edi, edi
je 0x100d8fac
mov eax, dword [esi + 4]
dec eax
add eax, edi
nop dword [eax]
cmp byte [eax], 0x30
jne 0x100d8fac
dec eax
inc ebx
sub edi, 1
jne 0x100d8fa0
cmp edi, dword [esi + 0xc]
jbe 0x100d8fb8
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
mov ecx, dword [esi + 0xc]
cmp edi, ecx
cmovbe ecx, edi
mov dword [esi + 8], ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x5c
ret
xor bl, bl
test edi, edi
jne 0x100d8f1c
mov edi, 1
jmp 0x100d8f2d