Function at 0x140004a08
Capabilities:
Copy file
Create process on windows
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xeb8]
sub rsp, 0xfa0
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rbp + 0xe90], rax
mov r14d, 0x20a
lea rcx, [rbp + 0xa70]
mov r8d, r14d
xor edx, edx
call fcn.14000f4f0
mov r12d, 0x104
lea rdx, [0x14003d6d0]
mov r8d, r12d
lea rcx, [rbp + 0xa70]
call fcn.1400121c8
mov r8d, r14d
lea rcx, [rbp + 0x440]
xor edx, edx
call fcn.14000f4f0
mov r8d, r12d
lea rdx, [0x14003d6d0]
lea rcx, [rbp + 0x440]
call fcn.1400121c8
lea rdx, str.updater.ini
lea rcx, [rbp + 0x440]
call fcn.14000a700
xor r15d, r15d
test eax, eax
je 0x140004e63
lea rax, [rbp + 0x440]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rbx, str.PostUpdateWin
lea edi, [r12 + 1]
mov rcx, rbx
lea r9, [rbp + 0x20]
mov dword [rsp + 0x20], edi
lea rdx, str.ExeRelPath
mov si, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140004e63
lea rax, [rbp + 0x440]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x860]
lea rdx, str.ExeArg
mov dword [rsp + 0x20], edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140004e63
lea rax, [rbp + 0x440]
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea r9, [rbp]
lea r8, str.TRUE
mov dword [rsp + 0x20], 0xa
lea rdx, str.ExeAsync
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140004e63
lea rdx, [0x140032798]
lea rcx, [rbp + 0x20]
call fcn.14000e6d0
test rax, rax
jne 0x140004e63
lea rdx, [0x1400332cc]
lea rcx, [rbp + 0x20]
call fcn.14000e6d0
test rax, rax
jne 0x140004e63
lea rdx, [0x1400332d4]
lea rcx, [rbp + 0x20]
call fcn.14000e6d0
test rax, rax
jne 0x140004e63
lea rdx, [0x1400332dc]
lea rcx, [rbp + 0x20]
call fcn.14000e6d0
test rax, rax
jne 0x140004e63
movzx eax, word [rbp + 0x20]
sub ax, 0x2e
cmp ax, si
jbe 0x140004e63
cmp word [rbp + 0x20], 0x5c
je 0x140004e63
mov r8d, r14d
lea rcx, [rbp + 0x230]
xor edx, edx
call fcn.14000f4f0
mov r8d, r12d
lea rdx, [0x14003d6d0]
lea rcx, [rbp + 0x230]
call fcn.1400121c8
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x230]
call fcn.14000a700
test eax, eax
je 0x140004e63
lea rcx, [rbp + 0x230]
call fcn.14000a1a8
test al, al
je 0x140004e63
cmp byte [0x14003c181], r15b
je 0x140004c4f
lea rdx, [rbp + 0x230]
call fcn.140009d38
test eax, eax
je 0x140004e63
lea r8, [0x1400332e0]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0xc80]
call fcn.14000a2b8
test eax, eax
je 0x140004e63
mov r8, r14
lea rcx, [rbp + 0x650]
xor edx, edx
call fcn.14000f4f0
mov r8, r12
lea rdx, [0x14003d2b0]
lea rcx, [rbp + 0x650]
call fcn.1400121c8
lea rdx, str.update.log
lea rcx, [rbp + 0x650]
call fcn.14000a700
test eax, eax
je 0x140004e63
xor eax, eax
lea rdx, str.argv0ignored
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea r8d, [rax + 0xd]
mov dword [rbp - 8], eax
call fcn.1400121c8
or rax, 0xffffffffffffffff
lea rcx, [rbp - 0x20]
mov rbx, rax
inc rbx
cmp word [rcx + rbx*2], r15w
jne 0x140004ce3
lea rcx, [rbp + 0x860]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140004cf4
add rbx, rax
lea rcx, [rbx*2 + 2]
call fcn.140011578
mov rdi, rax
test rax, rax
je 0x140004e63
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.1400121c8
lea rcx, [rdi - 2]
lea rcx, [rcx + 2]
cmp word [rcx], r15w
jne 0x140004d2d
lea r8, [rbp + 0x860]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140004d40
cmp byte [0x14003c181], r15b
jne 0x140004d8e
mov r8d, 6
lea rdx, str.false
lea rcx, [rbp]
call fcn.140017374
test eax, eax
je 0x140004d8e
mov r8d, 2
lea rdx, [0x14003334c]
lea rcx, [rbp]
call fcn.140017374
test eax, eax
jne 0x140004d91
mov sil, r15b
xor r8d, r8d
lea rdx, [rbp + 0xc80]
lea rcx, [rbp + 0x650]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor edx, edx
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.14000f4f0
lea rax, [0x140032630]
xor r9d, r9d
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x230]
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xa70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne r14b
call fcn.140011538
test ebx, ebx
je 0x140004e5e
test sil, sil
jne 0x140004e48
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, r14b
jmp 0x140004e65
xor al, al
mov rcx, qword [rbp + 0xe90]
xor rcx, rsp
call fcn.14000d4c0
lea r11, [rsp + 0xfa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret