Function at 0x140006270
Capabilities:
Create directory
Create process on windows
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x610
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x608], rax
mov rdi, r8
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140006050
test al, al
jne 0x1400062d5
mov r9d, 0x10
lea r8, [0x1400f7ef8]
lea rdx, [0x1400f7f08]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400069cc
mov ecx, 0xffffffff
call qword [sym.imp.IMM32.dll_ImmDisableIME]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x5e0], xmm0
movups xmmword [rsp + 0x5f0], xmm0
mov qword [rsp + 0x600], rax
mov dword [rsp + 0x38], 0x14
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x5e0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, str.SYSTEM
lea rcx, [rsp + 0x5e0]
call fcn.1400a5954
test eax, eax
jne 0x14000633a
mov eax, 1
jmp 0x1400069cc
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140006050
test al, al
je 0x14000637a
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, 0xfffffffffffffffc
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 4
lea rcx, [rsp + 0x30]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.140006130
lea r8, str._userdir
mov rcx, 0xffffffffffffffff
mov rdx, rcx
movzx eax, word [r8 + rdx*2 + 2]
cmp ax, word [rdi + rdx*2 + 2]
jne 0x1400063e5
add rdx, 2
cmp rdx, 9
je 0x140006442
movzx eax, word [r8 + rdx*2]
cmp ax, word [rdi + rdx*2]
je 0x1400063c3
lea rdx, str._weaseldir
nop dword [rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x140006414
add rcx, 2
cmp rcx, 0xb
je 0x14000653b
movzx eax, word [rdx + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x1400063f0
mov eax, 0x2f
cmp ax, word [rdi]
jne 0x1400065c9
mov eax, 0x71
cmp ax, word [rdi + 2]
jne 0x1400065c9
xor esi, esi
cmp si, word [rdi + 4]
je 0x1400065f4
jmp 0x1400065cb
lea rcx, [rsp + 0xc8]
call fcn.140006a20
cmp qword [rax + 0x18], 7
jbe 0x140006459
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 7
jbe 0x1400064ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069fa
call fcn.14006d178
lea rcx, [rsp + 0xc8]
call fcn.140006a20
cmp qword [rax + 0x18], 7
jbe 0x1400064c3
mov rax, qword [rax]
mov dword [rsp + 0x28], 1
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.explorer
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 7
jbe 0x1400065c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a00
jmp 0x1400065bd
lea rcx, [rsp + 0xc8]
call fcn.140006d60
cmp qword [rax + 0x18], 7
jbe 0x140006552
mov rax, qword [rax]
mov dword [rsp + 0x28], 1
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.explorer
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 7
jbe 0x1400065c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a06
call fcn.14006d178
xor eax, eax
jmp 0x1400069cc
xor esi, esi
mov rcx, rsi
lea rdx, str._quit
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [rdi + rcx*2 - 2]
jne 0x1400065f8
cmp rcx, 6
jne 0x1400065e0
mov bl, 1
jmp 0x1400065fa
xor bl, bl
lea rcx, [rsp + 0xc8]
call fcn.14006c310
nop
mov qword [rsp + 0x80], rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0xd0]
lea rcx, [r15 + 0x30]
call fcn.14006c770
movzx r14d, al
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140006651
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rsp + 0x48]
cmp rcx, rax
setne dl
call r8
test r14b, r14b
je 0x140006790
xor r9d, r9d
mov edx, 0x8005
mov rcx, r15
call fcn.14006c210
test bl, bl
jne 0x140006798
mov ebx, esi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0xc0], rsi
lea rcx, [r15 + 0x30]
call fcn.14006c770
movzx r14d, al
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400066bb
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rsp + 0x88]
cmp rcx, rax
setne dl
call r8
test r14b, r14b
je 0x1400066e8
cmp ebx, 0xa
jge 0x140006798
xor r9d, r9d
mov edx, 0x8005
mov rcx, r15
call fcn.14006c210
inc ebx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006681
cmp ebx, 0xa
jge 0x140006798
lea rcx, [rsp + 0xc8]
call fcn.14006c460
mov rcx, rsi
lea rdx, str._update
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [rdi + rcx*2 - 2]
jne 0x140006729
cmp rcx, 8
jne 0x140006710
call fcn.140006c10
lea rcx, [rsp + 0xc8]
call fcn.140006a20
cmp qword [rax + 0x18], 7
jbe 0x140006740
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 7
jbe 0x1400067b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a0c
jmp 0x1400067ac
test bl, bl
je 0x1400066f1
lea rcx, [rsp + 0xc8]
call fcn.14006c460
xor eax, eax
jmp 0x1400069cc
call fcn.14006d178
nop
lea rcx, [rsp + 0xf0]
call fcn.1400078b0
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
lea rcx, [rsp + 0xf0]
call fcn.140007b40
mov r14d, eax
mov rcx, qword [rsp + 0x5d0]
test rcx, rcx
je 0x1400067f1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [rsp + 0x118]
call fcn.1400079f0
lea rcx, [rsp + 0x100]
call fcn.14001c3d0
lea rax, vtable.weasel::Server.0
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x140006833
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
nop
jmp 0x14000683c
mov rdi, qword [0x1401234c0]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0xd0], 1
mov rbx, qword [0x140123550]
test rbx, rbx
je 0x1400068a4
cmp dword [rbx + 8], 0
jle 0x14000687a
mov rcx, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rbx, qword [0x140123550]
test rbx, rbx
je 0x1400068a4
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000688f
call fcn.1400a51d0
mov qword [rbx], rsi
mov qword [rbx + 8], 0
mov edx, 0x10
mov rcx, rbx
call fcn.14006d178
mov qword [0x140123550], rsi
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rbx, qword [0x140123548]
test rbx, rbx
je 0x1400068f5
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400068d2
call fcn.1400a51d0
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400068e4
call fcn.1400a51d0
mov qword [rbx + 8], rsi
mov dword [rbx + 0x10], esi
mov edx, 0x18
mov rcx, rbx
call fcn.14006d178
nop
mov rbx, qword [0x140123538]
test rbx, rbx
je 0x14000692c
cmp qword [rbx], 0
je 0x14000692c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140006916
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x20], rsi
mov rax, qword [rbx + 0x40]
xor ecx, ecx
call rax
add rbx, 0x48
cmp qword [rbx], 0
jne 0x140006907
mov rbx, qword [0x14011bfe0]
mov rcx, qword [0x14011bfe8]
cmp rbx, rcx
jae 0x140006960
nop
mov rax, qword [rbx]
test rax, rax
je 0x140006957
mov rax, qword [rax + 0x38]
xor ecx, ecx
call rax
mov rcx, qword [0x14011bfe8]
add rbx, 8
cmp rbx, rcx
jb 0x140006940
cmp dword [0x1401234f8], 0
je 0x1400069c3
mov rdi, qword [0x140123500]
test rdi, rdi
je 0x14000699e
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
call rax
mov rbx, qword [rdi + 0x10]
mov edx, 0x18
mov rcx, rdi
call fcn.14006d178
mov rdi, rbx
test rbx, rbx
jne 0x140006975
mov qword [0x140123500], rsi
mov rcx, qword [0x140123530]
test rcx, rcx
je 0x1400069b0
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea rcx, [0x140123508]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x1401234f8], esi
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r14d
mov rcx, qword [rsp + 0x608]
xor rcx, rsp
call fcn.14006ce40
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call fcn.1400a5664
int3
call fcn.1400a5664
int3
call fcn.1400a5664
int3
call fcn.1400a5664
int3