Function at 0x180006060
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate process modules
Get system information on windows
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.180017320
sub rsp, rax
mov rax, qword [0x180025010]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
xor edi, edi
mov r13, r8
mov qword [rcx], rdi
mov r14, rdx
mov qword [rcx + 8], rdi
mov r12, rcx
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x7c], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x78], edi
jne 0x180006355
mov rax, qword [0x180026d68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
test rax, rax
jne 0x1800061d7
mov rax, qword gs:[0x60]
mov qword [rsp + 0x2328], rsi
mov qword [rsp + 0x22d0], r15
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r15, qword [rax]
mov rbx, r15
nop dword [rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1800061a8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1800061a8
mov esi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800061a3
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 0x180006180
cmp edx, 0xea2dda8a
je 0x180006322
test r8d, r8d
jne 0x180006160
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
je 0x1800061bd
cmp qword [rax + 0x30], rdi
jne 0x180006130
mov rax, rdi
mov r15, qword [rsp + 0x22d0]
mov rsi, qword [rsp + 0x2328]
mov qword [0x180026d68], rax
mov r9d, gethostbyname
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, r14
call rax
test eax, eax
js 0x18000641c
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0xa0
movups xmmword [rsp + 0x38], xmm0
call fcn.18000afd0
xor edx, edx
lea rcx, [rbp + 0x1fb0]
mov r8d, 0x200
call fcn.18000afd0
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x30]
add rdx, 0x18
mov qword [rsp + 0x20], rdi
mov r9d, 8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000641c
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
add rdx, 0x10
mov qword [rsp + 0x20], rdi
mov r9d, send
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000641c
mov rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x50]
mov r9d, 0xa0
mov qword [rsp + 0x20], rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000641c
mov rax, qword [rbp - 0x50]
cmp rax, qword [rsp + 0x38]
je 0x18000641c
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x1800062ef
mov r9d, 0x200
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x1fb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800062eb
mov rdx, r13
lea rcx, [rbp + 0x1fb0]
call fcn.18000e360
test eax, eax
je 0x180006340
mov rax, qword [rbp - 0x50]
mov r9d, 0xa0
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x50]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000641c
mov rax, qword [rbp - 0x50]
cmp rax, qword [rsp + 0x38]
jne 0x1800062b0
jmp 0x18000641c
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 0x1800061c0
mov rax, qword [rbp - 0x20]
mov qword [r12], rax
mov eax, dword [rbp - 0x10]
mov qword [r12 + 8], rax
jmp 0x18000641c
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x2000
call fcn.18000afd0
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
mov r8d, 0x2000
mov dword [rsp + 0x20], 3
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x18000641c
test dword [rsp + 0x30], 0xfffffff8
jbe 0x18000641c
xor edx, edx
lea rcx, [rbp + 0x1fb0]
mov r8d, 0x208
call fcn.18000afd0
mov eax, edi
lea rbx, [rbp - 0x50]
mov rdx, qword [rbx + rax*8]
lea rbx, [rbx + rax*8]
mov r9d, 0x104
lea r8, [rbp + 0x1fb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1800063fd
mov edx, 0x5c
lea rcx, [rbp + 0x1fb0]
call fcn.18000ac20
mov rdx, r13
lea rcx, [rax + 2]
call fcn.18000e360
test eax, eax
je 0x18000640c
mov eax, dword [rsp + 0x30]
inc edi
shr eax, 3
cmp edi, eax
jb 0x1800063a0
jmp 0x18000641c
mov rcx, qword [rbx]
mov qword [r12], rcx
mov qword [r12 + 8], 0x119f000
mov rax, r12
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1800091f0
add rsp, 0x22d8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret