Function at 0x140059c50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
sub rsp, 0x78
mov r10d, dword [0x1401c51ac]
test r10d, r10d
jne 0x140059eda
mov qword [rax + 8], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov r14d, 0x234c3aa0
mov qword [rax - 0x38], r15
xor r15d, r15d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140059e9c
cmp word [rax + 0x48], 0
je 0x140059e9c
mov ecx, dword [rax + 0x58]
sub cx, 8
test r15d, r15d
je 0x140059d23
mov r9, qword [rax + 0x60]
mov r10d, 0x325d01e2
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140059d1a
nop dword [rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140059cf0
cmp r10d, r15d
jne 0x140059e9c
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140059e9c
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140059e9c
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop dword [rax + rax]
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov ecx, dword [rcx + rbx]
lea rdx, [r10 + rdi*4]
mov r10d, dword [rdx + rbx]
add rcx, rbx
add r10, rbx
cmp rcx, rsi
jbe 0x140059d99
lea rdx, [r12 + rsi]
cmp rcx, rdx
jae 0x140059d99
mov bpl, 1
jmp 0x140059d9c
xor bpl, bpl
movzx r9d, byte [r10]
mov r11d, 0x325d01e2
inc r10
test r9b, r9b
je 0x140059ddf
nop
movsx edx, r9b
lea r10, [r10 + 1]
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [r10 - 1]
cmova r8d, edx
xor r8d, r11d
imul r11d, r8d, 0x1000193
test r9b, r9b
jne 0x140059db0
cmp r11d, r14d
je 0x140059dfc
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140059d60
mov rax, qword [rax]
jmp 0x140059cb0
test bpl, bpl
je 0x140059ea4
movzx r8d, byte [rcx]
mov r15d, 0x325d01e2
mov r14d, r15d
cmp r8b, 0x2e
je 0x140059e4c
nop dword [rax + rax]
movsx eax, r8b
sub r8b, 0x41
mov edx, eax
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rcx + 1]
cmova edx, eax
inc rcx
xor edx, r15d
imul r15d, edx, 0x1000193
cmp r8b, 0x2e
jne 0x140059e20
movzx r8d, byte [rcx + 1]
inc rcx
test r8b, r8b
je 0x140059e8b
nop dword [rax]
movsx eax, r8b
lea rcx, [rcx + 1]
sub r8b, 0x41
mov edx, eax
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rcx]
cmova edx, eax
xor edx, r14d
imul r14d, edx, 0x1000193
test r8b, r8b
jne 0x140059e60
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140059cb0
mov r10d, dword [rcx + 4]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov dword [0x1401c51ac], r10d
call fcn.140059310
mov r8, qword [rsp + 0x90]
lea r11, section..text
mov rdx, qword [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r10d
call r11
add rsp, 0x78
ret