Function at 0x1400182f0
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 [0x1400b38a0]
test rsi, rsi
jne 0x1400184ad
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 0x14001838d
mov rcx, qword [rsi + 0x60]
mov edx, 0x3a7e9e7d
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140018384
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 0x140018370
cmp edx, r11d
jne 0x14001848e
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 0x14001848e
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14001848e
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 0x140018407
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 0x1400183f0
cmp edx, r10d
je 0x140018413
test r8d, r8d
jne 0x1400183d0
jmp 0x14001848e
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 0x1400184a6
lea rax, [rbx + r15]
cmp rsi, rax
jae 0x1400184a6
movzx eax, byte [rsi]
mov r11d, 0x3a7e9e7d
mov r10d, r11d
cmp al, 0x2e
je 0x140018467
nop dword [rax + rax]
movsx eax, al
inc rsi
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rsi]
cmp al, 0x2e
jne 0x140018450
movzx eax, byte [rsi + 1]
inc rsi
test al, al
je 0x14001848a
movsx eax, al
lea rsi, [rsi + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rsi]
test al, al
jne 0x140018472
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x1400184a4
cmp qword [rax + 0x30], 0
jne 0x140018340
xor esi, esi
mov qword [0x1400b38a0], 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 0x140018968
mov r12, qword [0x1400b3808]
test r12, r12
jne 0x1400186f7
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 0x1400185ad
mov rcx, qword [rsi + 0x60]
mov edx, 0x64f6c730
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400185a4
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140018590
cmp edx, r11d
jne 0x1400186cf
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 0x1400186cf
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400186cf
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 0x140018627
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 0x140018610
cmp edx, r10d
je 0x140018636
test r8d, r8d
jne 0x1400185f0
jmp 0x1400186cf
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 0x1400186e8
lea rax, [rbx + r15]
cmp r12, rax
jae 0x1400186e8
movzx eax, byte [r12]
mov r11d, 0x64f6c730
mov r10d, r11d
cmp al, 0x2e
je 0x140018699
nop word [rax + rax]
movsx eax, al
inc r12
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r12]
cmp al, 0x2e
jne 0x140018680
movzx eax, byte [r12 + 1]
inc r12
test al, al
je 0x1400186cb
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 0x1400186b0
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r13
je 0x1400186e5
cmp qword [rax + 0x30], 0
jne 0x140018563
xor r12d, r12d
mov r13, qword [rsp + 0x88]
mov qword [0x1400b3808], r12
movdqa xmm1, xmmword [0x1400a4170]
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, WSACleanup
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 0x140018968
cmp qword [0x1400b33a0], 0
jne 0x140018961
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 0x14001883d
mov rcx, qword [rsi + 0x60]
mov edx, 0xa2424a62
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140018834
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 0x140018820
cmp edx, r11d
jne 0x140018941
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 0x140018941
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140018941
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 0x1400188b7
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 0x1400188a0
cmp edx, r10d
je 0x1400188c3
test r8d, r8d
jne 0x140018880
jmp 0x140018941
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 0x14001895a
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x14001895a
movzx eax, byte [r8]
mov r11d, 0xa2424a62
mov r10d, r11d
cmp al, 0x2e
je 0x140018918
nop word [rax + rax]
movsx eax, al
inc r8
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x140018900
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x14001893d
movsx eax, al
lea r8, [r8 + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x140018924
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140018957
cmp qword [rax + 0x30], 0
jne 0x1400187f0
xor r8d, r8d
mov qword [0x1400b33a0], r8
mov eax, 1
jmp 0x14001896a
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