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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x40], 0
xor r13d, r13d
mov qword [r11 - 0x60], r13
mov dword [r11 - 0x44], r13d
mov word [r11 - 0x48], r13w
lea r12, [rcx + 0x10]
mov qword [rsp + 0x58], r12
cmp qword [r12], r13
je 0x1400046b9
cmp qword [rcx], r13
je 0x1400046b9
lea rsi, [rcx + 8]
cmp qword [rsi], r13
je 0x1400046b9
lea rbx, [rcx + 0x18]
cmp qword [rbx], r13
jne 0x1400049e2
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov r11, qword [rcx + 0x30]
mov rax, qword [0x14000ccb8]
test rax, rax
jne 0x140004776
movsxd rax, dword [r11 + 0x3c]
mov edi, dword [rax + r11 + 0x88]
mov r10d, r13d
mov esi, dword [rdi + r11 + 0x20]
nop word [rax + rax]
mov ebx, r10d
lea rax, [rsi + rbx*4]
mov r8d, dword [rax + r11]
add r8, r11
mov r9d, 0x698077e2
movzx edx, byte [r8]
inc r8
test dl, dl
je 0x140004747
nop
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx edx, byte [r8]
lea r8, [r8 + 1]
test dl, dl
jne 0x140004720
cmp r9d, 0x7c041c83
je 0x140004755
inc r10d
jmp 0x140004700
mov ecx, dword [rdi + r11 + 0x1c]
add rcx, r11
mov eax, dword [rdi + r11 + 0x24]
add rax, r11
movzx eax, word [rax + rbx*2]
mov eax, dword [rcx + rax*4]
add rax, r11
mov qword [0x14000ccb8], rax
mov qword [r12], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov r11, qword [rcx + 0x30]
mov rax, qword [0x14000cb98]
test rax, rax
jne 0x140004836
movsxd rax, dword [r11 + 0x3c]
mov edi, dword [rax + r11 + 0x88]
mov r10d, r13d
mov esi, dword [rdi + r11 + 0x20]
nop word [rax + rax]
mov ebx, r10d
lea rax, [r11 + rbx*4]
mov r8d, dword [rax + rsi]
add r8, r11
mov r9d, 0x4f0df2d6
movzx edx, byte [r8]
inc r8
test dl, dl
je 0x140004807
nop
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx edx, byte [r8]
lea r8, [r8 + 1]
test dl, dl
jne 0x1400047e0
cmp r9d, 0xebeb47e8
je 0x140004815
inc r10d
jmp 0x1400047c0
mov ecx, dword [rdi + r11 + 0x1c]
add rcx, r11
mov eax, dword [rdi + r11 + 0x24]
add rax, r11
movzx eax, word [rax + rbx*2]
mov eax, dword [rcx + rax*4]
add rax, r11
mov qword [0x14000cb98], rax
mov qword [r15], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov r11, qword [rcx + 0x30]
mov rax, qword [0x14000cc30]
test rax, rax
jne 0x1400048f6
movsxd rax, dword [r11 + 0x3c]
mov edi, dword [rax + r11 + 0x88]
mov r10d, r13d
mov esi, dword [rdi + r11 + 0x20]
nop word [rax + rax]
mov ebx, r10d
lea rax, [r11 + rbx*4]
mov r8d, dword [rax + rsi]
add r8, r11
mov r9d, 0x56406be8
movzx edx, byte [r8]
inc r8
test dl, dl
je 0x1400048c7
nop
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx edx, byte [r8]
lea r8, [r8 + 1]
test dl, dl
jne 0x1400048a0
cmp r9d, 0xe87bf83
je 0x1400048d5
inc r10d
jmp 0x140004880
mov ecx, dword [rdi + r11 + 0x1c]
add rcx, r11
mov eax, dword [rdi + r11 + 0x24]
add rax, r11
movzx eax, word [rax + rbx*2]
mov eax, dword [rcx + rax*4]
add rax, r11
mov qword [0x14000cc30], rax
lea rsi, [r15 + 8]
mov qword [rsi], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov r11, qword [rcx + 0x30]
mov rax, qword [0x14000cbd8]
test rax, rax
jne 0x1400049b6
movsxd rax, dword [r11 + 0x3c]
mov edi, dword [rax + r11 + 0x88]
mov r10d, r13d
mov r14d, dword [rdi + r11 + 0x20]
nop dword [rax]
mov ebx, r10d
lea rax, [r11 + rbx*4]
mov r8d, dword [rax + r14]
add r8, r11
mov r9d, 0x5ab74b80
movzx edx, byte [r8]
inc r8
test dl, dl
je 0x140004987
nop
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx edx, byte [r8]
lea r8, [r8 + 1]
test dl, dl
jne 0x140004960
cmp r9d, 0xf835c710
je 0x140004995
inc r10d
jmp 0x140004940
mov ecx, dword [rdi + r11 + 0x1c]
add rcx, r11
mov eax, dword [rdi + r11 + 0x24]
add rax, r11
movzx eax, word [rax + rbx*2]
mov eax, dword [rcx + rax*4]
add rax, r11
mov qword [0x14000cbd8], rax
lea rbx, [r15 + 0x18]
mov qword [rbx], rax
cmp qword [r12], r13
je 0x140004cd3
cmp qword [r15], r13
je 0x140004cd3
cmp qword [rsi], r13
je 0x140004cd3
test rax, rax
je 0x140004cd3
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x70], rbx
mov r12, rbx
mov r15, rsi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0xa8], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..TitanHide
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140004a8d
mov dword [rsp + 0x90], 2
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 0x40]
mov qword [rsp + 0x98], rdx
mov dword [rsp + 0x94], 0x3ff
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xa8]
mov r8d, 0x10
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov r14d, 1
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, r14d
xor edx, edx
mov rcx, 0xffffffffffffffff
mov r8, rcx
call rax
movzx edi, byte [rsp + 0x40]
cmp eax, 0xc0000008
cmove edi, r14d
mov byte [rsp + 0x40], dil
mov byte [rsp + 0xa1], r14b
mov rax, qword [rbx]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x88]
mov rdx, 0xffffffffffffffff
mov rcx, rdx
mov r8, rdx
call rax
mov rax, qword [rsi]
lea r9d, [r14 + 1]
lea r8, [rsp + 0xa0]
lea edx, [r14 + 3]
mov rcx, qword [rsp + 0x88]
call rax
mov rax, qword [rbx]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x88]
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x88]
mov rcx, r8
call rax
jmp 0x140004b70
mov byte [rsp + 0xa1], 0
mov rax, qword [r15]
mov r9d, 2
lea r8, [rsp + 0xa0]
lea edx, [r9 + 2]
mov rcx, qword [rsp + 0x88]
call rax
mov r15, qword [rsp + 0x48]
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x88]
call rdx
mov rax, qword [rsp + 0x58]
mov r10, qword [rax]
mov r9d, 4
lea r8, [rsp + 0xa4]
lea edx, [r9 + 0x1c]
mov rcx, 0xffffffffffffffff
call r10
test eax, eax
jns 0x140004bda
movzx eax, dil
jmp 0x140004cd5
mov byte [rsp + 0xa1], 1
mov rax, qword [r12]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x88]
mov rdx, 0xffffffffffffffff
mov rcx, rdx
mov r8, rdx
call rax
mov rax, qword [rsi]
mov r9d, 2
lea r8, [rsp + 0xa0]
lea edx, [r9 + 2]
mov rcx, qword [rsp + 0x88]
call rax
mov rax, qword [rbx]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x88]
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x88]
mov rcx, r8
call rax
mov bl, 1
mov byte [rsp + 0x40], bl
jmp 0x140004c7c
xor r9d, r9d
lea r8, [rsp + 0xa4]
lea edx, [r9 + 0x20]
lea rcx, [r9 - 1]
mov rax, qword [rsp + 0x58]
call qword [rax]
mov byte [rsp + 0xa1], 0
mov r9d, 2
lea r8, [rsp + 0xa0]
lea edx, [r9 + 2]
mov rcx, qword [rsp + 0x88]
mov r10, qword [rsp + 0x80]
call qword [r10]
mov rcx, qword [rsp + 0x88]
call qword [r15]
movzx eax, bl
jmp 0x140004cd5
xor al, al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140007a30
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret