Function at 0x140005310
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 r13
sub rsp, 0x40
mov rax, qword [0x140099108]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rax, rax
jne 0x1400054ce
mov rax, qword gs:[0x60]
xor r10d, r10d
mov r9d, 0x4ce30141
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
mov eax, dword [rsi + 0x58]
sub ax, 8
test r10d, r10d
je 0x1400053ad
mov rcx, qword [rsi + 0x60]
mov edx, 0x6c8e0b05
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x1400053a4
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140005390
cmp edx, r10d
jne 0x1400054af
mov r8, qword [rsi + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r8
cmp r11, r8
je 0x1400054af
mov edi, dword [r11 + 0x18]
test edi, edi
je 0x1400054af
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x6c8e0b05
lea rax, [r14 + rdi*4]
mov ecx, dword [rax + r8]
add rcx, r8
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140005427
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 0x140005410
cmp edx, r9d
je 0x140005432
test edi, edi
jne 0x1400053f0
jmp 0x1400054af
mov ecx, dword [r11 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
cmp rax, r11
jbe 0x1400054c7
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x1400054c7
movzx ecx, byte [rax]
mov r10d, 0x6c8e0b05
mov r9d, r10d
cmp cl, 0x2e
je 0x140005488
nop dword [rax]
movsx ecx, cl
inc rax
xor ecx, r10d
imul r10d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140005470
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x1400054ab
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140005493
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x1400054c5
cmp qword [rax + 0x30], 0
jne 0x140005364
xor eax, eax
mov qword [0x140099108], rax
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call rax
mov r13, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [r13 + 0x30], 0x100010
mov rdi, qword [0x1400990a8]
test rdi, rdi
jne 0x14000569d
mov rcx, qword gs:[0x60]
xor r10d, r10d
mov r9d, 0xdecc7347
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rbp, qword [rcx]
mov rsi, rbp
nop dword [rax + rax]
mov eax, dword [rsi + 0x58]
sub ax, 8
test r10d, r10d
je 0x14000557d
mov rcx, qword [rsi + 0x60]
mov edx, 0xbc0e0f60
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140005574
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x140005560
cmp edx, r10d
jne 0x14000567e
mov r8, qword [rsi + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov rcx, qword [rax + r8 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r8
cmp r11, r8
je 0x14000567e
mov edi, dword [r11 + 0x18]
test edi, edi
je 0x14000567e
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0xbc0e0f60
lea rax, [r14 + rdi*4]
mov ecx, dword [rax + r8]
add rcx, r8
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400055f7
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 0x1400055e0
cmp edx, r9d
je 0x140005602
test edi, edi
jne 0x1400055c0
jmp 0x14000567e
mov ecx, dword [r11 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r8
mov edi, dword [rcx + rdx*4]
add rdi, r8
cmp rdi, r11
jbe 0x140005696
lea rax, [r15 + r11]
cmp rdi, rax
jae 0x140005696
movzx eax, byte [rdi]
mov r10d, 0xbc0e0f60
mov r9d, r10d
cmp al, 0x2e
je 0x140005657
nop dword [rax + rax]
movsx eax, al
inc rdi
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rdi]
cmp al, 0x2e
jne 0x140005640
movzx eax, byte [rdi + 1]
inc rdi
test al, al
je 0x14000567a
movsx eax, al
lea rdi, [rdi + 1]
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rdi]
test al, al
jne 0x140005662
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x140005694
cmp qword [rax + 0x30], 0
jne 0x140005530
xor edi, edi
mov qword [0x1400990a8], rdi
mov rcx, qword [0x1400990b8]
test rcx, rcx
jne 0x140005842
mov rax, qword gs:[0x60]
xor r11d, r11d
mov qword [rsp + 0x30], r12
mov r10d, 0x7c9e4ac6
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov r14, r12
mov eax, dword [r14 + 0x58]
sub ax, 8
test r11d, r11d
je 0x14000571d
mov rcx, qword [r14 + 0x60]
mov edx, 0xbd0e10f3
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140005714
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140005700
cmp edx, r11d
jne 0x14000581e
mov r9, qword [r14 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov rbp, rcx
mov ebx, ecx
shr rbp, 0x20
add rbx, r9
cmp rbx, r9
je 0x14000581e
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14000581e
mov r15d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0xbd0e10f3
lea rax, [r15 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140005797
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 0x140005780
cmp edx, r10d
je 0x1400057a3
test r8d, r8d
jne 0x140005760
jmp 0x14000581e
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, rbx
jbe 0x140005836
lea rax, [rbx + rbp]
cmp rcx, rax
jae 0x140005836
movzx eax, byte [rcx]
mov r11d, 0xbd0e10f3
mov r10d, r11d
cmp al, 0x2e
je 0x1400057f7
nop dword [rax + rax]
movsx eax, al
inc rcx
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x1400057e0
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x14000581a
movsx eax, al
lea rcx, [rcx + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x140005802
mov r14, qword [r12]
mov rax, qword [r14]
mov r14, rax
cmp rax, r12
je 0x140005834
cmp qword [rax + 0x30], 0
jne 0x1400056d2
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov qword [0x1400990b8], rcx
call rcx
mov rdx, r13
mov rcx, rax
call rdi
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x140005892
cmp qword [r13 + 0x48], 0
jne 0x140005892
cmp qword [r13 + 0x50], 0
jne 0x140005892
cmp qword [r13 + 0x58], 0
jne 0x140005892
cmp qword [r13 + 0x60], 0
setne al
add rsp, 0x40
pop r13
ret
mov al, 1
add rsp, 0x40
pop r13
ret