Function at 0x140080ed0
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 - 0x158]
sub rsp, 0x258
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r12, r9
mov qword [rbp - 0x78], r9
mov esi, r8d
mov dword [rsp + 0x40], r8d
mov r13, rdx
mov qword [rbp - 0x50], rdx
mov rdi, rcx
mov r15, qword [rbp + 0x1c0]
mov qword [rbp - 0x80], r15
xor ecx, ecx
mov r14d, ecx
mov dword [rsp + 0x78], ecx
mov rbx, qword [0x140197fa8]
mov qword [rbp + 0x10], rcx
lea rax, [0x1401296c0]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rcx
mov rax, qword [rbx]
cmp dword [rax], ecx
je 0x140080f92
mov qword [rbp + 0x78], rcx
lea rcx, [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x10], rax
lea rcx, [0x1401605d3]
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, rbx
call fcn.140089ed0
nop
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140080fc9
lea r8, str.GenericLoadLibrary_Hook_called_with:
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140081003
mov r9, rdi
lea r8, str.Filename:__s
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008103d
mov r9, r13
lea r8, str.hFile:__x
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140081077
mov r9d, esi
lea r8, str.Flags:_0x_x
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
lea rcx, [rbp + 0xe0]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008111f
mov qword [rbp - 0x70], r12
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x130], xmm0
mov qword [rbp - 0x70], 0xc
lea rax, [rbp + 0x130]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x40], xmm0
lea rax, str.FuncName:_
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400a1420
nop
mov r14d, 5
mov dword [rsp + 0x78], r14d
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.140089d40
nop
test r14b, 1
je 0x140081169
and r14d, 0xfffffffe
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140081169
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081164
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x1400811a3
mov r9, r15
lea r8, str.CallerAddr:_0x_x
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
xor ebx, ebx
cmp dword [rax], ebx
je 0x140081397
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], bx
lea r8d, [rbx + 7]
lea rdx, str.UNKNOWN
lea rcx, [rbp + 0xa0]
call fcn.140002ed0
nop
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], bx
lea r8d, [rbx + 7]
lea rdx, str.UNKNOWN
lea rcx, [rbp + 0xe0]
call fcn.140002ed0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0xa0]
mov rcx, r15
call fcn.140088710
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], ebx
je 0x14008129d
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae r9, qword [rbp + 0xe0]
lea r8, str.CallerOffset:__s
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
lea rcx, [rsp + 0x48]
call fcn.140083790
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x10], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x1400812ec
lea r9, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae r9, qword [rbp + 0xa0]
lea r8, str.CallerName:__s
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x140081335
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], bx
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140081397
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081392
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400813bf
mov rax, qword [0x140197da8]
mov r8d, esi
mov rdx, r13
mov rcx, rdi
call rax
mov rbx, rax
jmp 0x140081ef0
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], bx
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400813f0
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.140002ed0
nop
call fcn.14008d050
mov r13, rax
mov qword [rsp + 0x78], rax
lea r8, [rbp + 0xc0]
mov r15, qword [rbp + 0xc0]
mov r12, qword [rbp + 0xd8]
cmp r12, 8
cmovae r8, r15
movabs rdx, 0xcbf29ce484222325
mov r11, qword [rbp + 0xd0]
lea r9, [r11 + r11]
xor ecx, ecx
test r9, r9
je 0x140081474
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x140081460
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov r10, qword [rax + rcx*8 + 8]
cmp r10, qword [r13 + 8]
je 0x1400815f5
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400814b2
mov rax, qword [rax]
lea r9, [rbp + 0xc0]
cmp r12, 8
cmovae r9, r15
cmp r11, rcx
jne 0x1400814fc
mov r8, r11
test r11, r11
je 0x14008150b
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x1400814fc
sub r9, rax
cmp cx, dx
ja 0x1400814fc
cmp r8, 1
je 0x14008150b
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400814e0
cmp r10, rsi
je 0x1400815f5
mov r10, qword [r10 + 8]
jmp 0x1400814a0
test r10, r10
je 0x1400815f5
cmp r10, qword [r13 + 8]
je 0x1400815f5
lea rax, [rsp + 0x48]
mov qword [rbp + 0x78], rax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], Ordinal_21
xor r8d, r8d
lea rdx, [0x1401605d3]
lea rcx, [rsp + 0x48]
call fcn.1400077b0
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x78], rax
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.14006b3a0
mov rsi, rax
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xf8], 7
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140081583
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.140002ed0
nop
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.140086580
mov rax, qword [0x140197da8]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x50]
mov rcx, rdi
call rax
mov rbx, rax
jmp 0x140081e8d
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.1400693d0
mov qword [rbp + 0xe0], r13
lea rax, [rbp + 0xc0]
mov qword [rbp + 0xe8], rax
mov byte [rbp + 0xf0], 1
cmp byte [0x140198082], 0
je 0x14008174a
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140081640
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140002ed0
or r14d, 0x18
lea rcx, [rsp + 0x48]
call fcn.14008e490
test al, al
je 0x14008174d
lea rax, [rsp + 0x48]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], Ordinal_21
xor r8d, r8d
lea rdx, [0x1401605d3]
lea rcx, [rsp + 0x48]
call fcn.1400077b0
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x78], rax
lea rcx, [rbp - 0x30]
call fcn.14007bfc0
mov rsi, rax
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], 7
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400816e2
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.140002ed0
nop
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call fcn.140086580
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, r15
jmp 0x140081e7d
xor r15d, r15d
cmp byte [0x140198089], 0
jne 0x1400817a2
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140081760
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140002ed0
or r14d, 0x62
lea rcx, [rsp + 0x48]
call fcn.14008ef60
test al, al
je 0x1400817a2
mov sil, 1
jmp 0x1400817a5
xor sil, sil
test r14b, 2
je 0x1400817b5
lea rcx, [rsp + 0x48]
call fcn.140002de0
test sil, sil
je 0x1400817d7
mov rax, qword [0x140197da8]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x50]
mov rcx, rdi
call rax
mov rbx, rax
jmp 0x140081e7d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r15w
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], Ordinal_21
mov byte [rbp + 0x110], 0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x110]
lea r8, [rbp + 0x80]
mov r12d, dword [rsp + 0x40]
mov edx, r12d
mov rcx, rdi
call fcn.140084f10
mov esi, eax
lea rax, [rbp + 0x70]
mov qword [rbp + 0xa0], rax
mov byte [rbp + 0xa8], 1
cmp esi, 0xa
jne 0x14008196c
lea rax, [rsp + 0x48]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], Ordinal_21
xor r8d, r8d
lea rdx, [0x1401605d3]
lea rcx, [rsp + 0x48]
call fcn.1400077b0
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x78], rax
lea rcx, [rbp - 0x30]
call fcn.14007bfc0
mov r15, rax
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov r14, qword [rbp + 0x90]
lea rsi, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rsi, qword [rbp + 0x80]
cmp r14, 8
jae 0x1400818df
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm0
lea ebx, [rcx + 7]
jmp 0x14008191b
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x70]
call fcn.1400031e0
mov qword [rbp - 0x70], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], rbx
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], r15
mov r9, qword [rbp - 0x78]
mov r8d, r12d
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.140086580
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r15d, r15d
mov ebx, r15d
jmp 0x140081dac
test esi, esi
je 0x140081c44
test byte [0x140198084], 0x10
je 0x140081a32
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.1400073e0
mov r13, rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x30]
call fcn.14007bfc0
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r12, qword [rbp + 0x90]
lea r15, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r15, qword [rbp + 0x80]
cmp r12, 8
jb 0x140081b7c
mov r14, r12
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400031e0
mov qword [rsp + 0x48], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x78]
jmp 0x140081bcf
test byte [0x140198084], 0x20
je 0x140081c44
cmp byte [0x140198083], 0
je 0x140081c11
lea rax, [rbp - 0x30]
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x70], rax
call fcn.1400073e0
mov r13, rax
cmp esi, 5
jne 0x140081b31
lea rax, [rbp + 0x30]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x30]
call fcn.14007bfc0
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r12, qword [rbp + 0x90]
lea r15, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r15, qword [rbp + 0x80]
cmp r12, 8
jae 0x140081aca
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
lea r14d, [rsi + 2]
jmp 0x140081b0c
mov r14, r12
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400031e0
mov qword [rsp + 0x48], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r14
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xa
jmp 0x140081beb
lea rax, [rbp + 0x30]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x30]
call fcn.14007bfc0
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r12, qword [rbp + 0x90]
lea r15, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r15, qword [rbp + 0x80]
cmp r12, 8
jae 0x140081b8d
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
mov r14d, 7
jmp 0x140081bcf
mov r14, r12
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400031e0
mov qword [rsp + 0x48], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], esi
mov r12d, dword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x78]
mov r8d, r12d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140086580
mov r13, qword [rsp + 0x78]
xor r15d, r15d
test byte [0x140198084], 0x20
je 0x140081c44
cmp esi, 5
je 0x140081c24
cmp esi, 2
jne 0x140081c44
mov ecx, 0x7e
cmp esi, 2
mov eax, 5
cmove eax, ecx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, r15
jmp 0x140081dac
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140081c74
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.140002ed0
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.140076c80
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140081ce3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081cde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081cde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp - 0x70], r13
lea rax, [rbp + 0x80]
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 1
lea rcx, [rsp + 0x48]
call fcn.140083790
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140081d34
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r9, qword [rbp + 0x80]
lea r8, str.calling_TrueLoadLibraryExW_with__s
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
mov rax, qword [0x140197da8]
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
mov r8d, r12d
mov rdx, qword [rbp - 0x50]
call rax
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140083790
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140081da2
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r9, qword [rbp + 0x80]
mov qword [rsp + 0x20], rbx
lea r8, str.calling_TrueLoadLibraryExW_with__s___dll_p
lea rdx, [0x140129770]
xor ecx, ecx
call fcn.14008a060
nop
lea rcx, [rbp - 0x70]
call fcn.14007d190
nop
mov rcx, qword [rbp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140081dbd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140081e01
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081dfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081dfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], Ordinal_21
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140081e63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081e5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081e5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r15w
lea rdx, [rbp + 0xc0]
mov rcx, r13
call fcn.14008be30
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x140081ed6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081ed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081ed1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r15w
lea rcx, [rbp + 0x10]
call fcn.14007da90
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140071e30
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret