Function at 0x140012370
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
sub rsp, 0x98
mov rdx, qword [0x1401c5780]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax - 8], 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 0x140012504
mov rax, qword gs:[0x60]
xor ebp, ebp
mov r11d, 0x53b2070f
mov rcx, qword [rax + 0x18]
mov r15, qword [rcx + 0x10]
mov rdi, r15
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x14001241c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140012414
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140012400
cmp edx, ebp
jne 0x1400124ec
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x1400124ec
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400124ec
mov esi, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140012497
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 0x140012480
cmp edx, r11d
je 0x1400124a3
test r8d, r8d
jne 0x140012460
jmp 0x1400124ec
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov edx, dword [rcx + rdx*4]
add rdx, r9
cmp rdx, r10
jbe 0x1400124fd
lea rax, [r14 + r10]
cmp rdx, rax
jae 0x1400124fd
mov ebp, 0x811c9dc5
mov rdi, r15
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0xa4], ebp
mov r11, qword [rsp + 0xa0]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r15
jne 0x1400123d0
xor edx, edx
mov qword [0x1401c5780], rdx
movabs rax, 0x598296a87009a2aa
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movabs r13, 0x35e6b8c41c6dd6c4
movabs rax, 0x855182c48a09d6a8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
movabs rax, 0x855182c48a09d6c4
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call rdx
mov r8, qword [0x1401c5798]
mov r12, rax
test r8, r8
jne 0x1400126c6
mov rcx, qword gs:[0x60]
xor ebp, ebp
mov r11d, 0xf8f45725
mov rdx, qword [rcx + 0x18]
mov r15, qword [rdx + 0x10]
mov rdi, r15
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x1400125dc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400125d4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400125c0
cmp edx, ebp
jne 0x1400126ad
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x1400126ad
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400126ad
mov esi, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140012657
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 0x140012640
cmp edx, r11d
je 0x140012663
test r8d, r8d
jne 0x140012620
jmp 0x1400126ad
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
cmp r8, r10
jbe 0x1400126bf
lea rax, [r14 + r10]
cmp r8, rax
jae 0x1400126bf
mov ebp, 0x811c9dc5
mov rdi, r15
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0xa4], ebp
mov r11, qword [rsp + 0xa0]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r15
jne 0x140012590
xor r8d, r8d
mov qword [0x1401c5798], r8
movabs rcx, 0x10a196c4fc41d6c4
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x68], rcx
movabs rax, 0x5388f1b0793ea28a
mov qword [rsp + 0x30], rax
mov rcx, r12
movabs rax, 0xeb3eebb0eb64a4ab
mov qword [rsp + 0x38], rax
movabs rax, 0xbfa0d8a56a37be90
movdqa xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x855182c48a09d6c4
movdqa xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs rax, 0xbfa0bcc40f45d6c4
xorps xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], rax
xorps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x30], xmm0
call r8
mov rcx, qword [0x1401c5730]
mov r12, rax
mov r13, qword [rsp + 0x80]
test rcx, rcx
jne 0x1400128c4
mov rcx, qword gs:[0x60]
xor ebp, ebp
mov r11d, 0x9bc5a608
mov rdx, qword [rcx + 0x18]
mov r15, qword [rdx + 0x10]
mov rdi, r15
nop
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x1400127dc
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400127d4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400127c0
cmp edx, ebp
jne 0x1400128ac
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x1400128ac
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400128ac
mov esi, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rsi]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140012857
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 0x140012840
cmp edx, r11d
je 0x140012863
test r8d, r8d
jne 0x140012820
jmp 0x1400128ac
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, r10
jbe 0x1400128bd
lea rax, [r10 + r14]
cmp rcx, rax
jae 0x1400128bd
mov ebp, 0x811c9dc5
mov rdi, r15
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0xa4], ebp
mov r11, qword [rsp + 0xa0]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r15
jne 0x140012790
xor ecx, ecx
mov qword [0x1401c5730], rcx
call rcx
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
call r12
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
test eax, eax
je 0x140012919
mov qword [0], 1
xor al, al
add rsp, 0x98
ret