Function at 0x140085600
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x1402fb080]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, rdx
mov esi, ecx
mov qword [rsp + 0x20], rdx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400856c6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400856c6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x11f4db37
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400856c1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400856a0
cmp r8d, 0x65219c7
je 0x1400856cb
test r9d, r9d
jne 0x140085680
mov rax, qword [rax]
jmp 0x140085650
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
mov edx, esi
mov ecx, 8
call r8
mov rbp, rax
test rax, rax
je 0x140085968
cmp rax, 0xffffffffffffffff
je 0x140085968
cmp rax, 0x18
je 0x140085968
mov dword [rsp + 0x30], 0x438
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400857a6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400857a6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
mov r8d, 0x7ea0363b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400857a1
nop
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140085780
cmp r8d, 0x86154775
je 0x1400857ab
test r9d, r9d
jne 0x140085760
mov rcx, qword [rcx]
jmp 0x140085730
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x30]
mov rcx, rbp
call r8
test eax, eax
je 0x140085ae1
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400857e3
mov rdx, qword [r14]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
je 0x1400859e1
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140085886
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140085886
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0xb72b55c3
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140085881
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140085860
cmp r8d, 0xd23beea8
je 0x14008588b
test r9d, r9d
jne 0x140085840
mov rax, qword [rax]
jmp 0x140085810
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x30]
mov rcx, rbp
call r8
test eax, eax
jne 0x1400857d6
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140085946
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140085946
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x92971f80
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140085941
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140085920
cmp r8d, 0xd066864a
je 0x14008594b
test r9d, r9d
jne 0x140085900
mov rax, qword [rax]
jmp 0x1400858d0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov rcx, rbp
call rdx
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x1400859a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400859a2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140085b7f
mov rcx, r8
call fcn.1400dad74
xor eax, eax
mov word [r14], ax
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400daad0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rsi, qword [rsp + 0x48]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140085a66
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140085a66
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0xbd07b1d6
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140085a61
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140085a40
cmp r8d, 0x9c60a26c
je 0x140085a6b
test r9d, r9d
jne 0x140085a20
mov rax, qword [rax]
jmp 0x1400859f0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov rcx, rbp
call rdx
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140085ac7
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140085ac2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140085b7f
mov rcx, r8
call fcn.1400dad74
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 7
mov word [r14], ax
mov rax, rsi
jmp 0x1400859b9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140085b7a
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140085b7a
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x86d546f
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140085b75
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140085b50
cmp r8d, 0x68ebf7e3
je 0x14008594b
test r9d, r9d
jne 0x140085b30
mov rax, qword [rax]
jmp 0x140085b00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3