Function at 0x1400120c8
Capabilities:
Copy file
Create process on windows

Disassembly:
push rdi
mov eax, 0x1340
call fcn.1400332d0
sub rsp, rax
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rsp + 0x1350], rbx
mov qword [rsp + 0x1358], rbp
mov qword [rsp + 0x1360], rsi
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x1330], rax
and dword [rsp + 0x1120], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1124]
call fcn.140021ef0
mov r8d, 0x104
lea rdx, [rsp + 0x1120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x1120]
lea rcx, [rsp + 0x100]
call fcn.1400052d4
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140010f88
nop
lea rcx, [rsp + 0x80]
call fcn.14000477c
lea rdx, [rsp + 0x1120]
lea rcx, [rsp + 0xa0]
call fcn.1400052d4
nop
lea rdx, [rsp + 0x1120]
lea rcx, [rsp + 0x88]
call fcn.1400052d4
nop
lea rdx, str._autoupdate
lea rcx, [rsp + 0x68]
call fcn.140004c38
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.140004580
test eax, eax
setns bl
lea rcx, [rsp + 0x68]
call fcn.140004268
test bl, bl
je 0x140012717
lea rdx, [0x1400b3c00]
lea rcx, [rsp + 0x68]
call fcn.140005290
nop
lea rax, [rsp + 0x118]
mov ecx, 0xff
mov edi, 1
and qword [rax + 8], 0
and qword [rax], 0
add rax, 0x10
sub ecx, edi
jns 0x1400121fc
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140004588
mov rdx, rax
lea r8, [0x140039374]
lea rcx, [rsp + 0x110]
call fcn.140011228
xor ebx, ebx
mov esi, dword [rsp + 0x110]
test esi, esi
jle 0x140012276
lea rbp, [rsp + 0x118]
mov rdx, qword [rbp]
lea rcx, str.Path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140012266
add ebx, edi
add rbp, 0x10
cmp ebx, esi
jl 0x140012245
jmp 0x140012276
movsxd rax, ebx
add rax, rax
mov rdx, qword [rsp + rax*8 + 0x120]
jmp 0x140012278
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400052d4
nop
xor ebx, ebx
test esi, esi
jle 0x1400122c2
lea rbp, [rsp + 0x118]
mov rdx, qword [rbp]
lea rcx, [0x14003a1b0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400122b2
add ebx, edi
add rbp, 0x10
cmp ebx, esi
jl 0x140012291
jmp 0x1400122c2
movsxd rax, ebx
add rax, rax
mov rdx, qword [rsp + rax*8 + 0x120]
jmp 0x1400122c4
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400052d4
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf8]
call fcn.140005290
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140011034
nop
lea rdx, str..exe
lea rcx, [rsp + 0x40]
call fcn.140004c38
nop
lea rdx, [0x14003a1a0]
lea rcx, [rsp + 0x38]
call fcn.140004c38
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140004000
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004000
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000451c
nop
lea rcx, [rsp + 0x60]
call fcn.140004268
nop
lea rcx, [rsp + 0x70]
call fcn.140004268
nop
lea rcx, [rsp + 0x38]
call fcn.140004268
nop
lea rcx, [rsp + 0x40]
call fcn.140004268
lea rcx, [rsp + 0x78]
call fcn.140015ccc
nop
lea rdx, [0x14003a19c]
lea rcx, [rsp + 0x40]
call fcn.140004c38
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.140004000
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004000
nop
lea rcx, [rsp + 0xe0]
call fcn.140004268
nop
lea rcx, [rsp + 0x40]
call fcn.140004268
lea rdx, [0x14003a198]
lea rcx, [rsp + 0x90]
call fcn.140004c38
nop
lea rdx, [0x14003a19c]
lea rcx, [rsp + 0xa8]
call fcn.140004c38
nop
lea rdx, str.Autoupdate:
lea rcx, [rsp + 0x38]
call fcn.140004c38
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xe8]
call fcn.140004000
nop
lea r8, [rsp + 0xa8]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140004000
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140004000
nop
lea r8, [rsp + 0x90]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140004000
nop
lea rcx, [rsp + 0xc0]
call fcn.140004268
nop
lea rcx, [rsp + 0xc8]
call fcn.140004268
nop
lea rcx, [rsp + 0xe8]
call fcn.140004268
nop
lea rcx, [rsp + 0x38]
call fcn.140004268
nop
lea rcx, [rsp + 0xa8]
call fcn.140004268
nop
lea rcx, [rsp + 0x90]
call fcn.140004268
call fcn.140011ef8
lea rdx, str._nBackup:_n
lea rcx, [rsp + 0x60]
call fcn.140004c38
nop
lea rdx, [0x14003a174]
lea rcx, [rsp + 0x70]
call fcn.140004c38
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.140004000
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004000
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140004000
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140004000
mov rbx, qword [rax]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov r9d, 0x40003
mov r8, qword [rsp + 0xb0]
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
lea rcx, [rsp + 0xb8]
call fcn.140004268
nop
lea rcx, [rsp + 0xd0]
call fcn.140004268
nop
lea rcx, [rsp + 0xd8]
call fcn.140004268
nop
lea rcx, [rsp + 0x50]
call fcn.140004268
nop
lea rcx, [rsp + 0x70]
call fcn.140004268
nop
lea rcx, [rsp + 0x60]
call fcn.140004268
lea rcx, [rsp + 0x48]
call fcn.14000418c
test eax, eax
je 0x1400125f8
lea rdx, str.Bad_Autoupdate_1
lea rcx, [rsp + 0x50]
call fcn.140004c38
mov rbx, qword [rax]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x50]
call fcn.140004268
lea rcx, [rsp + 0x30]
call fcn.14000418c
test eax, eax
je 0x14001263c
lea rdx, str.Bad_Autoupdate_2
lea rcx, [rsp + 0x50]
call fcn.140004c38
mov rbx, qword [rax]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x50]
call fcn.140004268
cmp esi, 6
jne 0x14001266f
call fcn.140015dbc
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x1120]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, str.explorer.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.140011be4
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
nop
lea rcx, [rsp + 0x98]
call fcn.140004268
nop
lea rcx, [rsp + 0xb0]
call fcn.140004268
nop
lea rcx, [rsp + 0x78]
call fcn.140004268
nop
lea rcx, [rsp + 0x58]
call fcn.140004268
nop
lea rcx, [rsp + 0x48]
call fcn.140004268
nop
lea rcx, [rsp + 0x30]
call fcn.140004268
nop
lea rcx, [rsp + 0x68]
call fcn.140004268
nop
lea rcx, [rsp + 0x88]
call fcn.140004268
nop
lea rcx, [rsp + 0xa0]
call fcn.140004268
nop
jmp 0x140012735
lea rcx, [rsp + 0x88]
call fcn.140004268
nop
lea rcx, [rsp + 0xa0]
call fcn.140004268
nop
xor edi, edi
lea rcx, [rsp + 0x80]
call fcn.140004268
mov eax, edi
mov rcx, qword [rsp + 0x1330]
xor rcx, rsp
call fcn.140021e20
lea r11, [rsp + 0x1340]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret