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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r14, qword [0x1400af5c8]
test r14, r14
jne 0x140013741
mov rax, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0xf5c1276
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rsi, r12
mov eax, dword [rsi + 0x58]
sub ax, 8
test r11d, r11d
je 0x14001361d
mov rcx, qword [rsi + 0x60]
mov edx, 0x2eb54776
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140013614
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140013600
cmp edx, r11d
jne 0x140013721
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 0x140013721
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140013721
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x2eb54776
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140013697
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 0x140013680
cmp edx, r10d
je 0x1400136a3
test r8d, r8d
jne 0x140013660
jmp 0x140013721
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r14d, dword [rcx + rdx*4]
add r14, r9
cmp r14, rbx
jbe 0x14001373a
lea rax, [rbx + r15]
cmp r14, rax
jae 0x14001373a
movzx eax, byte [r14]
mov r11d, 0x2eb54776
mov r10d, r11d
cmp al, 0x2e
je 0x1400136f8
nop word [rax + rax]
movsx eax, al
inc r14
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r14]
cmp al, 0x2e
jne 0x1400136e0
movzx eax, byte [r14 + 1]
inc r14
test al, al
je 0x14001371d
movsx eax, al
lea r14, [r14 + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [r14]
test al, al
jne 0x140013704
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140013737
cmp qword [rax + 0x30], 0
jne 0x1400135d4
xor r14d, r14d
mov qword [0x1400af5c8], r14
movdqa xmm1, xmmword [0x1400a00b0]
mov dl, 0x26
mov rsi, qword [0x1400af5a8]
movdqa xmm0, xmm1
movd ecx, xmm1
mov r8b, Ordinal_30
movdqu xmmword [rbp - 0x20], xmm1
mov r9b, reloc.WLDAP32.dll_Ordinal_32
mov r10b, Ordinal_60
xor dl, cl
psrldq xmm0, 1
xor byte [rbp - 0x1e], cl
xor r8b, cl
xor byte [rbp - 0x1d], cl
xor r9b, cl
xor byte [rbp - 0x1c], cl
xor r10b, cl
xor byte [rbp - 0x1b], cl
mov r11b, reloc.WLDAP32.dll_Ordinal_45
xor byte [rbp - 0x1a], cl
xor r11b, cl
xor byte [rbp - 0x19], cl
mov bl, reloc.WLDAP32.dll_Ordinal_41
xor byte [rbp - 0x18], cl
xor bl, cl
xor byte [rbp - 0x17], cl
mov dil, Ordinal_45
xor byte [rbp - 0x16], cl
xor dil, cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
movd eax, xmm0
mov byte [rbp - 0x10], dl
mov byte [rbp - 0xf], r8b
xor al, cl
mov byte [rbp - 0xe], r9b
mov byte [rbp - 0x1f], al
mov byte [rbp - 0xd], r10b
mov byte [rbp - 0xc], r11b
mov byte [rbp - 0xb], bl
mov byte [rbp - 0xa], dil
mov byte [rbp - 9], 0
test rsi, rsi
jne 0x14001396d
mov rax, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0xe1237b38
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov rsi, r13
mov eax, dword [rsi + 0x58]
sub ax, 8
test r11d, r11d
je 0x14001384d
mov rcx, qword [rsi + 0x60]
mov edx, 0x2fb54909
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140013844
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140013830
cmp edx, r11d
jne 0x14001394e
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r12, rcx
mov ebx, ecx
shr r12, 0x20
add rbx, r9
cmp rbx, r9
je 0x14001394e
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14001394e
mov r15d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x2fb54909
lea rax, [r9 + r8*4]
mov ecx, dword [rax + r15]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400138c7
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 0x1400138b0
cmp edx, r10d
je 0x1400138d3
test r8d, r8d
jne 0x140013890
jmp 0x14001394e
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 0x140013966
lea rax, [rbx + r12]
cmp rsi, rax
jae 0x140013966
movzx eax, byte [rsi]
mov r11d, 0x2fb54909
mov r10d, r11d
cmp al, 0x2e
je 0x140013927
nop dword [rax + rax]
movsx eax, al
inc rsi
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rsi]
cmp al, 0x2e
jne 0x140013910
movzx eax, byte [rsi + 1]
inc rsi
test al, al
je 0x14001394a
movsx eax, al
lea rsi, [rsi + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rsi]
test al, al
jne 0x140013932
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r13
je 0x140013964
cmp qword [rax + 0x30], 0
jne 0x140013802
xor esi, esi
mov qword [0x1400af5a8], rsi
mov r8b, reloc.WS2_32.dll_sendto
mov byte [rbp - 0x30], 0x78
mov dl, 0x1c
movzx r9d, r8b
movzx r11d, dl
movzx ebx, r8b
movzx edi, r8b
mov cl, listen
xor cl, 0x78
mov al, reloc.WLDAP32.dll_Ordinal_22
mov r10b, 0x56
mov byte [rbp - 0x2e], cl
xor r9b, 0x78
lea rcx, [rbp - 0x2f]
xor r11b, 0x78
mov byte [rbp - 0x2b], r9b
xor al, 0x78
mov byte [rbp - 0x29], r11b
xor dl, 0x78
mov byte [rbp - 0x2f], al
xor r8b, 0x78
mov byte [rbp - 0x2d], dl
xor r10b, 0x78
mov byte [rbp - 0x2c], r8b
xor bl, 0x78
mov byte [rbp - 0x2a], r10b
xor dil, 0x78
mov byte [rbp - 0x28], bl
xor r15d, r15d
mov byte [rbp - 0x27], dil
mov byte [rbp - 0x26], r15b
call rsi
lea rdx, [rbp - 0x1f]
mov rcx, rax
call r14
mov r13, rax
test rax, rax
je 0x140013bb4
mov rax, qword [rbp + 0x30]
test rax, rax
jne 0x140013b9f
mov rcx, qword [0x1400af388]
test rcx, rcx
jne 0x140013ba2
mov rcx, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0xe31dfeae
mov rdx, qword [rcx + 0x18]
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax]
mov eax, dword [rsi + 0x58]
sub ax, 8
test r11d, r11d
je 0x140013a7d
mov rcx, qword [rsi + 0x60]
mov edx, 0x208c00db
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140013a74
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 0x140013a60
cmp edx, r11d
jne 0x140013b7e
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 0x140013b7e
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140013b7e
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x208c00db
lea rax, [r9 + r8*4]
mov eax, dword [rax + r14]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140013af7
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 0x140013ae0
cmp edx, r10d
je 0x140013b03
test r8d, r8d
jne 0x140013ac0
jmp 0x140013b7e
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, rbx
jbe 0x140013b96
lea rax, [r15 + rbx]
cmp rcx, rax
jae 0x140013b96
movzx eax, byte [rcx]
mov r11d, 0x208c00db
mov r10d, r11d
cmp al, 0x2e
je 0x140013b57
nop dword [rax + rax]
movsx eax, al
inc rcx
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x140013b40
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x140013b7a
movsx eax, al
lea rcx, [rcx + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x140013b62
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140013b94
cmp qword [rax + 0x30], 0
jne 0x140013a30
xor ecx, ecx
mov qword [0x1400af388], rcx
jmp 0x140013ba2
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
call r13
test eax, eax
sete al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret