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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, ecx
mov dword [esp + 0x18], eax
push esi
push edi
mov edi, dword [esp + 0x80]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ebx
test ecx, ecx
jne 0x100f3aa6
xor eax, eax
jmp 0x100f3aab
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp byte [eax + 6], 1
je 0x100f3f3a
mov ecx, ebp
call fcn.1012aed0
test byte [eax + 0xc], 0x40
je 0x100f3b12
mov ecx, dword [ebp + 8]
test dword [ecx + 0x10], 4
jne 0x100f3b12
test ecx, ecx
je 0x100f3b12
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x100f3b12
sub esp, 0xc
mov ecx, ebp
push esp
call fcn.1007a480
mov ecx, ebx
call fcn.100f39e0
mov dword [ebx + 0xc], 0
mov al, 1
mov dword [ebx + 0x10], 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1037e005
add esp, 0x6c
ret 0xc
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x44], eax
mov eax, dword [edi]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x64]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x20]
movups xmm0, xmmword [eax + 0x14]
movzx eax, word [eax + 0xe]
movups xmmword [esp + 0x10], xmm0
test al, 3
je 0x100f3cf5
movss xmm1, dword [esp + 0x10]
subss xmm1, dword [0x10386830]
mov eax, dword [esp + 0x48]
cdq
sub eax, 1
movss dword [esp + 0x20], xmm1
sbb edx, 0
movss xmm1, dword [esp + 0x14]
subss xmm1, dword [0x10386830]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0x18]
subss xmm1, dword [0x10387f88]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esp + 0x1c]
subss xmm1, dword [0x10387f88]
movss dword [esp + 0x10], xmm1
cmp edx, 0xffffffff
jg 0x100f3bdc
jl 0x100f3bd2
cmp eax, 0x80000001
jae 0x100f3bdc
mov dword [esp + 0x48], 0x80000001
jmp 0x100f3bf7
test edx, edx
jl 0x100f3bf3
jg 0x100f3be9
cmp eax, 0x7fffffff
jbe 0x100f3bf3
mov dword [esp + 0x48], 0x7fffffff
jmp 0x100f3bf7
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
cdq
sub eax, 1
sbb edx, 0
cmp edx, 0xffffffff
jg 0x100f3c1a
jl 0x100f3c10
cmp eax, 0x80000001
jae 0x100f3c1a
mov dword [esp + 0x4c], 0x80000001
jmp 0x100f3c35
test edx, edx
jl 0x100f3c31
jg 0x100f3c27
cmp eax, 0x7fffffff
jbe 0x100f3c31
mov dword [esp + 0x4c], 0x7fffffff
jmp 0x100f3c35
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
cdq
add eax, 1
adc edx, 0
cmp edx, 0xffffffff
jg 0x100f3c58
jl 0x100f3c4e
cmp eax, 0x80000001
jae 0x100f3c58
mov dword [esp + 0x50], 0x80000001
jmp 0x100f3c73
test edx, edx
jl 0x100f3c6f
jg 0x100f3c65
cmp eax, 0x7fffffff
jbe 0x100f3c6f
mov dword [esp + 0x50], 0x7fffffff
jmp 0x100f3c73
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
cdq
add eax, 1
adc edx, 0
cmp edx, 0xffffffff
jg 0x100f3c96
jl 0x100f3c8c
cmp eax, 0x80000001
jae 0x100f3c96
mov dword [esp + 0x54], 0x80000001
jmp 0x100f3cb1
test edx, edx
jl 0x100f3cad
jg 0x100f3ca3
cmp eax, 0x7fffffff
jbe 0x100f3cad
mov dword [esp + 0x54], 0x7fffffff
jmp 0x100f3cb1
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movups xmm0, xmmword [esp + 0x58]
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, eax
movups xmmword [esp + 0x60], xmm0
call fcn.1003b460
movss xmm1, dword [esp + 0x10]
jmp 0x100f3d1f
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm1
sub esp, 8
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
cvtpd2ps xmm0, xmm0
minss xmm0, dword [0x1038683c]
maxss xmm0, dword [0x10386844]
cvttss2si ebx, xmm0
movss xmm0, dword [esp + 0x30]
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_ceil
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
cvtpd2ps xmm0, xmm0
minss xmm0, dword [0x1038683c]
maxss xmm0, dword [0x10386844]
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x34]
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
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
cvtpd2ps xmm0, xmm0
minss xmm0, dword [0x1038683c]
maxss xmm0, dword [0x10386844]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x28]
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
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
minss xmm0, dword [0x1038683c]
maxss xmm0, dword [0x10386844]
cvttss2si eax, xmm0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, eax
call fcn.1003b460
test al, al
je 0x100f3f3a
mov edi, dword [ebp + 0x1c]
mov ecx, ebp
call fcn.1012aed0
mov esi, eax
mov ecx, dword [esi]
mov ebx, dword [ecx + 0x34]
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x100f3e58
xor eax, eax
jmp 0x100f3e5d
mov eax, dword [ecx]
call dword [eax + 0x14]
push edi
push eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call ebx
mov eax, dword [esp + 0x30]
test ah, ah
jne 0x100f3e77
movups xmm1, xmmword [esp + 0x48]
jmp 0x100f3e7c
movups xmm1, xmmword [esp + 0x38]
cmp al, 1
jne 0x100f3e89
xor edi, edi
xor ebx, ebx
lea eax, [edi + 1]
jmp 0x100f3e9b
movaps xmm0, xmm1
movd edi, xmm1
psrldq xmm0, 4
xor eax, eax
movd ebx, xmm0
push dword [esp + 0x30]
push 1
push eax
sub esp, 0x10
mov eax, esp
push 0
push dword [ebp + 0xc]
movups xmmword [eax], xmm1
lea eax, [esp + 0x48]
push dword [ebp + 8]
push dword [ebp + 4]
push eax
call fcn.100e5c40
mov edx, dword [ebp + 0xc]
add esp, 0x24
mov ax, word [ebp + 0x10]
mov esi, esp
push ecx
mov ecx, esp
push edx
push ecx
mov word [ecx], ax
mov ecx, esp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [ecx], eax
mov ecx, esi
call fcn.10078d70
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.100f39e0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebx
test ecx, ecx
je 0x100f3f23
lea edx, [ecx + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
cmp eax, 1
jne 0x100f3f23
xor eax, eax
test edx, edx
cmove ecx, eax
test ecx, ecx
je 0x100f3f23
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1037e005
add esp, 0x6c
ret 0xc
mov ecx, dword [esp + 0x78]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1037e005
add esp, 0x6c
ret 0xc