Function at 0x140115cf0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10278]
mov eax, 0x10378
call fcn.1400b3040
sub rsp, rax
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x10260], rax
mov r15d, r9d
mov dword [rsp + 0x40], r9d
mov ebx, r8d
mov dword [rsp + 0x30], ebx
mov rsi, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
lea r12, [r13 - 1]
cmp byte [0x1401b9208], r13b
je 0x14011682c
mov byte [0x1401b9208], r13b
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rbp + 0x1a8], r13
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], 0xf
mov byte [rbp + 0x1a8], r13b
mov r8, r12
inc r8
cmp byte [rax + r8], r13b
jne 0x140115d81
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.140007230
nop
lea rax, [0x140181628]
mov qword [rbp + 0x50], rax
lea rax, [0x140184800]
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x60], 1
xor r8d, r8d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x4c], edx
lea rax, [rbp + 0x68]
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x68], rax
lea r15, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae r15, qword [rbp + 0x1a8]
mov ecx, r13d
mov rax, qword [rbp + 0x1b8]
cmp rax, 0x7fffffff
jbe 0x140115e4c
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
test rax, rax
je 0x140115ecb
lfence
mov rbx, qword [rbp + 0x1b8]
mov rcx, rbx
call fcn.140002610
mov rdi, rax
mov r8, rbx
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + rdi]
mov qword [rbp + 0xd0], rdx
mov rcx, qword [rbp + 0x80]
mov qword [rcx], rdi
mov rcx, qword [rbp + 0xa0]
mov qword [rcx], rdi
sub edx, edi
mov rcx, qword [rbp + 0xb8]
mov dword [rcx], edx
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rbp + 0x88]
mov qword [rax], rdi
mov rax, qword [rbp + 0xa8]
mov qword [rax], rdi
sub ecx, edi
mov rax, qword [rbp + 0xc0]
mov dword [rax], ecx
mov ecx, 1
jmp 0x140115ed2
mov qword [rbp + 0xd0], r13
mov dword [rbp + 0xd8], ecx
lea rax, [rbp + 0x50]
mov qword [rbp + 0x1e8], rax
mov qword [rbp + 0x1f0], r13
movdqa xmm0, xmmword [0x140189c50]
movdqu xmmword [rbp + 0x200], xmm0
mov byte [rbp + 0x1f0], 0
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x50]
call fcn.140046ea0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
mov rbx, qword [rbp + 0x1e8]
cmovne rbx, r13
mov qword [rbp + 0x1e8], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x210], xmm0
movdqa xmm1, xmmword [0x140189c50]
movdqu xmmword [rbp + 0x228], xmm1
mov byte [rbp + 0x218], 0
lea rax, [rbp + 0x20]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x20], r13
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x28]
call fcn.14000e850
lea rax, [rbp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rbp - 8], rbx
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp]
call fcn.14000e850
lea rax, [rbp - 8]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x30], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.14000e850
lea rax, [rbp - 0x30]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x60], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x58]
call fcn.14000e850
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x30]
cmp qword [rbp - 0x60], rax
je 0x14011605f
nop word [rax + rax]
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x58]
je 0x140116020
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.14000e850
add qword [rsp + 0x50], 0x20
jmp 0x140116031
lea r8, [rbp - 0x58]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400470b0
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
call fcn.140046ea0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140116055
mov qword [rbp - 0x60], r13
mov rax, r13
jmp 0x140116059
mov rax, qword [rbp - 0x60]
cmp rax, qword [rbp - 0x30]
jne 0x140116000
lea rcx, [rbp - 0x58]
call fcn.140007160
nop
lea rcx, [rbp - 0x28]
call fcn.140007160
nop
lea rcx, [rbp]
call fcn.140007160
nop
lea rcx, [rbp + 0x28]
call fcn.140007160
nop
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, r15
je 0x1401160d6
nop dword [rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401160ad
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140042440
lea rdx, [0x140162084]
mov rcx, rdi
call fcn.14003c3b0
add rbx, 0x20
cmp rbx, r15
jne 0x1401160a0
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1401160e9
mov r15, qword [rbx]
add rdi, r15
jmp 0x1401160ef
add rdi, rbx
mov r15, rbx
mov qword [rbp + 0x168], r13
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], 7
mov word [rbp + 0x168], r13w
mov rdx, rdi
sub rdx, r15
lea rcx, [rbp + 0x168]
call fcn.140002850
mov r8, rdi
mov rdx, r15
lea rcx, [rbp + 0x168]
call fcn.140043c90
nop
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x7ffe
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x198], r13
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], r13w
lea rax, [rbp + 0x260]
mov r8, r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140116190
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x188]
call fcn.140002f20
nop
lea rdi, [rbp + 0x188]
mov r9, qword [rbp + 0x188]
mov r10, qword [rbp + 0x1a0]
cmp r10, 8
cmovae rdi, r9
lea rax, [rbp + 0x188]
cmovae rax, r9
mov r11, qword [rbp + 0x198]
lea r15, [rax + r11*2]
lea rbx, [rbp + 0x188]
cmovae rbx, r9
cmp rbx, r15
je 0x140116220
sub rdi, rbx
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, r15
jne 0x1401161f5
mov r10, qword [rbp + 0x1a0]
mov r11, qword [rbp + 0x198]
mov r9, qword [rbp + 0x188]
lea rdi, [rbp + 0x168]
mov r8, qword [rbp + 0x168]
cmp qword [rbp + 0x180], 8
cmovae rdi, r8
lea rcx, [rbp + 0x168]
cmovae rcx, r8
mov rax, qword [rbp + 0x178]
lea r15, [rcx + rax*2]
lea rbx, [rbp + 0x168]
cmovae rbx, r8
cmp rbx, r15
je 0x14011628e
sub rdi, rbx
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, r15
jne 0x140116263
mov r10, qword [rbp + 0x1a0]
mov r11, qword [rbp + 0x198]
mov r9, qword [rbp + 0x188]
lea rax, [rbp + 0x188]
cmp r10, 8
cmovae rax, r9
lea rbx, [rax + r11*2]
lea rax, [rbp + 0x188]
cmovae rax, r9
lea r8, [rax + r11*2]
lea rcx, [rbp + 0x188]
cmovae rcx, r9
cmp rcx, r8
je 0x14011630e
cmp word [rcx], 0x22
je 0x1401162cf
add rcx, 2
cmp rcx, r8
jne 0x1401162c0
cmp rcx, r8
je 0x14011630e
lea rax, [rcx + 2]
cmp rax, r8
je 0x14011630e
nop dword [rax]
movzx edx, word [rax]
cmp dx, 0x22
je 0x1401162f0
mov word [rcx], dx
add rcx, 2
add rax, 2
cmp rax, r8
jne 0x1401162e0
mov r10, qword [rbp + 0x1a0]
mov r11, qword [rbp + 0x198]
mov r9, qword [rbp + 0x188]
lea rax, [rbp + 0x188]
cmp r10, 8
cmovae rax, r9
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub rbx, rcx
sar rbx, 1
mov rax, r11
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp + 0x188]
cmp r10, 8
cmovae rax, r9
lea rcx, [rax + rdx*2]
sub r11, rbx
mov qword [rbp + 0x198], r11
sub r11, rdx
lea r8, [r11*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbp + 0x168]
mov r10, qword [rbp + 0x168]
mov r11, qword [rbp + 0x180]
cmp r11, 8
cmovae rax, r10
mov r9, qword [rbp + 0x178]
lea rbx, [rax + r9*2]
lea rax, [rbp + 0x168]
cmovae rax, r10
lea r8, [rax + r9*2]
lea rcx, [rbp + 0x168]
cmovae rcx, r10
cmp rcx, r8
je 0x1401163fe
cmp word [rcx], 0x22
je 0x1401163c0
add rcx, 2
cmp rcx, r8
jne 0x1401163b1
cmp rcx, r8
je 0x1401163fe
lea rax, [rcx + 2]
cmp rax, r8
je 0x1401163fe
nop
movzx edx, word [rax]
cmp dx, 0x22
je 0x1401163e0
mov word [rcx], dx
add rcx, 2
add rax, 2
cmp rax, r8
jne 0x1401163d0
mov r11, qword [rbp + 0x180]
mov r9, qword [rbp + 0x178]
mov r10, qword [rbp + 0x168]
lea rax, [rbp + 0x168]
cmp r11, 8
cmovae rax, r10
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub rbx, rcx
sar rbx, 1
mov rax, r9
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp + 0x168]
cmp r11, 8
cmovae rax, r10
lea rcx, [rax + rdx*2]
sub r9, rbx
mov qword [rbp + 0x178], r9
sub r9, rdx
lea r8, [r9*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rbp + 0x168]
mov rdi, qword [rbp + 0x168]
cmp qword [rbp + 0x180], 8
cmovae rbx, rdi
lea rdx, [rbp + 0x188]
mov r13, qword [rbp + 0x188]
cmp qword [rbp + 0x1a0], 8
cmovae rdx, r13
mov qword [rsp + 0x38], rdx
mov r15, qword [rbp + 0x178]
mov rax, qword [rbp + 0x198]
cmp r15, rax
ja 0x140116551
test r15, r15
je 0x140116588
sub rax, r15
inc rax
lea rcx, [rdx + rax*2]
mov qword [rsp + 0x60], rcx
mov rax, rdx
movzx r11d, word [rbx]
nop dword [rax]
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x1401164f9
cmp word [rax], r11w
je 0x1401164f6
cmp rcx, 1
je 0x1401164f9
dec rcx
add rax, 2
cmp word [rax], r11w
jne 0x1401164e3
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140116551
mov r9, r15
mov rcx, rbx
movzx edx, word [rdx]
movzx r8d, r11w
cmp dx, r11w
jb 0x14011653c
mov r10, rax
sub r10, rbx
cmp dx, r11w
ja 0x14011653c
cmp r9, 1
je 0x140116547
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14011651e
add rax, 2
mov rcx, qword [rsp + 0x60]
jmp 0x1401164d0
sub rax, qword [rsp + 0x38]
sar rax, 1
je 0x140116588
mov rax, qword [r14]
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 8
cmovae rdx, rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
mov rdi, qword [rbp + 0x168]
mov r13, qword [rbp + 0x188]
mov rax, qword [rbp + 0x1a0]
cmp rax, 8
jb 0x1401165d4
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1401165c5
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401165c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14007e2a0
mov rdi, qword [rbp + 0x168]
xor r13d, r13d
mov qword [rbp + 0x198], r13
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], r13w
mov rax, qword [rbp + 0x180]
cmp rax, 8
jb 0x140116636
lea rdx, [rax*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14011662e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011662e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14007e2a0
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], 7
mov word [rbp + 0x168], r13w
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14011670d
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x1401166c3
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1401166a6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1401166a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401166f0
mov rcx, r8
call fcn.14007e2a0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x140116670
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401166f7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401166f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14007e2a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x140116752
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011674c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011674c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x140116797
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140116791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140116791
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x68]
call fcn.140039f80
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x1c0]
cmp rax, 0x10
jb 0x140116823
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011681e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011681e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov r15d, dword [rsp + 0x40]
mov ebx, dword [rsp + 0x30]
test ebx, ebx
je 0x140116870
call fcn.140046ba0
mov r8, rax
lea rdx, str.quit
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp_l]
test eax, eax
je 0x140116868
call fcn.140046ba0
mov r8, rax
lea rdx, str.stop
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp_l]
test eax, eax
jne 0x140116870
mov dword [r14 + 0x48], 1
lea rdx, [0x140179360]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14011688d
mov dword [r14 + 0x4c], 1
lea rdx, str.openevttab:
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1401168bd
mov dword [r14 + 0x50], 1
lea r8, [r14 + 0x54]
lea rdx, str.openevttab:_lu
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.sett
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1401168ed
mov dword [r14 + 0x58], 1
lea r8, [r14 + 0x5c]
lea rdx, str.sett_lu
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.subplg
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116915
lea r8, [r14 + 0x60]
lea rdx, str.subplg_lu
mov rcx, rsi
call fcn.14000b4e0
lea rdx, [0x140179408]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14011693d
lea r8, [r14 + 0x64]
lea rdx, str.task_lu
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.tparam
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116965
lea r8, [r14 + 0x68]
lea rdx, str.tparam_I32u
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.executetaskonly
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14011697f
mov byte [r14 + 0x6e], 1
lea rdx, str.showupsell
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1401169af
mov byte [r14 + 0x8c], 1
lea r8, [r14 + 0x6c]
lea rdx, str.showupsell:_hu
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.selectevent:
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1401169df
mov byte [r14 + 0x6f], 1
lea r8, [r14 + 0x90]
lea rdx, str.selectevent:_I64u
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.eventaction:
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116a0f
mov byte [r14 + 0x70], 1
lea r8, [r14 + 0x98]
lea rdx, str.eventaction:_I32u
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.menuopt:
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116a42
mov byte [r14 + 0x9c], 1
lea r8, [r14 + 0xa0]
lea rdx, str.menuopt:_I32u
mov rcx, rsi
call fcn.14000b4e0
lea rdx, str.runbycfg
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116a5c
mov byte [r14 + 0x71], 1
lea rdx, [0x140179438]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116ae6
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x78], r13d
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x44]
lea rdx, str.oaaction:_u:_d
mov rcx, rsi
call fcn.14000b4e0
cmp eax, 2
je 0x140116aa0
mov byte [rsp + 0x70], 0
jmp 0x140116acc
mov ecx, dword [rsp + 0x44]
mov eax, ecx
test ecx, ecx
je 0x140116abb
sub eax, 1
je 0x140116abb
cmp eax, 1
je 0x140116abb
mov byte [rsp + 0x70], 0
jmp 0x140116acc
mov dword [rsp + 0x68], ecx
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x70], 1
movsd xmm0, qword [rsp + 0x68]
movsd qword [r14 + 0x80], xmm0
mov eax, dword [rsp + 0x70]
mov dword [r14 + 0x88], eax
lea rdx, [0x140163318]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116b4a
mov dword [rbp - 0x80], r13d
mov dword [rsp + 0x38], r13d
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x80]
lea rdx, str.systemshutdown:_u:_u
mov rcx, rsi
call fcn.14000b4e0
cmp eax, 2
je 0x140116b27
mov byte [rbp - 0x70], 0
jmp 0x140116b38
mov eax, dword [rbp - 0x80]
mov dword [rbp - 0x78], eax
mov eax, dword [rsp + 0x38]
mov dword [rbp - 0x74], eax
mov byte [rbp - 0x70], 1
movsd xmm0, qword [rbp - 0x78]
movsd qword [r14 + 0x74], xmm0
mov eax, dword [rbp - 0x70]
mov dword [r14 + 0x7c], eax
lea rdx, str.source:
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116c7d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x238], xmm0
mov qword [rbp + 0x248], rax
mov dword [rbp + 0x250], eax
mov word [rbp + 0x254], ax
lea r9d, [rax + 0x1e]
lea r8, [rbp + 0x238]
lea rdx, str.source:_S
mov rcx, rsi
call fcn.14000b4e0
mov qword [rbp + 0x1c8], r13
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], 0xf
lea rax, [rbp + 0x238]
nop dword [rax]
inc r12
cmp byte [rax + r12], 0
jne 0x140116bc0
mov r8, r12
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x1c8]
call fcn.140007230
lea r8, [rbp + 0x1c8]
lea rdx, [rbp + 0x150]
lea rcx, [r14 + 0xa8]
call fcn.140014280
mov rbx, qword [rbp + 0x160]
cmp byte [rbx + 0x19], 0
jne 0x140116c1b
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0x1c8]
call fcn.140018050
test al, al
je 0x140116c22
mov rbx, qword [r14 + 0xa8]
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 0x10
jb 0x140116c66
inc rdx
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140116c61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140116c61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
cmp rbx, qword [r14 + 0xa8]
je 0x140116c79
mov eax, dword [rbx + 0x40]
mov dword [r14 + 0xa4], eax
mov ebx, dword [rsp + 0x30]
lea rdx, str.no_bdappsrv
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140116c9a
mov byte [r14 + 0x8d], 1
mov r9d, r15d
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCImageEditorDialog::OnToolLine]
mov rcx, qword [rbp + 0x10260]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x10378
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret