Function at 0x140002180
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14005a060]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r14, rdx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x60], r13d
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call fcn.14001db60
lea rcx, [rbp + 0x100]
call fcn.1400052c0
nop
lea rdx, str.logs.txt
lea rcx, [rbp + 0x100]
call fcn.1400051c0
lea rdx, str.Starting_Upd.exe...__n
lea rcx, [rbp + 0x100]
call fcn.140008ac0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
movdqa xmm1, xmmword [0x140051d30]
movdqu xmmword [rbp + 0xe8], xmm1
mov word [rbp + 0xd8], r13w
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
lea r8d, [r13 + 0x12]
lea rdx, str.ApplicationVersion
lea rcx, [rbp - 8]
call fcn.140002080
nop
lea rcx, [rbp - 0x78]
call fcn.14000c800
nop
lea r9, [rbp - 8]
mov r8, rax
lea rdx, [rbp + 0x78]
call fcn.140003480
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400022a6
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032fe
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400022f2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003304
call fcn.14001b3c0
lea rdx, str.Application_Version
lea rcx, [rbp + 0x100]
call fcn.140008ac0
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rdx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x88]
mov rcx, rax
call fcn.14000a210
mov rcx, rax
call fcn.140008a30
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8d, 0xf
lea rdx, str.updaterInfo.txt
lea rcx, [rbp - 8]
call fcn.140002080
nop
lea r9, [rbp + 0x78]
lea r8, [rbp - 8]
mov rdx, r14
lea rcx, [rbp + 0x98]
call fcn.14000a8d0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400023a6
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033c1
call fcn.14001b3c0
lea rcx, [rbp - 0x58]
call fcn.14000c5c0
nop
mov r8d, 0x32
lea rdx, str.updater.exe__silentall__nofreqcheck__url__file:__
mov rcx, rax
call fcn.140007370
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r15d, 1
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 0x10
cmovae rdx, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa8]
lea rcx, [rbp - 0x28]
call fcn.140007370
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r15d, 2
mov r8d, 8
lea rdx, str.___nogui
lea rcx, [rsp + 0x40]
call fcn.140007370
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r15d, 4
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400024d7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000330a
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140002525
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002520
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003310
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140002571
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000256c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003316
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0x18]
call fcn.140003fc0
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
lea rcx, [rbp + 0x100]
call fcn.14000a210
mov rcx, rax
lea rdx, [0x140050dac]
call fcn.140008ac0
mov edi, 2
cmp qword [rbp + 0x28], 0
jne 0x1400025ec
lea rdx, str.additional_command_was_empty
lea rcx, [rbp + 0x100]
call fcn.140008ac0
mov rcx, rax
call fcn.140008a30
jmp 0x140002e8d
lea rcx, [rbp - 8]
call fcn.14000c5c0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp + 8]
sub rax, rcx
cmp rax, 0x14
jb 0x14000331c
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rax, qword [rbp - 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x14
lea r9, str.Set_Location__Path__
lea rcx, [rsp + 0x68]
call fcn.14000a0b0
or r15d, 8
mov r8, rdi
lea rdx, [0x140050ce4]
lea rcx, [rsp + 0x68]
call fcn.140007370
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r15d, 0x10
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400026c2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003322
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rax, qword [rbp + 0xc8]
sub rbx, rax
cmp rbx, 2
jb 0x140003328
lea r9, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae r9, qword [rbp + 0xb8]
mov qword [rsp + 0x30], rdi
lea rcx, [0x140050dd0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x78]
call fcn.14000a0b0
or r15d, 0x20
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.140007370
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r15d, 0x40
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400027aa
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000332e
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov r13, qword [r14 + 0x10]
mov rbx, r14
mov r12, qword [r14 + 0x18]
cmp r12, 0x10
jb 0x1400027cf
mov rbx, qword [r14]
lea rsi, [0x140050e68]
mov rdi, 0xffffffffffffffff
test r13, r13
je 0x140002894
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x210]
call fcn.14001db60
mov rcx, rsi
lea rdx, [0x140050e6a]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x210], 1
inc rcx
cmp rcx, rdx
jne 0x140002810
lea rax, [r13 - 1]
mov r8, rdi
cmp rax, rdi
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x210], 0
jne 0x140002858
cmp r8, rbx
je 0x140002894
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x210], 0
je 0x140002842
sub r8, rbx
cmp r8, rdi
je 0x140002894
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
cmp r13, r8
cmovb r8, r13
mov rdx, r14
cmp r12, 0x10
jb 0x140002882
mov rdx, qword [r14]
lea rcx, [rbp - 0x28]
call fcn.140002080
or r15d, 0x180
jmp 0x1400028bb
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
xor r8d, r8d
lea rdx, [0x140050c0b]
lea rcx, [rbp - 0x28]
call fcn.140002080
bts r15d, 7
mov rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovb rdx, rax
mov r8, qword [rbp - 0x18]
lea rcx, [rbp + 0x100]
call fcn.14000a210
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140002918
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002913
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003334
call fcn.14001b3c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 0x10
lea rdx, str._starting_script
lea rcx, [rsp + 0x68]
call fcn.140002080
nop
mov r13, qword [r14 + 0x10]
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002952
mov rbx, qword [r14]
test r13, r13
je 0x140002a0c
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x210]
call fcn.14001db60
mov rcx, rsi
lea r12, [0x140050e6a]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x210], 1
inc rcx
cmp rcx, r12
jne 0x140002980
lea rax, [r13 - 1]
mov r8, rdi
cmp rax, rdi
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x210], 0
mov r12, qword [r14 + 0x18]
jne 0x1400029cc
cmp r8, rbx
je 0x140002a0c
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x210], 0
je 0x1400029b6
sub r8, rbx
cmp r8, 0xffffffffffffffff
je 0x140002a0c
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp r13, r8
cmovb r8, r13
mov rdx, r14
cmp r12, 0x10
jb 0x1400029f9
mov rdx, qword [r14]
lea rcx, [rsp + 0x40]
call fcn.140002080
or r15d, 0x600
jmp 0x140002a36
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x140050c0b]
lea rcx, [rsp + 0x40]
call fcn.140002080
bts r15d, 9
mov dword [rsp + 0x60], r15d
lea r8, [rbp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000bde0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002a8d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000333a
call fcn.14001b3c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140002aca
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ac4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032f8
call fcn.14001b3c0
nop
lea r8, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae r8, qword [rbp + 0x58]
add r8, qword [rbp + 0x68]
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rdx, qword [rbp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1400088d0
nop
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
xor r13d, r13d
mov dword [rbp - 0x30], r13d
mov edx, dword [rbp - 0x18]
add edx, edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140051d40]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r13b
bts r15d, 0xb
mov dword [rsp + 0x60], r15d
mov edx, dword [rbp - 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.140005880
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
mov eax, dword [rbp - 0x18]
lea edx, [rax + rax]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140002bce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003340
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d30]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r13w
lea rcx, [rsp + 0x40]
call fcn.14000bb00
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002c29
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003346
call fcn.14001b3c0
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
test ebx, ebx
je 0x140003177
mov r8d, 0xf
lea rdx, str._script_failled
call fcn.140002080
nop
mov r15, qword [r14 + 0x10]
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002c6b
mov rbx, qword [r14]
test r15, r15
je 0x140002d0a
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x210]
call fcn.14001db60
lea r12, [0x140050e6a]
nop
movzx eax, byte [rsi]
mov byte [rbp + rax + 0x210], 1
inc rsi
cmp rsi, r12
jne 0x140002c90
lea rax, [r15 - 1]
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
add rdi, rbx
movzx eax, byte [rdi]
cmp byte [rbp + rax + 0x210], 0
mov r12, qword [r14 + 0x18]
jne 0x140002cd8
cmp rdi, rbx
je 0x140002d0a
dec rdi
movzx eax, byte [rdi]
cmp byte [rbp + rax + 0x210], 0
je 0x140002cc3
sub rdi, rbx
cmp rdi, 0xffffffffffffffff
je 0x140002d0a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp r15, rdi
cmovb rdi, r15
cmp r12, 0x10
jb 0x140002d02
mov r14, qword [r14]
mov r8, rdi
mov rdx, r14
jmp 0x140002d25
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x140050c0b]
lea rcx, [rsp + 0x40]
call fcn.140002080
nop
lea r8, [rbp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000bde0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002d82
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000334c
call fcn.14001b3c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140002dbf
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032f8
call fcn.14001b3c0
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140002dfa
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003352
call fcn.14001b3c0
movdqa xmm0, xmmword [0x140051d40]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x140002e4d
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000335e
call fcn.14001b3c0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140002e88
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003364
call fcn.14001b3c0
mov edi, 2
lea rdx, str.Updater_command__n
lea rcx, [rbp + 0x100]
call fcn.140008ac0
lea rcx, [rbp + 0x38]
call fcn.14000bca0
mov edx, eax
lea rcx, [rbp + 0x100]
call fcn.140005390
mov rcx, rax
call fcn.140008a30
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
lea rcx, [rbp + 0x100]
call fcn.14000a210
mov rcx, rax
call fcn.140008a30
lea rcx, [rbp + 0x108]
call fcn.140007040
test rax, rax
jne 0x140002f32
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0x148], 0
cmovne eax, edi
or eax, dword [rbp + rcx + 0x110]
and eax, 0x17
mov dword [rbp + rcx + 0x110], eax
mov edx, dword [rbp + rcx + 0x114]
and edx, eax
jne 0x14000336a
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140002f6d
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033bb
call fcn.14001b3c0
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140002fb8
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033c1
call fcn.14001b3c0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x140003009
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003004
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033c7
call fcn.14001b3c0
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140003060
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000305b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033cd
call fcn.14001b3c0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], 0xf
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x1400030bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032f2
call fcn.14001b3c0
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x108]
call fcn.140005110
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xfc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x1a8], rax
lea rcx, [rbp + 0x1a8]
call fcn.14001983c
nop
xor eax, eax
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14001b3a0
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8d, 0x11
lea rdx, str._script_succeeded
call fcn.140002080
nop
mov r15, qword [r14 + 0x10]
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000319b
mov rbx, qword [r14]
test r15, r15
je 0x14000323a
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x210]
call fcn.14001db60
lea r12, [0x140050e6a]
nop
movzx eax, byte [rsi]
mov byte [rbp + rax + 0x210], 1
inc rsi
cmp rsi, r12
jne 0x1400031c0
lea rax, [r15 - 1]
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
add rdi, rbx
movzx eax, byte [rdi]
cmp byte [rbp + rax + 0x210], 0
mov r12, qword [r14 + 0x18]
jne 0x140003208
cmp rdi, rbx
je 0x14000323a
dec rdi
movzx eax, byte [rdi]
cmp byte [rbp + rax + 0x210], 0
je 0x1400031f3
sub rdi, rbx
cmp rdi, 0xffffffffffffffff
je 0x14000323a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp r15, rdi
cmovb rdi, r15
cmp r12, 0x10
jb 0x140003232
mov r14, qword [r14]
mov r8, rdi
mov rdx, r14
jmp 0x140003255
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x140050c0b]
lea rcx, [rsp + 0x40]
call fcn.140002080
nop
lea r8, [rbp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000bde0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400032b2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003358
call fcn.14001b3c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140002dbf
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032f8
jmp 0x140002db9
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.1400014f0
nop
call fcn.140025f48
int3
call fcn.1400014f0
nop
call fcn.140025f48
int3
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
int3
test dl, 4
je 0x140003378
lea rbx, str.ios_base::badbit_set
jmp 0x14000338d
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x58]
call fcn.1400015c0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140001ee0
lea rdx, [0x1400589f0]
lea rcx, [rbp - 0x58]
call fcn.14001d3bc
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
nop
call fcn.140025f48
int3