Function at 0x140032fe4
Capabilities:
Check if file exists
Create thread
Delete registry key
Enumerate files on windows
Get common file path
Get file attributes

Disassembly:
push r13
mov eax, 0x1030
call fcn.14005ad00
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x1040], rbx
mov qword [rsp + 0x1048], rsi
mov qword [rsp + 0x1050], rdi
mov rax, qword [0x14007e090]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov eax, 2
mov dword [rsp + 0x30], eax
mov dword [0x140082e24], eax
lea rcx, [0x140082938]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x140083398], rax
xor esi, esi
mov word [rsp + 0x3d0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3d2]
call fcn.1400452b0
mov r8d, 0x104
lea rdx, [rsp + 0x3d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x140067368]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
lea rax, [0x1400691c0]
mov qword [rsp + 0x50], rax
lea rax, [fcn.140017484]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x68], rax
lea r9, str.ignorePlugins
lea r8, str.SoftwareWOW6432Nodeprojonepodlpdebugplugin_
mov r13, 0xffffffff80000002
mov rdx, r13
lea rcx, [rsp + 0x90]
call fcn.140013e48
nop
cmp qword [rax + 0x20], 8
jb 0x140033107
mov rdx, qword [rax + 8]
jmp 0x14003310b
lea rdx, [rax + 8]
lea r8, [0x140066b70]
lea rcx, [rsp + 0xd0]
call fcn.14001374c
nop
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.140005b60
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.140035114
mov rdi, rax
lea rbx, [0x140084180]
cmp rbx, rax
je 0x1400331c5
mov rcx, qword [0x1400841b0]
mov qword [rsp + 0x48], rcx
mov rdx, qword [0x140084180]
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rdx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.1400046dc
mov rdx, rdi
mov rcx, rbx
call fcn.140005cc8
nop
lea rcx, [rsp + 0x140]
call fcn.140003b78
nop
lea rcx, [rsp + 0x100]
call fcn.140003b78
nop
lea rcx, [rsp + 0xd0]
call fcn.140003af4
nop
cmp qword [rsp + 0xb0], 8
jb 0x140033207
mov rcx, qword [rsp + 0x98]
call fcn.140042a98
mov word [rsp + 0x5e0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x5e2]
call fcn.1400452b0
mov r8d, 0x104
lea rdx, [rsp + 0x5e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x5e0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.140001ce4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.140008a10
cmp qword [rax + 0x20], 0x10
jb 0x14003329b
mov rdx, qword [rax + 8]
jmp 0x14003329f
lea rdx, [rax + 8]
lea rcx, [0x140083900]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp qword [rsp + 0xb0], 0x10
jb 0x1400332c4
mov rcx, qword [rsp + 0x98]
call fcn.140042a98
mov qword [rsp + 0xb0], socket
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0x98], sil
cmp qword [rsp + 0x70], 8
jb 0x1400332f2
mov rcx, qword [rsp + 0x58]
call fcn.140042a98
lea rcx, [rsp + 0x5e0]
call fcn.1400319f0
lea r9, [0x140083900]
lea r8, str.SoftwareWOW6432Nodeprojonepodlpdebugplugin_
lea rdx, str._s_hs
lea rcx, [0x140083a10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [0x140083a10]
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rdi, [rsp + 0x3d0]
lea rax, [fcn.140031f80]
cmp rax, rsi
je 0x1400334b5
cmp word [rsp + 0x3d2], 0x3a
je 0x1400333ad
cmp word [rsp + 0x3d2], 0x5c
je 0x1400333ad
mov word [rsp + 0xc10], si
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0xc12]
call fcn.1400452b0
lea rdx, [rsp + 0xc10]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0xc10]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdi, [rsp + 0xc10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400334b5
test al, 0x10
je 0x1400334b5
mov rdx, rdi
lea rcx, [rsp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140067360]
lea rcx, [rsp + 0x7f0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400334b5
lea rdx, [0x140067364]
lea rcx, [rsp + 0x1ac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, esi
je 0x140033493
lea rdx, [0x140067368]
lea rcx, [rsp + 0x1ac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, esi
je 0x140033493
cmp dword [rsp + 0x180], 0xffffffff
je 0x140033493
mov rdx, rdi
lea rcx, [rsp + 0xa00]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x1ac]
lea rcx, [rsp + 0xa00]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [rsp + 0x180], 0x10
jne 0x140033493
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa00]
call fcn.140031f80
cmp eax, esi
je 0x1400334ac
lea rdx, [rsp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x140033410
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, dword [rsp + 0x30]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
lea r8, [0x140032908]
mov edx, 0x20000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, str.service
lea rdi, str.agent
mov rdx, rdi
cmp dword [rsp + 0x30], 1
cmove rdx, rbx
lea rcx, str.PLUG_LOADED
call fcn.14003215c
mov rcx, qword [0x140083398]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rsp + 0x30], 1
cmove rdi, rbx
mov rdx, rdi
lea rcx, str.PLUG_INITED
call fcn.14003215c
lea r8, str.3A0419DE
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rcx, r13
call fcn.140014290
cmp al, sil
je 0x14003356f
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140032fc4]
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140042a40
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret