Function at 0x140085e00
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 + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x140321090]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rax, qword gs:[0x60]
mov r15, rcx
xor r12d, r12d
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140085ec4
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140085ec4
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140085ebf
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 0x140085ea0
cmp edx, 0x185776b5
je 0x140085ef3
test r8d, r8d
jne 0x140085e80
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140085ed9
cmp qword [rax + 0x30], r12
jne 0x140085e50
mov rax, r12
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140085f0e
xor eax, eax
jmp 0x1400862cd
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 0x140085edc
xor edx, edx
mov qword [rsp + 0x2f8], r13
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x238
xor r13b, r13b
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140085fc8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140085fc8
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rbx]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140085fc3
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 0x140085fa0
cmp edx, 0xa4c8c8f
je 0x1400860c2
test r8d, r8d
jne 0x140085f80
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140085fdd
cmp qword [rax + 0x30], r12
jne 0x140085f50
mov rax, r12
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x2f0], rbp
mov rcx, r14
call rax
test eax, eax
je 0x140086205
nop word [rax + rax]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x9c]
mov qword [rsp + 0x30], r12
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140010db0
cmp qword [rsp + 0x60], 0x10
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x9c]
cmovae rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r12
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rsi, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
cmp rsi, 0x10
mov r8, qword [r15 + 0x10]
mov rcx, r15
setae bpl
cmovae rdx, rbx
cmp qword [r15 + 0x18], 0x10
jb 0x1400860ad
mov rcx, qword [r15]
cmp r8, qword [rsp + 0x58]
jne 0x1400860e0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400860e0
mov dil, 1
jmp 0x1400860e3
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 0x140085fe0
xor dil, dil
test bpl, bpl
je 0x140086119
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140086111
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400861fb
mov rcx, rbx
call fcn.1400efe14
test dil, dil
jne 0x140086202
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400861b4
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400861b4
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rbx + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400861af
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 0x140086190
cmp edx, 0x15eec872
je 0x1400861e0
test r8d, r8d
jne 0x140086170
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x1400861c9
cmp qword [rax + 0x30], r12
jne 0x140086140
mov rax, r12
lea rdx, [rsp + 0x70]
mov rcx, r14
call rax
test eax, eax
jne 0x140086000
jmp 0x140086205
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 0x1400861cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r13b, 1
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140086294
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140086294
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rbx]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14008628f
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 0x140086270
cmp edx, 0xfaba0065
je 0x1400862f5
test r8d, r8d
jne 0x140086250
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x1400862a9
cmp qword [rax + 0x30], r12
jne 0x140086220
mov rax, r12
mov rcx, r14
call rax
mov rbp, qword [rsp + 0x2f0]
test r13b, r13b
mov r13, qword [rsp + 0x2f8]
cmovne r12d, dword [rsp + 0x78]
mov eax, r12d
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400efb60
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
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 0x1400862ac