Function at 0x140079d10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov rax, qword [0x1400d0128]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov qword [rbp - 0x78], r9
mov r12d, r8d
mov dword [rsp + 0x40], r8d
mov qword [rbp - 0x70], rdx
mov rsi, rcx
mov r13, qword [rbp + 0x1d0]
mov qword [rbp - 0x68], r13
xor edi, edi
mov r15d, edi
mov dword [rbp - 0x80], edi
lea rax, [0x1400d4ad0]
mov qword [rbp + 0x10], rax
lea rcx, [0x1400d4b20]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14007ae77
movzx ebx, byte [0x1400d4ad0]
test bl, bl
sete byte [rbp + 0x18]
test bl, bl
jne 0x140079d99
inc dword [0x1400d4b70]
lea rcx, [0x1400d4b20]
call sub.MSVCP140.dll__Mtx_unlock
nop
mov r14, qword [0x1400d4cc8]
mov qword [rbp + 0x20], rdi
lea rax, [0x1400b4270]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], rdi
mov rax, qword [r14]
cmp dword [rax], 0
je 0x140079e18
mov qword [rbp + 0x88], rdi
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x20], rax
lea rcx, [0x1400aa868]
mov qword [rsp + 0x28], rcx
lea rax, str._DLLPROTECT__::_GenericLoadLibrary_Hook___
mov qword [rsp + 0x20], rax
lea r9, str._s_s
mov r8, rcx
xor edx, edx
mov rcx, r14
call fcn.140082fb0
nop
test bl, bl
je 0x140079e2f
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rdi
jmp 0x14007ae07
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140079e66
lea r8, str.GenericLoadLibrary_Hook_called_with:
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140079ea0
mov r9, rsi
lea r8, str.Filename:__s
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
mov rbx, qword [rbp - 0x70]
cmp dword [rax], 0
je 0x140079ede
mov r9, rbx
lea r8, str.hFile:__x
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140079f18
mov r9d, r12d
lea r8, str.Flags:_0x_x
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
lea rcx, [rbp + 0xf0]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140079fc3
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x60], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp - 0x60], ntohs
lea rax, [rbp + 0x140]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp], xmm0
lea rax, str.FuncName:_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], ntohs
lea r8, [rbp]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.14009a7b0
nop
mov r15d, 5
mov dword [rbp - 0x80], r15d
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_GenericLoadLibrary_Hook____
xor ecx, ecx
call fcn.140082e20
nop
test r15b, 1
je 0x14007a00d
and r15d, 0xfffffffe
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14007a00d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a008
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14007a047
mov r9, r13
lea r8, str.CallerAddr:_0x_x
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14007a23f
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], di
mov r8d, 7
lea rdx, [0x1400b0b58]
lea rcx, [rbp + 0xb0]
call fcn.140004980
nop
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], di
mov r8d, 7
lea rdx, [0x1400b0b58]
lea rcx, [rbp + 0xf0]
call fcn.140004980
nop
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0xb0]
mov rcx, r13
call fcn.140081760
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14007a145
lea r9, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae r9, qword [rbp + 0xf0]
lea r8, str.CallerOffset:__s
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14007a194
lea r9, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae r9, qword [rbp + 0xb0]
lea r8, str.CallerName:__s
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x14007a1dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a1d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a1d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], di
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x14007a23f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a23a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a23a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007a26a
mov rax, qword [0x1400d4b78]
mov r8d, r12d
mov rdx, rbx
mov rcx, rsi
call rax
mov rdi, rax
mov rbx, rax
jmp 0x14007ae07
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], di
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x14007a294
mov rdx, rsi
lea rcx, [rbp + 0xd0]
call fcn.140004980
nop
call fcn.1400861b0
mov r14, rax
mov qword [rbp - 0x80], rax
lea r8, [rbp + 0xd0]
mov r12, qword [rbp + 0xd0]
mov r13, qword [rbp + 0xe8]
cmp r13, 8
cmovae r8, r12
movabs rdx, 0xcbf29ce484222325
mov r11, qword [rbp + 0xe0]
lea r9, [r11 + r11]
mov rcx, rdi
test r9, r9
je 0x14007a314
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x14007a300
mov rcx, qword [r14 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r14 + 0x18]
mov r10, qword [rax + rcx*8 + 8]
cmp r10, qword [r14 + 8]
je 0x14007a4a6
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14007a352
mov rax, qword [rax]
lea r9, [rbp + 0xd0]
cmp r13, 8
cmovae r9, r12
cmp r11, rcx
jne 0x14007a39c
mov r8, r11
test r11, r11
je 0x14007a3ab
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x14007a39c
sub r9, rax
cmp cx, dx
ja 0x14007a39c
cmp r8, 1
je 0x14007a3ab
dec r8
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x14007a380
cmp r10, r14
je 0x14007a4a2
mov r10, qword [r10 + 8]
jmp 0x14007a340
mov r14, qword [rbp - 0x80]
test r10, r10
je 0x14007a4a6
cmp r10, qword [r14 + 8]
je 0x14007a4a6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
xor r8d, r8d
lea rdx, [0x1400aa868]
lea rcx, [rsp + 0x48]
call fcn.140004870
nop
lea rax, [rbp - 0x40]
mov qword [rbp + 0x88], rax
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.140074820
mov r14, rax
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], 7
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14007a430
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0xf0]
call fcn.140004980
nop
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r14
mov r9, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call fcn.14007f560
mov rax, qword [0x1400d4b78]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
call rax
mov rbx, rax
jmp 0x14007ada5
mov r14, qword [rbp - 0x80]
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0xb0]
mov rcx, r14
call fcn.14006efd0
mov qword [rbp + 0xf0], r14
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xf8], rax
mov byte [rbp + 0x100], 1
cmp byte [0x1400d4da2], 0
je 0x14007a5ff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x14007a4f0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140004980
or r15d, 0x18
lea rcx, [rsp + 0x48]
call fcn.1400875f0
test al, al
je 0x14007a5ff
lea rax, [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
xor r8d, r8d
lea rdx, [0x1400aa868]
lea rcx, [rsp + 0x48]
call fcn.140004870
nop
lea rax, [rbp - 0x40]
mov qword [rbp + 0x88], rax
lea rcx, [rbp - 0x40]
call fcn.1400748c0
mov r14, rax
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], 7
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14007a593
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140004980
nop
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], r14
mov r9, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call fcn.14007f560
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rdi
mov rsi, qword [rbp - 0x80]
jmp 0x14007ad95
cmp byte [0x1400d4da9], 0
jne 0x14007a652
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x14007a610
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140004980
or r15d, 0x62
lea rcx, [rsp + 0x48]
call fcn.1400880c0
test al, al
je 0x14007a652
mov r14b, 1
jmp 0x14007a655
xor r14b, r14b
test r15b, 2
je 0x14007a665
lea rcx, [rsp + 0x48]
call fcn.140004530
test r14b, r14b
je 0x14007a68b
mov rax, qword [0x1400d4b78]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
call rax
mov rbx, rax
mov rsi, qword [rbp - 0x80]
jmp 0x14007ad95
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], di
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x120]
lea r8, [rbp + 0x90]
mov r13d, dword [rsp + 0x40]
mov edx, r13d
mov rcx, rsi
call fcn.14007de70
mov r14d, eax
lea rax, [rbp + 0x80]
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0xb8], 1
cmp r14d, 0xa
jne 0x14007a82d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
xor r8d, r8d
lea rdx, [0x1400aa868]
lea rcx, [rsp + 0x48]
call fcn.140004870
nop
lea rax, [rbp - 0x40]
mov qword [rbp + 0x88], rax
lea rcx, [rbp - 0x40]
call fcn.1400748c0
mov r12, rax
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov r15, qword [rbp + 0xa0]
lea r14, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r14, qword [rbp + 0x90]
cmp r15, 8
jae 0x14007a79f
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x60], xmm0
mov ebx, 7
jmp 0x14007a7db
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x60]
call fcn.140083cf0
mov qword [rbp - 0x60], rax
lea r8, [r15*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rbx
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], r12
mov r9, qword [rbp - 0x78]
mov r8d, r13d
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14007f560
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rdi
mov rsi, qword [rbp - 0x80]
jmp 0x14007acc2
test r14d, r14d
je 0x14007ab57
test byte [0x1400d4da4], 0x10
je 0x14007a927
lea rax, [rbp - 0x40]
mov qword [rbp], rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x40]
call fcn.140002c60
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x40]
call fcn.1400748c0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r13, qword [rbp + 0xa0]
lea r12, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r12, qword [rbp + 0x90]
cmp r13, 8
jae 0x14007a8c0
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x48], xmm0
mov r15d, 7
jmp 0x14007a8fe
mov r15, r13
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmova r15, rax
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x48]
call fcn.140083cf0
mov qword [rsp + 0x48], rax
lea r8, [r13*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
jmp 0x14007aafc
test byte [0x1400d4da4], 0x20
je 0x14007ab57
cmp byte [0x1400d4da3], 0
je 0x14007ab1f
lea rax, [rbp - 0x40]
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x60], rax
call fcn.140002c60
cmp r14d, 5
jne 0x14007aa35
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x40]
call fcn.1400748c0
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r13, qword [rbp + 0xa0]
lea r12, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r12, qword [rbp + 0x90]
cmp r13, 8
jae 0x14007a9c6
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x48], xmm0
lea r15d, [r14 + 2]
jmp 0x14007aa04
mov r15, r13
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmova r15, rax
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x48]
call fcn.140083cf0
mov qword [rsp + 0x48], rax
lea r8, [r13*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa
mov rax, qword [rbp + 0x88]
jmp 0x14007ab01
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x40]
call fcn.1400748c0
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r13, qword [rbp + 0xa0]
lea r12, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r12, qword [rbp + 0x90]
cmp r13, 8
jae 0x14007aa9a
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x48], xmm0
mov r15d, 7
jmp 0x14007aad8
mov r15, r13
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmova r15, rax
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x48]
call fcn.140083cf0
mov qword [rsp + 0x48], rax
lea r8, [r13*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x88]
mov dword [rsp + 0x28], r14d
mov r13d, dword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x78]
mov r8d, r13d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14007f560
test byte [0x1400d4da4], 0x20
je 0x14007ab57
cmp r14d, 5
je 0x14007ab34
cmp r14d, 2
jne 0x14007ab57
mov edx, 0x7e
cmp r14d, 2
mov ecx, 5
cmove ecx, edx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rdi
mov rsi, qword [rbp - 0x80]
jmp 0x14007acc2
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rdx, qword [rbp + 0x90]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14007ab86
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.140004980
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x60]
mov rsi, qword [rbp - 0x80]
mov rcx, rsi
call fcn.14006f1b0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14007abf9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007abf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007abf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
mov qword [rbp - 0x60], rsi
lea rax, [rbp + 0x90]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 1
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14007ac4a
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r9, qword [rbp + 0x90]
lea r8, str.calling_TrueLoadLibraryExW_with__s
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
mov rax, qword [0x1400d4b78]
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rcx, qword [rbp + 0x90]
mov r8d, r13d
mov rdx, qword [rbp - 0x70]
call rax
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.14007c6f0
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14007acb8
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r9, qword [rbp + 0x90]
mov qword [rsp + 0x20], rbx
lea r8, str.calling_TrueLoadLibraryExW_with__s___dll_p
lea rdx, [0x1400b4320]
xor ecx, ecx
call fcn.140083140
nop
lea rcx, [rbp - 0x60]
call fcn.140075c40
nop
mov rcx, qword [rbp + 0x80]
cmp rcx, 0xffffffffffffffff
je 0x14007acd6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x14007ad1a
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ad15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ad15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x14007ad7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ad77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ad77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], di
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.140084f80
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 8
jb 0x14007adee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ade9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ade9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a280
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], di
lea rcx, [rbp + 0x20]
call fcn.140076690
nop
cmp byte [rbp + 0x18], 0
je 0x14007ae49
lea rcx, [0x1400d4b20]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14007ae6f
sub dword [0x1400d4b70], 1
jne 0x14007ae3c
lea rcx, [0x1400d4ad8]
call sub.MSVCP140.dll__Cnd_broadcast
lea rcx, [0x1400d4b20]
call sub.MSVCP140.dll__Mtx_unlock
nop
mov rax, rbx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14006a600
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3