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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 4], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.1005f690
or edi, 0xffffffff
test al, al
je 0x100fbebf
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xd4]
push eax
call fcn.1005b8d0
movss xmm0, dword [esp + 0xe8]
sub esp, 8
addss xmm0, dword [0x10386830]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
cvtpd2ps xmm0, xmm0
minss xmm0, dword [0x1038683c]
maxss xmm0, dword [0x10386844]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xe4]
addss xmm0, dword [0x10386830]
mov dword [esp + 0x68], eax
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov ecx, dword [ebp + 0x10]
add esp, 8
fstp qword [esp + 0x10]
movsd xmm0, qword [esp + 0x10]
cvtpd2ps xmm0, xmm0
minss xmm0, dword [0x1038683c]
maxss xmm0, dword [0x10386844]
cvttss2si eax, xmm0
cdq
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov dword [esp + 0x20], edx
cdq
add eax, dword [esp + 0x1c]
adc edx, dword [esp + 0x20]
cmp edx, edi
jg 0x100fbaf9
jl 0x100fbaec
cmp eax, 0x80000001
jae 0x100fbaf9
mov dword [esp + 0x8c], 0x80000001
jmp 0x100fbb1a
test edx, edx
jl 0x100fbb13
jg 0x100fbb06
cmp eax, 0x7fffffff
jbe 0x100fbb13
mov dword [esp + 0x8c], 0x7fffffff
jmp 0x100fbb1a
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
cdq
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], edx
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x60]
cmp edx, 0xffffffff
jg 0x100fbb4e
jl 0x100fbb41
cmp eax, 0x80000001
jae 0x100fbb4e
mov dword [esp + 0x90], 0x80000001
jmp 0x100fbb6f
test edx, edx
jl 0x100fbb68
jg 0x100fbb5b
cmp eax, 0x7fffffff
jbe 0x100fbb68
mov dword [esp + 0x90], 0x7fffffff
jmp 0x100fbb6f
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 8]
cdq
add eax, dword [esp + 0x1c]
adc edx, dword [esp + 0x20]
cmp edx, 0xffffffff
jg 0x100fbb96
jl 0x100fbb89
cmp eax, 0x80000001
jae 0x100fbb96
mov dword [esp + 0x94], 0x80000001
jmp 0x100fbbb7
test edx, edx
jl 0x100fbbb0
jg 0x100fbba3
cmp eax, 0x7fffffff
jbe 0x100fbbb0
mov dword [esp + 0x94], 0x7fffffff
jmp 0x100fbbb7
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 0xc]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x60]
cmp edx, 0xffffffff
jg 0x100fbbde
jl 0x100fbbd1
cmp eax, 0x80000001
jae 0x100fbbde
mov dword [esp + 0x98], 0x80000001
jmp 0x100fbbff
test edx, edx
jl 0x100fbbf8
jg 0x100fbbeb
cmp eax, 0x7fffffff
jbe 0x100fbbf8
mov dword [esp + 0x98], 0x7fffffff
jmp 0x100fbbff
mov dword [esp + 0x98], eax
cmp dword [esp + 8], 0
je 0x100fbd92
lea ecx, [esp + 0x9c]
call fcn.100741f0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.100c67f0
test al, al
je 0x100fbef4
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xa0]
call fcn.10075100
test al, al
je 0x100fbef4
cmp byte [esi + 0x44], 0
mov eax, 0x100fb250
mov ecx, dword [esp + 0x2c]
mov edi, 0x100fb350
cmovne edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x100fbcb2
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x90]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push dword [esp + 0x90]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x54], ecx
push eax
call fcn.100fcc10
add esp, 0x10
test al, al
je 0x100fbd41
xor esi, esi
cmp dword [esp + 0x58], esi
jle 0x100fbd3d
mov ecx, dword [esp + 0xc]
add ecx, 0x34
mov dword [esp + 8], ecx
nop dword [eax]
mov eax, dword [esp + 0x64]
push dword [esp + 0x54]
imul eax, esi
add eax, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x4c]
imul eax, esi
add eax, dword [esp + 0x48]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x18]
inc esi
add esp, 0x10
cmp esi, dword [esp + 0x58]
jl 0x100fbd10
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
or edi, 0xffffffff
test ecx, ecx
je 0x100fbd65
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x100fbd65
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x100fbd86
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x100fbd86
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
lea ecx, [esp + 0x9c]
call fcn.10074230
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
movaps xmm0, xmmword [esp + 0x60]
push eax
movaps xmmword [esp + 0x64], xmm0
call fcn.100ba150
push 0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xc8]
push eax
mov ecx, eax
call fcn.100baba0
cmp byte [esi + 0x44], 0
mov ecx, 0x100fb410
mov eax, 0x100fb4c0
cmovne eax, ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 8], eax
lea eax, [esp + 0xc0]
push eax
call fcn.100ba0d0
cmp byte [esp + 0xb4], 0
jne 0x100fbeb0
nop dword [eax]
movups xmm1, xmmword [esp + 0xa4]
movaps xmm0, xmm1
movups xmmword [esp + 0x40], xmm1
psrldq xmm0, 4
psrldq xmm1, 0xc
movd esi, xmm0
movd eax, xmm1
cmp esi, eax
jge 0x100fbe96
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0xac]
mov edx, dword [esp + 0xc]
sub edi, eax
add edx, 0x34
lea ecx, [eax*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x60], ecx
nop dword [eax]
mov eax, dword [esp + 0x28]
imul eax, esi
push edi
add eax, dword [esp + 0x28]
add eax, ecx
push eax
push edx
call dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
inc esi
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp esi, dword [esp + 0x4c]
jl 0x100fbe70
lea ecx, [esp + 0x9c]
call fcn.100baa80
cmp byte [esp + 0xb4], 0
je 0x100fbe20
lea ecx, [esp + 0xc0]
call fcn.100ba260
or edi, 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100fbede
lock xadd dword [eax], edi
cmp edi, 1
jne 0x100fbede
push 0x90
push eax
call fcn.1037dfe9
add esp, 8
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x100fbf15
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x100fbf15
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
lea ecx, [esp + 0x9c]
call fcn.10074230
jmp 0x100fbebf