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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rsi, qword [0x1400af8a0]
test rsi, rsi
jne 0x14001641d
mov rax, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0xb1ceb977
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax]
mov eax, dword [rsi + 0x58]
sub ax, 8
test r11d, r11d
je 0x1400162fd
mov rcx, qword [rsi + 0x60]
mov edx, 0x3a7e9e7d
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400162f4
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400162e0
cmp edx, r11d
jne 0x1400163fe
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r9
cmp rbx, r9
je 0x1400163fe
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400163fe
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x3a7e9e7d
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140016377
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 0x140016360
cmp edx, r10d
je 0x140016383
test r8d, r8d
jne 0x140016340
jmp 0x1400163fe
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov esi, dword [rcx + rdx*4]
add rsi, r9
cmp rsi, rbx
jbe 0x140016416
lea rax, [rbx + r15]
cmp rsi, rax
jae 0x140016416
movzx eax, byte [rsi]
mov r11d, 0x3a7e9e7d
mov r10d, r11d
cmp al, 0x2e
je 0x1400163d7
nop dword [rax + rax]
movsx eax, al
inc rsi
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rsi]
cmp al, 0x2e
jne 0x1400163c0
movzx eax, byte [rsi + 1]
inc rsi
test al, al
je 0x1400163fa
movsx eax, al
lea rsi, [rsi + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rsi]
test al, al
jne 0x1400163e2
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140016414
cmp qword [rax + 0x30], 0
jne 0x1400162b0
xor esi, esi
mov qword [0x1400af8a0], rsi
mov r8b, Ordinal_79
mov byte [rbp - 0x30], reloc.WLDAP32.dll_Ordinal_33
mov dl, 0x45
movzx r9d, r8b
movzx r11d, dl
movzx ebx, r8b
movzx edi, r8b
mov cl, 0x55
xor cl, 0x21
mov al, reloc.WLDAP32.dll_Ordinal_79
mov r10b, reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x2e], cl
xor r9b, 0x21
lea rcx, [rbp - 0x2f]
xor r11b, 0x21
mov byte [rbp - 0x2b], r9b
xor al, 0x21
mov byte [rbp - 0x29], r11b
xor dl, 0x21
mov byte [rbp - 0x2f], al
xor r8b, 0x21
mov byte [rbp - 0x2d], dl
xor r10b, 0x21
mov byte [rbp - 0x2c], r8b
xor bl, 0x21
mov byte [rbp - 0x2a], r10b
xor dil, 0x21
mov byte [rbp - 0x28], bl
xor r14d, r14d
mov byte [rbp - 0x27], dil
mov byte [rbp - 0x26], r14b
call rsi
mov qword [rbp + 0x30], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400168d8
mov r12, qword [0x1400af808]
test r12, r12
jne 0x140016667
mov rcx, qword gs:[0x60]
xor r11d, r11d
mov qword [rsp + 0x88], r13
mov r10d, 0x245ec45c
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r13, qword [rcx]
mov rsi, r13
mov eax, dword [rsi + 0x58]
sub ax, 8
test r11d, r11d
je 0x14001651d
mov rcx, qword [rsi + 0x60]
mov edx, 0x64f6c730
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140016514
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140016500
cmp edx, r11d
jne 0x14001663f
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r9
cmp rbx, r9
je 0x14001663f
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14001663f
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x64f6c730
lea rax, [r9 + r8*4]
mov ecx, dword [rax + r14]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140016597
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 0x140016580
cmp edx, r10d
je 0x1400165a6
test r8d, r8d
jne 0x140016560
jmp 0x14001663f
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r12d, dword [rcx + rdx*4]
add r12, r9
cmp r12, rbx
jbe 0x140016658
lea rax, [rbx + r15]
cmp r12, rax
jae 0x140016658
movzx eax, byte [r12]
mov r11d, 0x64f6c730
mov r10d, r11d
cmp al, 0x2e
je 0x140016609
nop word [rax + rax]
movsx eax, al
inc r12
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r12]
cmp al, 0x2e
jne 0x1400165f0
movzx eax, byte [r12 + 1]
inc r12
test al, al
je 0x14001663b
nop word [rax + rax]
movsx eax, al
lea r12, [r12 + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [r12]
test al, al
jne 0x140016620
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r13
je 0x140016655
cmp qword [rax + 0x30], 0
jne 0x1400164d3
xor r12d, r12d
mov r13, qword [rsp + 0x88]
mov qword [0x1400af808], r12
movdqa xmm1, xmmword [0x1400a0880]
mov r8b, 0x7e
movd edx, xmm1
movzx ebx, r8b
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 6], 0
mov cl, 0x78
xor byte [rbp - 0x1e], dl
movdqa xmm0, xmm1
xor byte [rbp - 0x1d], dl
xor cl, dl
xor byte [rbp - 0x1c], dl
xor r8b, dl
xor byte [rbp - 0x1b], dl
xor bl, dl
xor byte [rbp - 0x1a], dl
mov r14b, 0x62
xor byte [rbp - 0x19], dl
mov r9b, 0x7f
xor byte [rbp - 0x18], dl
xor r9b, dl
xor byte [rbp - 0x17], dl
mov r10b, 0x41
xor byte [rbp - 0x16], dl
xor r10b, dl
xor byte [rbp - 0x15], dl
mov r11b, 0x63
xor byte [rbp - 0x14], dl
xor r11b, dl
xor byte [rbp - 0x13], dl
movzx r15d, r14b
xor byte [rbp - 0x12], dl
xor r14b, dl
xor byte [rbp - 0x11], dl
xor r15b, dl
psrldq xmm0, 1
mov dil, WSAStartup
xor dil, dl
movd eax, xmm0
mov byte [rbp - 0x10], cl
mov sil, reloc.WS2_32.dll_WSACleanup
mov rcx, qword [rbp + 0x30]
xor sil, dl
xor al, dl
mov byte [rbp - 0xf], r8b
lea rdx, [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov byte [rbp - 0xe], r9b
mov byte [rbp - 0xd], r10b
mov byte [rbp - 0xc], r11b
mov byte [rbp - 0xb], bl
mov byte [rbp - 0xa], dil
mov byte [rbp - 9], sil
mov byte [rbp - 8], r14b
mov byte [rbp - 7], r15b
call r12
test rax, rax
je 0x1400168d8
cmp qword [0x1400af398], 0
jne 0x1400168d1
mov rax, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0x54a21e67
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax + rax]
mov eax, dword [rsi + 0x58]
sub ax, 8
test r11d, r11d
je 0x1400167ad
mov rcx, qword [rsi + 0x60]
mov edx, 0xa2424a62
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400167a4
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140016790
cmp edx, r11d
jne 0x1400168b1
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r9
cmp rbx, r9
je 0x1400168b1
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400168b1
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0xa2424a62
lea rax, [r9 + r8*4]
mov eax, dword [rax + r14]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140016827
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 0x140016810
cmp edx, r10d
je 0x140016833
test r8d, r8d
jne 0x1400167f0
jmp 0x1400168b1
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
cmp r8, rbx
jbe 0x1400168ca
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x1400168ca
movzx eax, byte [r8]
mov r11d, 0xa2424a62
mov r10d, r11d
cmp al, 0x2e
je 0x140016888
nop word [rax + rax]
movsx eax, al
inc r8
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x140016870
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x1400168ad
movsx eax, al
lea r8, [r8 + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x140016894
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x1400168c7
cmp qword [rax + 0x30], 0
jne 0x140016760
xor r8d, r8d
mov qword [0x1400af398], r8
mov eax, 1
jmp 0x1400168da
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret