Function at 0x1400101d0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400992c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x80]
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rdi
mov byte [rbp - 0x50], r14b
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x30], r14b
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
call fcn.14000ff80
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x1400102ad
cmp eax, 4
je 0x1400102ad
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
lea ecx, [rdi + 0x11]
call fcn.140066550
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], reloc.WS2_32.dll_select
mov qword [rsp + 0x68], 0x1f
movups xmm0, xmmword [str.Invalid_arguments.]
movups xmmword [rax], xmm0
movzx ecx, word [0x140082bc8]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], r14b
lea rcx, [rsp + 0x50]
call fcn.14000f300
xor bl, bl
mov rsi, qword [rbp - 0x38]
jmp 0x1400108cd
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], rdi
mov rax, qword [str.Global_]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140082bd4]
mov word [rbp - 0x6c], ax
movzx eax, byte [0x140082bd6]
mov byte [rbp - 0x6a], al
mov byte [rbp - 0x69], 0
lea r9, [rbp - 0x50]
mov rsi, qword [rbp - 0x38]
cmp rsi, 0xf
cmova r9, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x40]
cmp rbx, 8
ja 0x14001031c
lea rax, [rbx + 7]
mov qword [rbp - 0x60], rax
mov r8, rbx
mov rdx, r9
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x69], 0
jmp 0x140010334
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140017040
mov rsi, qword [rbp - 0x38]
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x14009dc10], rax
test rax, rax
jne 0x1400103bf
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
lea ecx, [rax + 0x20]
call fcn.140066550
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], reloc.WS2_32.dll_shutdown
mov qword [rsp + 0x68], 0x1f
movups xmm0, xmmword [str.CreateEvent_for_cancel]
movups xmmword [rax], xmm0
mov ecx, dword [0x140082be8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x140082bec]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
lea rcx, [rsp + 0x50]
call fcn.14000f300
jmp 0x14001051c
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14001088d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x70], 0
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
lea rcx, [rsp + 0x70]
cmp rbx, 0xf
ja 0x140010410
mov qword [rbp - 0x80], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x70], 0
jmp 0x140010420
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
call fcn.140017040
mov qword [0x14009dbf8], r14
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r8, qword [rsp + 0x70]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov qword [0x14009dc00], rax
test rax, rax
je 0x140010688
mov qword [rsp + 0x20], 0x24
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x14009dbf8], rax
test rax, rax
jne 0x140010561
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
lea ecx, [rax + 0x30]
call fcn.140066550
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x20
mov qword [rsp + 0x68], 0x2f
movups xmm0, xmmword [str.MapViewOfFile_for_gpu_throttling]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140082c00]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14000f300
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001050f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001050a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010681
call fcn.140066980
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14001055a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010555
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010555
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066980
xor bl, bl
jmp 0x1400108cd
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x14009dbf0], rax
test rax, rax
je 0x140010582
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov ecx, 0x20
call fcn.140066550
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayLock
mov qword [rsp + 0x68], 0x1f
movups xmm0, xmmword [str.Throttling_enabled._n]
movups xmmword [rax], xmm0
mov ecx, dword [0x140082c28]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov rdx, qword [0x14009dc30]
cmp rdx, qword [0x14009dc38]
je 0x1400105f2
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov byte [rsp + 0x50], 0
add qword [0x14009dc30], 0x20
jmp 0x140010608
lea r8, [rsp + 0x50]
lea rcx, [0x14009dc28]
call fcn.14001b180
mov rdi, qword [rsp + 0x68]
cmp rdi, 0xf
jbe 0x140010642
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001063c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010880
call fcn.140066980
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001088d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010887
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010887
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140016ca0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, 0x18
jb 0x14001096e
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], SafeArrayPutElement
lea r9, str.Throttling_not_enabled.
lea r8, [rsp + 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140019470
nop
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp - 0x10]
call fcn.140013f60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400107b6
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400107b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400107b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066980
movdqa xmm0, xmmword [0x1400837c0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rax, qword [0x14009dc30]
cmp rax, qword [0x14009dc38]
je 0x1400107ed
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.1400131b0
add qword [0x14009dc30], 0x20
jmp 0x140010801
lea r8, [rbp + 0x10]
mov rdx, rax
lea rcx, [0x14009dc28]
call fcn.14001b310
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140010840
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001083a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001083a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066980
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140010642
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001063c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001063c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140066980
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400108cb
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400108c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400108c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066980
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14001090c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010906
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010906
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066980
nop
cmp rsi, 0xf
jbe 0x140010947
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066980
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140066410
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140003070
nop
int3