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

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x530
mov rax, qword [0x140104080]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov qword [r11 + 8], rbx
xor eax, eax
mov qword [r11 + 0x10], rbp
mov ecx, 0x4d0
mov qword [r11 + 0x18], rsi
xor r13d, r13d
mov qword [r11 - 0x10], rdi
lea rdi, [rsp + 0x30]
rep stosb byte [rdi], al
mov rax, qword [0x14013d768]
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov dword [rsp + 0x60], 0x100010
test rax, rax
jne 0x140047586
mov rax, qword gs:[0x60]
mov edi, r13d
mov r11d, 0x9bc5a608
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test edi, edi
je 0x14004743c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140047434
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140047420
cmp edx, edi
jne 0x140047567
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov r10d, ecx
shr r15, 0x20
add r10, r9
cmp r10, r9
je 0x140047567
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140047567
mov r14d, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400474b7
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 0x1400474a0
cmp edx, r11d
je 0x1400474c6
test r8d, r8d
jne 0x140047480
jmp 0x140047567
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
cmp rax, r10
jbe 0x14004757f
lea rcx, [r15 + r10]
cmp rax, rcx
jae 0x14004757f
movzx ecx, byte [rax]
mov edi, 0x811c9dc5
mov dword [rsp + 0x20], edi
mov edx, edi
mov dword [rsp + 0x24], edx
cmp cl, 0x2e
je 0x14004752a
nop dword [rax]
movsx ecx, cl
inc rax
xor ecx, edi
imul edi, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140047510
mov dword [rsp + 0x20], edi
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14004755a
nop word [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140047540
mov dword [rsp + 0x24], edx
mov r11, qword [rsp + 0x20]
mov rsi, qword [rbp]
shr r11, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x14004757c
cmp qword [rax + 0x30], r13
jne 0x1400473f0
mov rax, r13
mov qword [0x14013d768], rax
call rax
mov rdi, qword [0x14013d750]
mov r12, rax
test rdi, rdi
jne 0x140047756
mov rax, qword gs:[0x60]
mov r8d, r13d
mov r11d, 0x85cca27e
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
nop dword [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r8d, r8d
je 0x14004760d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea rdi, [rcx + rax*2]
cmp rcx, rdi
je 0x140047604
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, rdi
jne 0x1400475f0
cmp edx, r8d
jne 0x140047737
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov r10d, ecx
shr r15, 0x20
add r10, r9
cmp r10, r9
je 0x140047737
mov edi, dword [r10 + 0x18]
test edi, edi
je 0x140047737
mov r14d, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec edi
mov edx, 0x811c9dc5
lea rax, [r14 + rdi*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140047687
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 0x140047670
cmp edx, r11d
je 0x140047695
test edi, edi
jne 0x140047650
jmp 0x140047737
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov edi, dword [rcx + rdx*4]
add rdi, r9
cmp rdi, r10
jbe 0x14004774f
lea rax, [r15 + r10]
cmp rdi, rax
jae 0x14004774f
movzx eax, byte [rdi]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x20], r8d
mov ecx, r8d
mov dword [rsp + 0x24], ecx
cmp al, 0x2e
je 0x1400476fc
nop dword [rax]
movsx eax, al
inc rdi
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdi]
cmp al, 0x2e
jne 0x1400476e0
mov dword [rsp + 0x20], r8d
movzx eax, byte [rdi + 1]
inc rdi
test al, al
je 0x14004772a
nop word [rax + rax]
movsx eax, al
lea rdi, [rdi + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rdi]
test al, al
jne 0x140047710
mov dword [rsp + 0x24], ecx
mov r11, qword [rsp + 0x20]
mov rsi, qword [rbp]
shr r11, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x14004774c
cmp qword [rax + 0x30], r13
jne 0x1400475c0
mov rdi, r13
mov qword [0x14013d750], rdi
lea rdx, [rsp + 0x30]
mov rcx, r12
call rdi
mov r15, qword [rsp + 0x510]
mov r14, qword [rsp + 0x518]
mov r12, qword [rsp + 0x520]
mov rdi, qword [rsp + 0x528]
mov rsi, qword [rsp + 0x550]
mov rbp, qword [rsp + 0x548]
mov rbx, qword [rsp + 0x540]
test eax, eax
jne 0x1400477d1
mov eax, dword [str.WDH9]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
xor byte [rsp + 0x21], 0x36
xor al, 0x39
xor byte [rsp + 0x22], 0x37
xor byte [rsp + 0x23], 0x38
mov byte [rsp + 0x24], al
mov byte [rsp + 0x20], 0x62
call fcn.140041970
cmp qword [rsp + 0x78], r13
mov eax, 1
cmovne r13d, eax
cmp qword [rsp + 0x80], 0
je 0x1400477ed
inc r13d
cmp qword [rsp + 0x88], 0
je 0x1400477fb
inc r13d
cmp qword [rsp + 0x90], 0
lea eax, [r13 + 1]
jne 0x14004780d
mov eax, r13d
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1400c76d0
add rsp, 0x530
pop r13
ret