Function at 0x140049650
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 qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, qword [0x14064bd68]
test rbx, rbx
jne 0x140049834
mov rax, qword gs:[0x60]
xor r9d, r9d
mov ebx, 0xf8f45725
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x1400496ed
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400496e4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400496d0
cmp edx, r9d
jne 0x140049815
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r10
cmp rdi, r10
je 0x140049815
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140049815
mov r14d, dword [rdi + 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 0x140049767
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 0x140049750
cmp edx, ebx
je 0x140049775
test r8d, r8d
jne 0x140049730
jmp 0x140049815
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov ebx, dword [rcx + rdx*4]
add rbx, r10
cmp rbx, rdi
jbe 0x14004982d
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x14004982d
movzx eax, byte [rbx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x48], r9d
mov ecx, r9d
mov dword [rbp + 0x4c], ecx
cmp al, 0x2e
je 0x1400497db
nop dword [rax]
movsx eax, al
inc rbx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rbx]
cmp al, 0x2e
jne 0x1400497c0
mov dword [rbp + 0x48], r9d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
je 0x140049809
nop word [rax + rax]
movsx eax, al
lea rbx, [rbx + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rbx]
test al, al
jne 0x1400497f0
mov dword [rbp + 0x4c], ecx
mov rbx, qword [rbp + 0x48]
mov rsi, qword [r12]
shr rbx, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x14004982b
cmp qword [rax + 0x30], 0
jne 0x1400496a0
xor ebx, ebx
mov qword [0x14064bd68], rbx
mov eax, dword [0x1400d40a8]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.yLj_OuSXP2_7__]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1400d40ac]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1400d40ae]
mov byte [rbp - 0x1a], al
movups xmmword [rbp - 0x30], xmm0
jl 0x1400499b4
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1400d5e70]
movdqa xmm4, xmmword [0x1400d6000]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400d5e90]
nop
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1400d5ed0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1400d5ed0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400498a0
movaps xmm6, xmmword [rsp + 0x60]
cmp r8d, 0x17
jge 0x1400499f4
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x1400499c0
mov rdx, qword [0x14064bd10]
test rdx, rdx
jne 0x140049bc4
mov rax, qword gs:[0x60]
xor r9d, r9d
mov esi, 0xe463da3c
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov r14, r13
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [r14 + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x140049a7d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140049a74
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140049a60
cmp edx, r9d
jne 0x140049ba5
mov r10, qword [r14 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r12, rcx
mov edi, ecx
shr r12, 0x20
add rdi, r10
cmp rdi, r10
je 0x140049ba5
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140049ba5
mov r15d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r15 + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140049af7
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 0x140049ae0
cmp edx, esi
je 0x140049b05
test r8d, r8d
jne 0x140049ac0
jmp 0x140049ba5
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
cmp rdx, rdi
jbe 0x140049bbd
lea rax, [r12 + rdi]
cmp rdx, rax
jae 0x140049bbd
movzx eax, byte [rdx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x48], r9d
mov ecx, r9d
mov dword [rbp + 0x4c], ecx
cmp al, 0x2e
je 0x140049b6b
nop dword [rax]
movsx eax, al
inc rdx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140049b50
mov dword [rbp + 0x48], r9d
movzx eax, byte [rdx + 1]
inc rdx
test al, al
je 0x140049b99
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 0x140049b80
mov dword [rbp + 0x4c], ecx
mov rsi, qword [rbp + 0x48]
mov r14, qword [r13]
shr rsi, 0x20
mov rax, qword [r14]
mov r14, rax
cmp rax, r13
je 0x140049bbb
cmp qword [rax + 0x30], 0
jne 0x140049a30
xor edx, edx
mov qword [0x14064bd10], rdx
cmp byte [0x1400d42f1], 0
movsd xmm0, qword [str.YL_VW]
movzx eax, word [0x1400d42f0]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x140049c0d
xor byte [rbp - 0x4f], 0x38
xor byte [rbp - 0x4e], 0x39
xor byte [rbp - 0x4d], 0x3a
xor byte [rbp - 0x4c], 0x3b
xor byte [rbp - 0x4b], 0x3c
xor byte [rbp - 0x4a], 0x3d
xor byte [rbp - 0x49], 0x3e
xor byte [rbp - 0x48], 0x3f
xor byte [rbp - 0x47], 0x40
mov byte [rbp - 0x50], WSAGetLastError
lea rcx, [rbp - 0x50]
call rdx
lea rdx, [rbp - 0x30]
mov rcx, rax
call rbx
mov r13, rax
test rax, rax
je 0x140049e1b
mov rax, qword [rbp + 0x40]
test rax, rax
jne 0x140049e06
mov rcx, qword [0x14064bd78]
test rcx, rcx
jne 0x140049e09
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov edi, 0x9bc5a608
mov rdx, qword [rcx + 0x18]
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x140049cbd
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140049cb4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140049ca0
cmp edx, r9d
jne 0x140049de5
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 0x140049de5
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140049de5
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 0x140049d37
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 0x140049d20
cmp edx, edi
je 0x140049d45
test r8d, r8d
jne 0x140049d00
jmp 0x140049de5
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 0x140049dfd
lea rax, [r15 + rbx]
cmp rcx, rax
jae 0x140049dfd
movzx eax, byte [rcx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x48], r9d
mov edx, r9d
mov dword [rbp + 0x4c], edx
cmp al, 0x2e
je 0x140049dab
nop dword [rax]
movsx eax, al
inc rcx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x140049d90
mov dword [rbp + 0x48], r9d
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x140049dd9
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 0x140049dc0
mov dword [rbp + 0x4c], edx
mov rdi, qword [rbp + 0x48]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140049dfb
cmp qword [rax + 0x30], 0
jne 0x140049c70
xor ecx, ecx
mov qword [0x14064bd78], rcx
jmp 0x140049e09
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
call r13
test eax, eax
sete al
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret