Function at 0x140046690
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rdx, qword [0x14013d6b0]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x10], r12
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
test rdx, rdx
jne 0x140046884
mov rax, qword gs:[0x60]
xor r9d, r9d
mov edi, 0x53b2070f
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x14004673d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140046734
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140046720
cmp edx, r9d
jne 0x140046865
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r10
cmp rbx, r10
je 0x140046865
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140046865
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov eax, dword [rax + r10]
add rax, r10
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400467b7
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 0x1400467a0
cmp edx, edi
je 0x1400467c5
test r8d, r8d
jne 0x140046780
jmp 0x140046865
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
cmp rdx, rbx
jbe 0x14004687d
lea rax, [r15 + rbx]
cmp rdx, rax
jae 0x14004687d
movzx eax, byte [rdx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x67], r9d
mov ecx, r9d
mov dword [rbp + 0x6b], ecx
cmp al, 0x2e
je 0x14004682b
nop dword [rax]
movsx eax, al
inc rdx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140046810
mov dword [rbp + 0x67], r9d
movzx eax, byte [rdx + 1]
inc rdx
test al, al
je 0x140046859
nop word [rax + rax]
movsx eax, al
lea rdx, [rdx + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rdx]
test al, al
jne 0x140046840
mov dword [rbp + 0x6b], ecx
mov rdi, qword [rbp + 0x67]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x14004687b
cmp qword [rax + 0x30], 0
jne 0x1400466f0
xor edx, edx
mov qword [0x14013d6b0], rdx
cmp byte [0x1400ec099], 0
movsd xmm0, qword [str._BSTU]
movzx eax, word [0x1400ec098]
movsd qword [rbp - 0x19], xmm0
mov word [rbp - 0x11], ax
je 0x1400468cd
xor byte [rbp - 0x18], 0x36
xor byte [rbp - 0x17], 0x37
xor byte [rbp - 0x16], 0x38
xor byte [rbp - 0x15], 0x39
xor byte [rbp - 0x14], 0x3a
xor byte [rbp - 0x13], 0x3b
xor byte [rbp - 0x12], 0x3c
xor byte [rbp - 0x11], 0x3d
xor byte [rbp - 0x10], 0x3e
mov byte [rbp - 0x19], WSAGetLastError
lea rcx, [rbp - 0x19]
call rdx
mov r8, qword [0x14013d738]
mov r13, rax
test r8, r8
jne 0x140046aa6
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov edi, 0xf8f45725
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r12, qword [rcx]
mov rsi, r12
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x14004695d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140046954
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140046940
cmp edx, r9d
jne 0x140046a86
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r10
cmp rbx, r10
je 0x140046a86
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140046a86
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r10 + r8*4]
mov ecx, dword [rax + r14]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400469d7
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 0x1400469c0
cmp edx, edi
je 0x1400469e5
test r8d, r8d
jne 0x1400469a0
jmp 0x140046a86
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov r8d, dword [rcx + rdx*4]
add r8, r10
cmp r8, rbx
jbe 0x140046a9f
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x140046a9f
movzx eax, byte [r8]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x67], r9d
mov ecx, r9d
mov dword [rbp + 0x6b], ecx
cmp al, 0x2e
je 0x140046a4c
nop dword [rax + rax]
movsx eax, al
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x140046a30
mov dword [rbp + 0x67], r9d
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x140046a7a
nop dword [rax + rax]
movsx eax, al
lea r8, [r8 + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x140046a60
mov dword [rbp + 0x6b], ecx
mov rdi, qword [rbp + 0x67]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140046a9c
cmp qword [rax + 0x30], 0
jne 0x140046910
xor r8d, r8d
mov qword [0x14013d738], r8
mov eax, dword [0x1400ebe30]
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.Bd_MsUZRLR_5_]
mov dword [rbp + 0x17], eax
movzx eax, word [0x1400ebe34]
mov word [rbp + 0x1b], ax
movzx eax, byte [0x1400ebe36]
mov byte [rbp + 0x1d], al
movups xmmword [rbp + 7], xmm0
jl 0x140046c0e
movdqa xmm0, xmmword [0x1400f0d80]
lea rcx, [rbp + 0xb]
movdqa xmm4, xmmword [0x1400f0d10]
movdqa xmm3, xmmword [0x1400f1010]
movdqa xmm5, xmmword [0x1400f0d30]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400f0d40]
nop dword [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r9d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x10
jl 0x140046b20
movaps xmm6, xmmword [rsp + 0x60]
cmp r9d, 0x17
jge 0x140046c51
movsxd rax, r9d
lea r10, [rbp + 7]
add r10, rax
nop dword [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x35
xor byte [r10 - 1], al
cmp r9d, 0x17
jl 0x140046c20
lea rdx, [rbp + 7]
mov rcx, r13
call r8
mov rcx, qword [0x14013d768]
mov r13, rax
test rcx, rcx
jne 0x140046e24
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov edi, 0x9bc5a608
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r12, qword [rcx]
mov rsi, r12
nop dword [rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x140046cdd
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140046cd4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140046cc0
cmp edx, r9d
jne 0x140046e05
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r10
cmp rbx, r10
je 0x140046e05
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140046e05
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140046d57
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 0x140046d40
cmp edx, edi
je 0x140046d65
test r8d, r8d
jne 0x140046d20
jmp 0x140046e05
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov ecx, dword [rcx + rdx*4]
add rcx, r10
cmp rcx, rbx
jbe 0x140046e1d
lea rax, [r15 + rbx]
cmp rcx, rax
jae 0x140046e1d
movzx eax, byte [rcx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x67], r9d
mov edx, r9d
mov dword [rbp + 0x6b], edx
cmp al, 0x2e
je 0x140046dcb
nop dword [rax]
movsx eax, al
inc rcx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x140046db0
mov dword [rbp + 0x67], r9d
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x140046df9
nop word [rax + rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x140046de0
mov dword [rbp + 0x6b], edx
mov rdi, qword [rbp + 0x67]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140046e1b
cmp qword [rax + 0x30], 0
jne 0x140046c90
xor ecx, ecx
mov qword [0x14013d768], rcx
call rcx
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
call r13
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
test eax, eax
je 0x140046e79
mov qword [0], 1
xor al, al
add rsp, 0x90
pop rbp
ret