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

Disassembly:
sub esp, 0x70
mov ecx, dword [esp + 0x74]
mov eax, 0x51eb851f
push esi
mov dword [esp + 0xc], 0
mov esi, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x101074e1
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 0x18], ebx
push edi
mov ecx, dword [esp + 0x8c]
lea eax, [ebx + esi]
mov dword [esp + 0x14], eax
mov edx, 0x16
mov eax, 0x7fffffff
mov ebp, dword [ecx + 0x10]
sub eax, ebp
cmp eax, 1
jb 0x101074ec
cmp dword [ecx + 0x14], 0x10
mov dword [esp + 0x10], ecx
jb 0x1010719e
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
lea ebx, [ebp + 1]
mov dword [esp + 0x68], 0
mov esi, 0xf
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea edi, [esp + 0x68]
cmp ebx, esi
jbe 0x101071f3
mov esi, ebx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x101071da
mov esi, 0x7fffffff
jmp 0x101071e0
cmp esi, 0x16
cmovb esi, edx
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x6c]
call fcn.1001b300
mov edi, eax
mov dword [esp + 0x68], edi
push ebp
push dword [esp + 0x14]
mov dword [esp + 0x80], ebx
push edi
mov dword [esp + 0x88], esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0x20
mov byte [edi + ebp], 0x2e
mov byte [edi + ebx], 0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10107229
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.100290c0
mov edx, dword [esp + 0x88]
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, 0x7fffffff
mov ecx, dword [edx + 0x10]
sub eax, ecx
mov dword [esp + 0x10], ecx
cmp eax, 1
jb 0x101074ec
cmp dword [edx + 0x14], 0x10
mov ebp, edx
jb 0x10107298
mov ebp, dword [edx]
lea ebx, [ecx + 1]
mov dword [esp + 0x20], 0
mov esi, 0xf
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea edi, [esp + 0x20]
cmp ebx, esi
jbe 0x101072f6
mov esi, ebx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x101072d4
mov esi, 0x7fffffff
jmp 0x101072df
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x24]
call fcn.1001b300
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x20], edi
push ecx
push ebp
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [edi + eax], 0x2e
mov byte [edi + ebx], 0
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
mov ecx, dword [eax + 0x10]
jb 0x10107327
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.100290c0
push dword [esp + 0x94]
mov dword [esp + 0x3c], 0
push dword [esp + 0x94]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.10107500
mov ecx, dword [esp + 0x60]
add esp, 0x14
cmp ecx, 0x10
jb 0x101073c5
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101073bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101074e6
push ecx
push edx
call fcn.10174919
add esp, 8
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp ecx, 0x10
jb 0x10107410
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10107406
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101074e6
push ecx
push edx
call fcn.10174919
add esp, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
cmp ecx, 0x10
jb 0x1010745b
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10107451
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101074e6
push ecx
push edx
call fcn.10174919
add esp, 8
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp ecx, 0x10
jb 0x101074a2
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10107498
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101074e6
push ecx
push edx
call fcn.10174919
add esp, 8
mov edi, dword [esp + 0x84]
mov eax, 0x51eb851f
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc ebp
add ebx, 0x64
mov dword [esp + 0x18], ebp
mov ecx, dword [edi + 0x44]
mov esi, dword [edi + 0x40]
sub ecx, esi
imul ecx
mov dword [esp + 0x1c], ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10107168
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x70
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.1001b2e0
int3