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

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x50
mov qword [rax + 8], rbx
mov r12, rcx
mov qword [rax + 0x10], rbp
movzx ebp, r9b
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x10], r14
mov qword [rax - 0x18], r15
mov r15, r8
movaps xmmword [rax - 0x28], xmm6
xorps xmm6, xmm6
comiss xmm1, xmm6
jbe 0x14021c39b
mov edx, 0x4093c907
mov cl, reloc.WLDAP32.dll_Ordinal_27
mov eax, edx
shr eax, cl
test al, 1
je 0x14021c246
mov cl, 3
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x14021c272
mov cl, 3
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c272
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c272
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c272
mov cl, reloc.WS2_32.dll_setsockopt
shr edx, cl
test dl, 1
je 0x14021c39b
mov edx, 0x4b5c6074
mov cl, reloc.WS2_32.dll_socket
mov eax, edx
shr eax, cl
test al, 1
je 0x14021c28d
xor cl, cl
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x14021c2bf
xor ecx, ecx
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c2bf
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c2bf
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c2bf
mov cl, reloc.WS2_32.dll_recvfrom
shr edx, cl
test dl, 1
jne 0x14021c2bf
mov edx, 0x18e3798d
jmp 0x14021c387
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14021c35a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021c35a
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xb8876a3e
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x14021c355
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x14021c320
cmp r10d, 0x85be8485
je 0x14021c362
test r11d, r11d
jne 0x14021c300
mov rax, qword [rax]
jmp 0x14021c2d0
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
call rax
mov ecx, dword [0x140348ca4]
xor edx, edx
inc ecx
div ecx
xorps xmm1, xmm1
mov eax, edx
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x140326d40]
jmp 0x14021c3a3
addss xmm1, dword [0x140326d84]
cmp bpl, 1
jne 0x14021c516
mov rax, qword gs:[0x60]
addss xmm1, dword [0x140326e28]
mov rax, qword [rax + 0x18]
comiss xmm6, xmm1
mov rax, qword [rax + 0x10]
movss dword [r15], xmm1
jbe 0x14021c480
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14021c46e
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021c46e
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x50a53b97
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x14021c469
movsx ecx, r8b
lea r9, [r9 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r9 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r8b, r8b
jne 0x14021c430
cmp r10d, 0x2e90088
je 0x14021c6d2
test r11d, r11d
jne 0x14021c410
mov rax, qword [rax]
jmp 0x14021c3e0
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14021c50e
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021c50e
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x9e86bf5
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x14021c509
movsx ecx, r8b
lea r9, [r9 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r9 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r8b, r8b
jne 0x14021c4d0
cmp r10d, 0x3caf6266
je 0x14021c6d2
test r11d, r11d
jne 0x14021c4b0
mov rax, qword [rax]
jmp 0x14021c480
mov edx, 0x2ca53da8
mov cl, reloc.WS2_32.dll_socket
mov eax, edx
shr eax, cl
test al, 1
je 0x14021c531
xor cl, cl
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x14021c55d
xor ecx, ecx
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c55d
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c55d
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c55d
mov cl, ntohs
shr edx, cl
test dl, 1
je 0x14021c6eb
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14021c5fa
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021c5fa
mov ebp, dword [rsi + 0x20]
dec r11d
mov r10d, 0xae4be07d
lea rcx, [rbx + r11*4]
mov r9d, dword [rcx + rbp]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x14021c5f5
nop dword [rax]
nop word [rax + rax]
movsx ecx, r8b
lea r9, [r9 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r9 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r8b, r8b
jne 0x14021c5c0
cmp r10d, 0x9652f50f
je 0x14021c602
test r11d, r11d
jne 0x14021c593
mov rax, qword [rax]
jmp 0x14021c570
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
call rax
inc eax
cmp eax, 1
ja 0x14021c6eb
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14021c6ca
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021c6ca
mov ebp, dword [rsi + 0x20]
dec r11d
mov r10d, 0xc6018d9
lea rcx, [rbx + r11*4]
mov r9d, dword [rcx + rbp]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x14021c6c5
nop dword [rax]
nop word [rax + rax]
movsx ecx, r8b
lea r9, [r9 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r9 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r8b, r8b
jne 0x14021c690
cmp r10d, 0x3e52c4f8
je 0x14021c6d2
test r11d, r11d
jne 0x14021c663
mov rax, qword [rax]
jmp 0x14021c640
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
call rax
movaps xmm6, xmmword [rsp + 0x30]
mov edx, 0xaa35e83b
mov r15, qword [rsp + 0x40]
mov eax, edx
mov r14, qword [rsp + 0x48]
mov cl, reloc.WLDAP32.dll_Ordinal_26
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
shr eax, cl
test al, 1
je 0x14021c729
mov cl, 3
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x14021c75f
mov cl, 3
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c75f
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c75f
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021c75f
mov cl, reloc.WS2_32.dll_sendto
shr edx, cl
test dl, 1
jne 0x14021c75f
test r12, r12
jne 0x14021c75f
xor al, al
add rsp, 0x50
pop r12
ret
mov al, 1
add rsp, 0x50
pop r12
ret