Function at 0x140017880
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140300b88]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov dword [rbp + 0x1f], 2
lea rcx, [rbp + 0x1f]
mov dword [rbp + 0x23], 1
mov rdi, r8
call fcn.1400415e0
xor ecx, ecx
call fcn.140218270
call fcn.1400168a0
lea rcx, [rbp - 0x21]
mov qword [0x140308838], rbx
call fcn.14004e670
mov rdx, rax
lea rcx, [0x140301d10]
call fcn.14000d1f0
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140017926
mov rcx, qword [rbp - 0x21]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017921
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017c32
call fcn.1402090c4
mov qword [rsp + 0xd0], rsi
call fcn.14004e920
xor esi, esi
mov qword [rbp - 9], 7
lea rdx, str.Safestore.log
mov qword [rbp - 0x21], rsi
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x11], rsi
lea r8d, [rsi + 0xd]
call fcn.140001e70
lea r8d, [rsi + 9]
mov qword [rbp - 1], rsi
lea rdx, str.Safestore
mov qword [rbp + 0xf], rsi
lea rcx, [rbp - 1]
mov qword [rbp + 0x17], 7
call fcn.140001e70
lea r8d, [rsi + 6]
mov qword [rbp - 0x41], rsi
lea rdx, str.Sophos
mov qword [rbp - 0x31], rsi
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x29], 7
call fcn.140001e70
lea r9, [rbp - 0x21]
lea r8, [rbp - 1]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x49]
call fcn.14004de20
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x1400179f6
mov rcx, qword [rbp - 0x41]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400179f1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017c26
call fcn.1402090c4
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140017a36
mov rcx, qword [rbp - 1]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017a31
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017c26
call fcn.1402090c4
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140017a76
mov rcx, qword [rbp - 0x21]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017a71
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017c26
call fcn.1402090c4
mov qword [rsp + 0xd8], r12
lea rcx, [0x140017080]
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, 0x28
call fcn.140208e30
mov r15, rax
lea rdx, [rbp + 0x1f]
mov rcx, rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x24], esi
lea rax, vtable.CommandLine.0
mov qword [r15], rax
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], rsi
mov dword [r15 + 0x20], esi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
test rax, rax
je 0x140017bb8
mov ebx, esi
cmp dword [rbp + 0x1f], ebx
jle 0x140017baf
mov rdi, rax
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rdi]
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], 7
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x140017b20
lea rcx, [rbp - 0x41]
call fcn.140001e70
mov rdx, qword [r15 + 0x10]
cmp rdx, qword [r15 + 0x18]
je 0x140017b53
movups xmm0, xmmword [rbp - 0x41]
movups xmm1, xmmword [rbp - 0x31]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [r15 + 0x10], 0x20
jmp 0x140017ba0
lea r8, [rbp - 0x41]
lea rcx, [r15 + 8]
call fcn.140001fd0
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x140017ba0
mov rcx, qword [rbp - 0x41]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b9b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017c2c
call fcn.1402090c4
inc ebx
add rdi, 8
cmp ebx, dword [rbp + 0x1f]
jl 0x140017b00
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call fcn.140001bb0
mov r8, qword [r15]
movzx ebx, al
mov edi, dword [r15 + 0x20]
mov edx, 1
mov rcx, r15
mov rax, qword [r8]
call qword [case.0x14004822f.0]
test bl, bl
lea rcx, [0x140308810]
cmovne esi, edi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov r14, qword [rsp + 0xa8]
mov eax, esi
mov rsi, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140208e10
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
call fcn.140212258
int3
call fcn.140212258
int3
call fcn.140212258
int3