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

Disassembly:
mov r11, rsp
sub rsp, 0x588
mov rax, qword [0x140147140]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x70]
mov qword [r11 + 0x10], rbp
xor edx, edx
mov qword [r11 + 0x18], rsi
mov r8d, 0x4d0
mov qword [r11 - 8], rdi
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
xor r13d, r13d
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140148c10]
test rcx, rcx
jne 0x14001624c
mov rax, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0x6357ce33
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x14001612d
psrldq xmm0, 8
mov edx, 0x5d1e59ae
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140016124
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140016110
cmp edx, r11d
jne 0x14001622e
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r9
cmp rdi, r9
je 0x14001622e
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x14001622e
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x5d1e59ae
lea rax, [r14 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400161a7
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 0x140016190
cmp edx, r10d
je 0x1400161b3
test r8d, r8d
jne 0x140016170
jmp 0x14001622e
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, rdi
jbe 0x140016245
lea rax, [r15 + rdi]
cmp rcx, rax
jae 0x140016245
movzx eax, byte [rcx]
mov r11d, 0x5d1e59ae
mov r10d, r11d
cmp al, 0x2e
je 0x140016207
nop dword [rax + rax]
movsx eax, al
inc rcx
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x1400161f0
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x14001622a
movsx eax, al
lea rcx, [rcx + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x140016212
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x140016243
cmp qword [rax + 0x30], r13
jne 0x1400160e1
xor ecx, ecx
mov qword [0x140148c10], rcx
call rcx
mov r8, qword [0x140148c88]
mov r12, rax
mov dword [rsp + 0xa0], 0x100010
test r8, r8
jne 0x140016400
mov rcx, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0x535755ab
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rbp, qword [rcx]
mov rsi, rbp
nop dword [rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x1400162dd
psrldq xmm0, 8
mov edx, 0xb1fb38c
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400162d4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400162c0
cmp edx, r11d
jne 0x1400163e1
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r9
cmp rdi, r9
je 0x1400163e1
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400163e1
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0xb1fb38c
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140016357
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 0x140016340
cmp edx, r10d
je 0x140016363
test r8d, r8d
jne 0x140016320
jmp 0x1400163e1
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
cmp r8, rdi
jbe 0x1400163f9
lea rax, [r15 + rdi]
cmp r8, rax
jae 0x1400163f9
movzx eax, byte [r8]
mov r11d, 0xb1fb38c
mov r10d, r11d
cmp al, 0x2e
je 0x1400163b8
nop word [rax + rax]
movsx eax, al
inc r8
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x1400163a0
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x1400163dd
movsx eax, al
lea r8, [r8 + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x1400163c4
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x1400163f6
cmp qword [rax + 0x30], r13
jne 0x140016290
xor r8d, r8d
mov qword [0x140148c88], r8
lea rdx, [rsp + 0x70]
mov rcx, r12
call r8
mov r15, qword [rsp + 0x560]
mov r14, qword [rsp + 0x568]
mov r12, qword [rsp + 0x578]
mov rdi, qword [rsp + 0x580]
mov rsi, qword [rsp + 0x5a0]
mov rbp, qword [rsp + 0x598]
mov rbx, qword [rsp + 0x590]
test eax, eax
je 0x140016489
cmp qword [rsp + 0xb8], r13
jne 0x140016483
cmp qword [rsp + 0xc0], r13
jne 0x140016483
cmp qword [rsp + 0xc8], r13
jne 0x140016483
cmp qword [rsp + 0xd0], r13
jne 0x140016483
cmp qword [rsp + 0xd8], r13
jne 0x140016483
cmp qword [rsp + 0xe0], r13
je 0x140016489
mov r13d, 1
test r13d, r13d
mov r13, qword [rsp + 0x570]
je 0x1400166b3
cmp byte [0x1401304d9], 0
movups xmm0, xmmword [str.TDSOXH]
movzx eax, word [0x1401304d8]
mov word [rsp + 0x30], ax
movups xmmword [rsp + 0x20], xmm0
je 0x140016661
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001661f
movdqa xmm0, xmmword [0x140131270]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1401311e0]
movdqa xmm4, xmmword [0x1401312c0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x550], xmm6
movdqa xmm6, xmmword [0x140131200]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140131240]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140131240]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140016510
movaps xmm6, xmmword [rsp + 0x550]
cmp r8d, 0x12
jge 0x140016661
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x140016630
xorps xmm0, xmm0
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140016690
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140020530
lea rcx, [rsp + 0x50]
call fcn.14000ee90
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1400edb20
add rsp, 0x588
ret