Function at 0x140213420
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 0x1402135cb
mov edx, 0x13d2717a
mov cl, reloc.WLDAP32.dll_Ordinal_27
mov eax, edx
shr eax, cl
test al, 1
je 0x140213476
xor cl, cl
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x1402134a2
xor ecx, ecx
mov eax, edx
shr eax, cl
test al, 1
jne 0x1402134a2
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x1402134a2
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x1402134a2
mov cl, reloc.WS2_32.dll_ntohs
shr edx, cl
test dl, 1
je 0x1402135cb
mov edx, 0x52c9fa1a
mov cl, Ordinal_30
mov eax, edx
shr eax, cl
test al, 1
je 0x1402134bd
mov cl, 2
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x1402134ee
mov cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x1402134ee
add cl, cl
mov eax, edx
shr eax, cl
test al, 1
jne 0x1402134ee
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x1402134ee
mov cl, 0xb
shr edx, cl
test dl, 1
jne 0x1402134ee
mov edx, 0xf713d72
jmp 0x1402135b7
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 0x14021358a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021358a
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x5a902368
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x140213585
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 0x140213550
cmp r10d, 0x75e6ee97
je 0x140213592
test r11d, r11d
jne 0x140213530
mov rax, qword [rax]
jmp 0x140213500
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 [0x14033fca4]
xor edx, edx
inc ecx
div ecx
xorps xmm1, xmm1
mov eax, edx
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x14031dd20]
jmp 0x1402135d3
addss xmm1, dword [0x14031dd64]
cmp bpl, 1
jne 0x140213746
mov rax, qword gs:[0x60]
addss xmm1, dword [0x14031de08]
mov rax, qword [rax + 0x18]
comiss xmm6, xmm1
mov rax, qword [rax + 0x10]
movss dword [r15], xmm1
jbe 0x1402136b0
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 0x14021369e
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021369e
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xcf65aaaf
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x140213699
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 0x140213660
cmp r10d, 0xfa8a3dd0
je 0x140213902
test r11d, r11d
jne 0x140213640
mov rax, qword [rax]
jmp 0x140213610
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14021373e
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021373e
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x881f5c30
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x140213739
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 0x140213700
cmp r10d, 0xae810a8f
je 0x140213902
test r11d, r11d
jne 0x1402136e0
mov rax, qword [rax]
jmp 0x1402136b0
mov edx, 0xcd8b0de0
mov cl, reloc.WLDAP32.dll_Ordinal_26
mov eax, edx
shr eax, cl
test al, 1
je 0x140213761
mov cl, 1
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x14021378d
mov cl, 1
mov eax, edx
shr eax, cl
test cl, al
jne 0x14021378d
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021378d
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021378d
mov cl, ntohs
shr edx, cl
test dl, 1
je 0x14021391b
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 0x14021382a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14021382a
mov ebp, dword [rsi + 0x20]
dec r11d
mov r10d, 0x34e894eb
lea rcx, [rbx + r11*4]
mov r9d, dword [rcx + rbp]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x140213825
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 0x1402137f0
cmp r10d, 0x83b2dafd
je 0x140213832
test r11d, r11d
jne 0x1402137c3
mov rax, qword [rax]
jmp 0x1402137a0
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 0x14021391b
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 0x1402138fa
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1402138fa
mov ebp, dword [rsi + 0x20]
dec r11d
mov r10d, 0xf7aaa159
lea rcx, [rbx + r11*4]
mov r9d, dword [rcx + rbp]
add r9, rbx
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x1402138f5
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 0x1402138c0
cmp r10d, 0xe8391978
je 0x140213902
test r11d, r11d
jne 0x140213893
mov rax, qword [rax]
jmp 0x140213870
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, 0xf2fcb0ae
mov r15, qword [rsp + 0x40]
mov eax, edx
mov r14, qword [rsp + 0x48]
mov cl, reloc.WS2_32.dll_socket
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 0x140213959
mov cl, 3
mov eax, edx
inc cl
shr eax, cl
test al, 1
jne 0x14021398f
mov cl, 3
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021398f
add cl, 2
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021398f
mov cl, 9
mov eax, edx
shr eax, cl
test al, 1
jne 0x14021398f
mov cl, reloc.WS2_32.dll_recvfrom
shr edx, cl
test dl, 1
jne 0x14021398f
test r12, r12
jne 0x14021398f
xor al, al
add rsp, 0x50
pop r12
ret
mov al, 1
add rsp, 0x50
pop r12
ret