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], r14
lea ecx, [rdi + 0x11]
call fcn.1400665f0
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 [0x140082d08]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], r14b
lea rcx, [rsp + 0x50]
call fcn.14000f310
xor bl, bl
mov rsi, qword [rbp - 0x38]
jmp 0x1400108c4
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 [0x140082d14]
mov word [rbp - 0x6c], ax
movzx eax, byte [0x140082d16]
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.140017030
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], r14
lea ecx, [rax + 0x20]
call fcn.1400665f0
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 [0x140082d28]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x140082d2c]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
lea rcx, [rsp + 0x50]
call fcn.14000f310
jmp 0x14001051c
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x140010884
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.140017030
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 0x14001067f
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], r14
lea ecx, [rax + 0x30]
call fcn.1400665f0
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 [0x140082d40]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14000f310
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 0x140010678
call fcn.140066a20
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.140066a20
xor bl, bl
jmp 0x1400108c4
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.1400665f0
mov qword [rsp + 0x50], rax
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SafeArrayLock]
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [str.Throttling_enabled._n]
movups xmmword [rax], xmm0
mov ecx, dword [0x140082d68]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov rdx, qword [0x14009dc30]
cmp rdx, qword [0x14009dc38]
je 0x1400105e9
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov byte [rsp + 0x50], 0
add qword [0x14009dc30], 0x20
jmp 0x1400105ff
lea r8, [rsp + 0x50]
lea rcx, [0x14009dc28]
call fcn.14001b0f0
mov rdi, qword [rsp + 0x68]
cmp rdi, 0xf
jbe 0x140010639
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010877
call fcn.140066a20
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140010884
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001087e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001087e
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.140016c90
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 0x140010965
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.140019460
nop
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp - 0x10]
call fcn.140013f50
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 0x1400107ad
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400107a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400107a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066a20
movdqa xmm0, xmmword [0x140083900]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rax, qword [0x14009dc30]
cmp rax, qword [0x14009dc38]
je 0x1400107e4
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.1400131a0
add qword [0x14009dc30], 0x20
jmp 0x1400107f8
lea r8, [rbp + 0x10]
mov rdx, rax
lea rcx, [0x14009dc28]
call fcn.14001b280
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140010837
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010831
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010831
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066a20
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140010639
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010633
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140066a20
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400108c2
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400108bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400108bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066a20
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140010903
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400108fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400108fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066a20
nop
cmp rsi, 0xf
jbe 0x14001093e
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010939
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066a20
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400664b0
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.140003000
nop
int3