Function at 0x140040ca0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
mov r9, qword [r11 + 0x30]
xor r15d, r15d
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140040d44
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140040d44
mov edi, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140040d3f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140040d20
cmp edx, 0x185776b5
je 0x140040d73
test r8d, r8d
jne 0x140040d00
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140040d59
cmp qword [rax + 0x30], r15
jne 0x140040cd0
mov rax, r15
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140040d8c
xor eax, eax
jmp 0x140040f34
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140040d5c
xor edx, edx
mov qword [rsp + 0x280], rbp
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x238
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140040e48
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140040e48
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140040e43
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140040e20
cmp edx, 0xa4c8c8f
je 0x140040f4d
test r8d, r8d
jne 0x140040e00
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140040e5d
cmp qword [rax + 0x30], r15
jne 0x140040dd0
mov rax, r15
lea rdx, [rsp + 0x20]
mov rcx, r14
call rax
mov rcx, qword gs:[0x60]
mov ebp, eax
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rsi, qword [rcx]
mov rbx, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140040f04
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140040f04
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rdi]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140040eff
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140040ee0
cmp edx, 0xfaba0065
je 0x140040f69
test r8d, r8d
jne 0x140040ec0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x140040f19
cmp qword [rax + 0x30], r15
jne 0x140040e90
mov rax, r15
mov rcx, r14
call rax
test ebp, ebp
mov rbp, qword [rsp + 0x280]
cmovne r15d, dword [rsp + 0x28]
mov eax, r15d
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140040e60
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140040f1c