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

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, 0xffffffffffffffff
mov rbx, r9
mov r15, rax
mov r12, r8
mov rbp, rdx
inc r15
cmp byte [r9 + r15], 0
jne 0x140005365
mov qword [rsp + 0x490], rsi
mov rcx, r15
add rcx, 1
mov qword [rsp + 0x458], rdi
mov qword [rsp + 0x450], r14
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [r15 + 1]
mov rdx, rbx
mov rcx, rax
mov r13, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov dword [rsp + 0x38], 0x400
call fcn.140004d40
mov rcx, qword gs:[0x60]
test eax, eax
je 0x14000549b
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov rsi, qword [rdx]
mov rbx, rsi
nop word [rax + rax]
mov r9, qword [rbx + 0x30]
xor r14d, r14d
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140005454
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140005454
mov edi, dword [r11 + 0x20]
nop dword [rax + rax]
dec r8d
mov edx, 0x38893586
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000544f
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 0x140005430
cmp edx, 0x85aefe9d
je 0x140005477
test r8d, r8d
jne 0x140005410
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x140005469
cmp qword [rax + 0x30], r14
jne 0x1400053e0
mov rax, r14
mov r9d, 0x20119
jmp 0x140005546
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
mov r9d, 0x20119
jmp 0x140005546
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x10]
mov rsi, qword [rcx]
mov rbx, rsi
nop dword [rax]
mov r9, qword [rbx + 0x30]
xor r14d, r14d
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140005528
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140005528
mov edi, dword [r11 + 0x20]
nop dword [rax + rax]
dec r8d
mov edx, 0xb6f58dec
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140005523
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 0x140005500
cmp edx, 0x9fe28bcb
je 0x14000577e
test r8d, r8d
jne 0x1400054e0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x14000553d
cmp qword [rax + 0x30], r14
jne 0x1400054b0
mov rax, r14
mov r9d, 0x20019
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rbp
mov rcx, 0xffffffff80000002
call rax
test eax, eax
jne 0x1400057d8
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rbx, rsi
nop
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400055f8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400055f8
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x28176894
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400055f3
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 0x1400055d0
cmp edx, 0xcab55cd
je 0x14000579c
test r8d, r8d
jne 0x1400055b0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x14000560e
cmp qword [rax + 0x30], 0
jne 0x140005580
mov rax, r14
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov rdx, r12
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x30]
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
mov r9, qword [rbx + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400056c8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400056c8
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x7d5a5f26
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400056c3
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 0x1400056a0
cmp edx, 0xb14bf557
je 0x1400057ba
test r8d, r8d
jne 0x140005680
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x1400056de
cmp qword [rax + 0x30], 0
jne 0x140005650
mov rax, r14
mov rcx, qword [rsp + 0x30]
call rax
test ebp, ebp
jne 0x1400057d8
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140005700
test rax, rax
je 0x14000573e
nop
movsx ecx, byte [rsp + r14 + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rsp + r14 + 0x40], al
lea rcx, [rsp + 0x40]
inc r14
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140005730
cmp r14, rax
jb 0x140005710
test r15, r15
je 0x14000575b
mov rbx, r13
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbx], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x140005746
mov rdx, r13
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x1400057d8
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
jmp 0x1400057e3
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 0x140005540
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 0x140005611
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 0x1400056e1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov r14, qword [rsp + 0x450]
mov rdi, qword [rsp + 0x458]
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000a5f0
add rsp, 0x460
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret