Function at 0x140041c00
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 [0x14008b180]
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 [0x14008d938]
mov qword [rbp + 0x10], rcx
lea rax, [0x140072320]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rcx
mov rax, qword [rbx]
cmp dword [rax], ecx
je 0x140041cc2
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, [0x140073f83]
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.14004b0a0
nop
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x140041cf9
lea r8, str.GenericLoadLibrary_Hook_called_with:
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x140041d33
mov r9, rdi
lea r8, str.Filename:__s
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x140041d6d
mov r9, r13
lea r8, str.hFile:__x
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x140041da7
mov r9d, esi
lea r8, str.Flags:_0x_x
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
lea rcx, [rbp + 0xe0]
call fcn.1400444c0
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 0x140041e4f
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.140062de0
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.14004af10
nop
test r14b, 1
je 0x140041e99
and r14d, 0xfffffffe
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140041e99
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041e94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x140041ed3
mov r9, r15
lea r8, str.CallerAddr:_0x_x
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x1400420c7
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.14002d2e0
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.14002d2e0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0xa0]
mov rcx, r15
call fcn.140049770
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x140041fcd
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae r9, qword [rbp + 0xe0]
lea r8, str.CallerOffset:__s
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
lea rcx, [rsp + 0x48]
call fcn.1400444c0
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 0x14004201c
lea r9, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae r9, qword [rbp + 0xa0]
lea r8, str.CallerName:__s
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x140042065
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], bx
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x1400420c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400420c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400420c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400420ef
mov rax, qword [0x14008d738]
mov r8d, esi
mov rdx, r13
mov rcx, rdi
call rax
mov rbx, rax
jmp 0x140042c20
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 0x140042120
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.14002d2e0
nop
call fcn.14004e270
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 0x1400421a4
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x140042190
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 0x140042325
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 0x1400421e2
mov rax, qword [rax]
lea r9, [rbp + 0xc0]
cmp r12, 8
cmovae r9, r15
cmp r11, rcx
jne 0x14004222c
mov r8, r11
test r11, r11
je 0x14004223b
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x14004222c
sub r9, rax
cmp cx, dx
ja 0x14004222c
cmp r8, 1
je 0x14004223b
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x140042210
cmp r10, rsi
je 0x140042325
mov r10, qword [r10 + 8]
jmp 0x1400421d0
test r10, r10
je 0x140042325
cmp r10, qword [r13 + 8]
je 0x140042325
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], 0xf
xor r8d, r8d
lea rdx, [0x140073f83]
lea rcx, [rsp + 0x48]
call fcn.14002d960
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x78], rax
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.14003c530
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 0x1400422b3
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.14002d2e0
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.140047300
mov rax, qword [0x14008d738]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x50]
mov rcx, rdi
call rax
mov rbx, rax
jmp 0x140042bbd
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.140036c70
mov qword [rbp + 0xe0], r13
lea rax, [rbp + 0xc0]
mov qword [rbp + 0xe8], rax
mov byte [rbp + 0xf0], 1
cmp byte [0x14008da12], 0
je 0x14004247a
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140042370
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.14002d2e0
or r14d, 0x18
lea rcx, [rsp + 0x48]
call fcn.14004f7e0
test al, al
je 0x14004247d
lea rax, [rsp + 0x48]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
xor r8d, r8d
lea rdx, [0x140073f83]
lea rcx, [rsp + 0x48]
call fcn.14002d960
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x78], rax
lea rcx, [rbp - 0x30]
call fcn.14003c5d0
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 0x140042412
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002d2e0
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.140047300
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, r15
jmp 0x140042bad
xor r15d, r15d
cmp byte [0x14008da19], 0
jne 0x1400424d2
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140042490
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14002d2e0
or r14d, 0x62
lea rcx, [rsp + 0x48]
call fcn.1400502b0
test al, al
je 0x1400424d2
mov sil, 1
jmp 0x1400424d5
xor sil, sil
test r14b, 2
je 0x1400424e5
lea rcx, [rsp + 0x48]
call fcn.140003670
test sil, sil
je 0x140042507
mov rax, qword [0x14008d738]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x50]
mov rcx, rdi
call rax
mov rbx, rax
jmp 0x140042bad
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], 0xf
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.140045c40
mov esi, eax
lea rax, [rbp + 0x70]
mov qword [rbp + 0xa0], rax
mov byte [rbp + 0xa8], 1
cmp esi, 0xa
jne 0x14004269c
lea rax, [rsp + 0x48]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
xor r8d, r8d
lea rdx, [0x140073f83]
lea rcx, [rsp + 0x48]
call fcn.14002d960
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x78], rax
lea rcx, [rbp - 0x30]
call fcn.14003c5d0
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 0x14004260f
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm0
lea ebx, [rcx + 7]
jmp 0x14004264b
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.14002d740
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.140047300
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r15d, r15d
mov ebx, r15d
jmp 0x140042adc
test esi, esi
je 0x140042974
test byte [0x14008da14], 0x10
je 0x140042762
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.140018720
mov r13, rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x30]
call fcn.14003c5d0
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 0x1400428ac
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.14002d740
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 0x1400428ff
test byte [0x14008da14], 0x20
je 0x140042974
cmp byte [0x14008da13], 0
je 0x140042941
lea rax, [rbp - 0x30]
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x70], rax
call fcn.140018720
mov r13, rax
cmp esi, 5
jne 0x140042861
lea rax, [rbp + 0x30]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x30]
call fcn.14003c5d0
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 0x1400427fa
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
lea r14d, [rsi + 2]
jmp 0x14004283c
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.14002d740
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 0x14004291b
lea rax, [rbp + 0x30]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x30]
call fcn.14003c5d0
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 0x1400428bd
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
mov r14d, 7
jmp 0x1400428ff
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.14002d740
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.140047300
mov r13, qword [rsp + 0x78]
xor r15d, r15d
test byte [0x14008da14], 0x20
je 0x140042974
cmp esi, 5
je 0x140042954
cmp esi, 2
jne 0x140042974
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 0x140042adc
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 0x1400429a4
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.14002d2e0
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.140036e50
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140042a13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042a0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042a0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
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.1400444c0
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140042a64
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r9, qword [rbp + 0x80]
lea r8, str.calling_TrueLoadLibraryExW_with__s
lea rdx, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
mov rax, qword [0x14008d738]
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.1400444c0
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140042ad2
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, [0x1400723d0]
xor ecx, ecx
call fcn.14004b230
nop
lea rcx, [rbp - 0x70]
call fcn.14003dae0
nop
mov rcx, qword [rbp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140042aed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140042b31
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042b2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042b2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140042b93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042b8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r15w
lea rdx, [rbp + 0xc0]
mov rcx, r13
call fcn.14004d050
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x140042c06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042c01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042c01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067440
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r15w
lea rcx, [rbp + 0x10]
call fcn.14003e500
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400673e0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret