Function at 0x140049860
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
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
mov r8, qword [0x140153e88]
xor ebx, ebx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
test r8, r8
jne 0x140049931
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x10]
mov rsi, r14
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140049918
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140049918
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140049913
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 0x1400498f0
cmp edx, 0x53b2070f
je 0x140049c2d
test r8d, r8d
jne 0x1400498d0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x1400498a0
mov r8, rbx
mov qword [0x140153e88], r8
movzx eax, word [0x1401176a0]
lea rcx, [rbp - 0x50]
movsd xmm0, qword [str.AV_n_bN]
movsd qword [rbp - 0x50], xmm0
xor byte [rbp - 0x4f], 0x37
xor byte [rbp - 0x4e], 0x38
xor byte [rbp - 0x4d], 0x39
xor byte [rbp - 0x4c], 0x3a
xor byte [rbp - 0x4b], 0x3b
xor byte [rbp - 0x4a], 0x3c
xor byte [rbp - 0x49], 0x3d
mov word [rbp - 0x48], ax
movzx eax, byte [0x1401176a2]
xor byte [rbp - 0x48], 0x3e
xor al, 0x40
xor byte [rbp - 0x47], 0x3f
mov byte [rbp - 0x46], al
mov byte [rbp - 0x50], 0x77
call r8
mov r10, qword [0x140153e80]
mov r15, rax
test r10, r10
jne 0x140049a41
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov r14, qword [rdx + 0x10]
mov rsi, r14
nop dword [rax + rax]
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140049a28
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140049a28
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140049a23
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 0x140049a00
cmp edx, 0xf8f45725
je 0x140049c4a
test r8d, r8d
jne 0x1400499e0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x1400499b0
mov r10, rbx
mov qword [0x140153e80], r10
cmp dword [reloc.WS2_32.dll_accept], 2
mov eax, dword [0x1401176b8]
movups xmm0, xmmword [str.xCmJ_IuSTZ5]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1401176bc]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1401176be]
mov byte [rbp - 0x1a], al
movups xmmword [rbp - 0x30], xmm0
jl 0x140049bc9
movdqa xmm0, xmmword [0x1401187b0]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1400c68b0]
movdqa xmm4, xmmword [0x1401188b0]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140118780]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401187a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401187a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140049ac0
movaps xmm6, xmmword [rsp + 0x60]
cmp eax, 0x17
jge 0x140049c0d
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140049be0
lea rdx, [rbp - 0x30]
mov rcx, r15
call r10
test rax, rax
jne 0x140049c67
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop rdi
pop rbp
ret
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
jmp 0x14004992a
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x140049a3a
mov qword [0x140153e68], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140049cf7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140049cf7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140049cf2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140049cd0
cmp r8d, 0xab45c5ee
je 0x140049cfc
test r9d, r9d
jne 0x140049cb0
mov rax, qword [rax]
jmp 0x140049c80
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r15
add rax, r10
call rax
mov rbx, qword [rsp + 0xa0]
mov al, 1
add rsp, 0x70
pop r15
pop rdi
pop rbp
ret