Function at 0x14018a1f0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x2790]
mov eax, 0x2890
call fcn.14039bb40
sub rsp, rax
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x2780], rax
xor r12d, r12d
mov rbx, rcx
mov word [rbp + 0x1f80], r12w
mov esi, 0x80004005
xor r14b, r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r12d
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
mov eax, dword [rsp + 0x20]
cmp eax, 1
je 0x14018a389
cmp eax, 2
je 0x14018a323
mov rcx, qword [rdi + 0x10]
lea r8d, [r12 + 2]
lea rdx, [0x14044b130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x14018a323
mov rdx, qword [rdi + 8]
lea r8, str._upload
mov ecx, r12d
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14018a389
cmp rcx, 8
jne 0x14018a2a0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test eax, eax
js 0x14018a31c
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x68]
call qword [sym.imp.ole32.dll_IIDFromString]
lea rcx, [rbp + 0x520]
call fcn.140195060
lea rcx, [rbp + 0x520]
call fcn.1401950f0
mov ebx, eax
test eax, eax
js 0x14018a30a
mov r8b, 1
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x520]
call fcn.1401954b0
mov ebx, eax
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rbp + 0x520]
call fcn.1401950b0
mov eax, ebx
jmp 0x14018a7b6
mov rdx, qword [rdi + 8]
lea rcx, [rbx + 0x1fc0]
call fcn.140396600
mov esi, eax
test eax, eax
js 0x14018a345
xor edx, edx
mov rcx, rbx
call fcn.140189970
mov esi, eax
cmp dword [rsp + 0x20], 2
jle 0x14018a389
test esi, esi
js 0x14018a389
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14044b138]
add rcx, 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14018a389
cmp dword [rsp + 0x20], 4
mov r14b, 1
jne 0x14018a389
mov r8, qword [rdi + 0x18]
lea rcx, [rbp + 0x1f80]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, rdi
mov qword [rsp + 0x28d0], r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r15b, r15b
test esi, esi
js 0x14018a79e
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14018a79e
lea rcx, [rbp + 0x300]
call fcn.140397f00
lea rax, vtable.CClientConfig.0
lea rcx, [rbp + 0x300]
mov qword [rbp + 0x300], rax
call fcn.1401895c0
lea rcx, [rbp - 0x80]
call fcn.1402e6680
lea rax, vtable.CSfMainDialog.0
mov qword [rbp + 0x2d0], rbx
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
lea rax, vtable.CSfMainDialog.1.0
mov word [rbp + 0x2e8], r12w
mov qword [rbp - 0x50], rax
lea rax, vtable.CSfMainDialog.2.0
mov qword [rbp + 0x78], rax
lea rax, vtable.CSfMainDialog.3.0
mov qword [rbp + 0x108], rax
lea rax, vtable.CSfMainDialog.4.0
mov qword [rbp + 0x238], rax
xor eax, eax
mov qword [rbp + 0x2f0], r12
mov qword [rbp + 0x2d8], rax
mov qword [rbp + 0x2e0], rax
test r14b, r14b
je 0x14018a45e
lea rdx, [rbp + 0x1f80]
call fcn.14018c060
jmp 0x14018a472
xor r8d, r8d
lea edx, [r8 + 0x64]
call fcn.1402e2210
test eax, eax
js 0x14018a77e
movzx eax, byte [rbp + 0x2e8]
lea rdx, [0x14044b1c4]
mov byte [rbx + 0x4310], al
lea rcx, [rbx + 0x2e30]
mov rax, qword [rbp + 0x2f0]
test rax, rax
cmovne rdx, rax
call fcn.1401902b0
test r14b, r14b
je 0x14018a4a9
mov al, 1
jmp 0x14018a4bb
cmp byte [rbp + 0x2e9], r12b
movzx eax, byte [rbp + 0x518]
cmovne eax, r12d
mov byte [rbx + 0x4311], al
test r14b, r14b
je 0x14018a4fb
xor edx, edx
lea rcx, [rbx + 0x2e30]
call fcn.14018fc90
mov rdx, rbx
lea rcx, [rbx + 0x2e30]
call fcn.14018fbc0
lea r8, [rsp + 0x28]
mov edx, 0xea60
lea rcx, [rbx + 0x2e30]
call fcn.14018fc20
jmp 0x14018a536
lea rcx, [rsp + 0x30]
call fcn.1402e20c0
xor r8d, r8d
mov qword [rsp + 0x60], rbx
lea rsi, vtable.CSfProgressDialog.0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
lea edx, [r8 + 0x67]
call fcn.1402e2210
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
call fcn.1402e20f0
imul edx, dword [rbp + 0x51c], 0x3e8
lea r8, [rsp + 0x24]
lea rcx, [rbx + 0x2e30]
call fcn.14018fc20
test eax, eax
js 0x14018a77e
cmp dword [rsp + 0x24], r12d
jl 0x14018a77e
lea rcx, [rbx + 0x4328]
mov r8, rbx
sub r8, rcx
mov edx, 0x104
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14018a5a7
movzx eax, word [r8 + rcx + 0x3104]
test ax, ax
je 0x14018a5a7
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14018a580
test rdx, rdx
lea rax, [rcx - 2]
mov r15b, 1
cmovne rax, rcx
movzx edx, r15b
lea rcx, [rbx + 0x1fc0]
mov word [rax], r12w
call fcn.140396bb0
test r14b, r14b
jne 0x14018a77e
mov eax, dword [rbx + 0x430c]
mov qword [rsp + 0x28c8], r13
cmp eax, 3
jne 0x14018a692
lea rcx, [rbp + 0x520]
call fcn.1402e6320
xor eax, eax
mov qword [rbp + 0x908], rbx
lea r13, vtable.CSfManualDeliveryDlg.0
mov dword [rbp + 0x918], eax
lea r12, vtable.CSfManualDeliveryDlg.1.0
mov qword [rbp + 0x520], r13
lea r14, vtable.CSfManualDeliveryDlg.2.0
mov qword [rbp + 0x550], r12
lea rsi, vtable.CSfManualDeliveryDlg.3.0
mov qword [rbp + 0x618], r14
lea rdi, vtable.CSfManualDeliveryDlg.4.0
mov qword [rbp + 0x6a8], rsi
lea edx, [rax + 0x68]
mov qword [rbp + 0x7d8], rdi
xor r8d, r8d
mov qword [rbp + 0x900], rax
lea rcx, [rbp + 0x520]
call fcn.1402e2210
lea rcx, [rbp + 0x520]
mov qword [rbp + 0x520], r13
mov qword [rbp + 0x550], r12
mov qword [rbp + 0x618], r14
mov qword [rbp + 0x6a8], rsi
mov qword [rbp + 0x7d8], rdi
jmp 0x14018a771
cmp eax, 2
jne 0x14018a776
lea rdi, [rbx + 0x3b0c]
test rdi, rdi
je 0x14018a776
cmp r12w, word [rdi]
je 0x14018a776
lea rcx, [rbp + 0x520]
call fcn.1402e6320
lea rax, vtable.CSfReportDetailsDlg.0
mov qword [rbp + 0x908], rbx
mov qword [rbp + 0x520], rax
lea r13, vtable.CSfReportDetailsDlg.1.0
xor eax, eax
mov qword [rbp + 0x550], r13
lea r12, vtable.CSfReportDetailsDlg.2.0
mov qword [rbp + 0x900], rax
lea r14, vtable.CSfReportDetailsDlg.3.0
mov word [rbp + 0x910], ax
lea rsi, vtable.CSfReportDetailsDlg.4.0
mov qword [rbp + 0x618], r12
mov rdx, rdi
mov qword [rbp + 0x6a8], r14
lea rcx, [rbp + 0x520]
mov qword [rbp + 0x7d8], rsi
call fcn.14018ec10
xor r8d, r8d
lea rcx, [rbp + 0x520]
lea edx, [r8 + 0x69]
call fcn.1402e2210
lea rax, vtable.CSfReportDetailsDlg.0
mov qword [rbp + 0x550], r13
mov qword [rbp + 0x520], rax
lea rcx, [rbp + 0x520]
mov qword [rbp + 0x618], r12
mov qword [rbp + 0x6a8], r14
mov qword [rbp + 0x7d8], rsi
call fcn.1402e63a0
mov r13, qword [rsp + 0x28c8]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rbp - 0x80]
call fcn.14018ab70
lea rcx, [rbp + 0x300]
call fcn.140397f20
test r15b, r15b
jne 0x14018a7ac
lea rcx, [rbx + 0x1fc0]
mov dl, 1
call fcn.140396bb0
mov r15, qword [rsp + 0x28d0]
xor eax, eax
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0x28d8]
add rsp, 0x2890
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret