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

Disassembly:
push r15
sub rsp, 0x40
mov eax, dword [0x1401f6cb8]
xor r15d, r15d
mov dword [0x1401f6ca0], eax
mov rax, qword [0x1401f6c60]
test rax, rax
jne 0x14004666c
mov rax, qword gs:[0x60]
mov r11d, r15d
mov qword [rsp + 0x38], rsi
mov r9d, 0xa313f656
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x14004652d
psrldq xmm0, 8
mov edx, 0x5c3a13fe
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140046524
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140046510
cmp edx, r11d
jne 0x14004662f
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov rbp, rcx
mov ebx, ecx
shr rbp, 0x20
add rbx, r10
cmp rbx, r10
je 0x14004662f
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14004662f
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x5c3a13fe
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400465a7
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 0x140046590
cmp edx, r9d
je 0x1400465b3
test r8d, r8d
jne 0x140046570
jmp 0x14004662f
mov eax, dword [rbx + 0x24]
mov ecx, dword [rbx + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r10
cmp rax, rbx
jbe 0x140046647
lea rcx, [rbx + rbp]
cmp rax, rcx
jae 0x140046647
movzx ecx, byte [rax]
mov r11d, 0x5c3a13fe
mov r9d, r11d
cmp cl, 0x2e
je 0x140046608
nop dword [rax]
movsx ecx, cl
inc rax
xor ecx, r11d
imul r11d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x1400465f0
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14004662b
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140046613
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140046644
cmp qword [rax + 0x30], r15
jne 0x1400464e0
mov rax, r15
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov qword [0x1401f6c60], rax
call rax
mov ecx, dword [0x1401f6ca0]
mov dword [0x1401f6cb8], eax
test ecx, ecx
je 0x14004670b
sub eax, ecx
cmp eax, 0x1770
jbe 0x14004670b
mov byte [rsp + 0x50], 0x44
mov r9d, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x51], 0x75
movabs r8, 0xc3a637b41284cc1c
mov byte [rsp + 0x52], 0x7f
mov byte [rsp + 0x53], 0x76
mov byte [rsp + 0x54], 0x24
movzx eax, byte [rsp + 0x50]
nop dword [rax]
movzx eax, byte [rsp + r15 + 0x50]
mov rcx, r15
and ecx, r9d
mov rdx, r8
cmp rcx, r9
cmovae rcx, r9
shl cl, 2
shr rdx, cl
and dl, r9b
xor dl, al
lea eax, [r15 + 0x1c]
xor dl, al
mov byte [rsp + r15 + 0x50], dl
inc r15
cmp r15, 5
jb 0x1400466c0
lea rcx, [rsp + 0x50]
call fcn.1400462f0
mov qword [0], 1
xor eax, eax
add rsp, 0x40
pop r15
ret