Function at 0x140109450
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm7
movaps xmmword [rsp + 0x140], xmm6
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov r12, qword [0x1402438f8]
test r12, r12
jne 0x140109d36
mov ecx, 0x50
call fcn.14012aa30
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14012aa30
mov qword [rbx + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rbx + 0x28], rcx
test rax, rax
je 0x140109ee3
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rbx + 0x20], rcx
mov rsi, rbx
add rsi, 0x38
movups xmmword [rbx + 0x38], xmm6
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x48], 1
mov qword [0x1402438f8], rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
je 0x140109f7d
mov rdi, rax
mov rcx, rax
call fcn.14012b154
lea rdx, [rsp + 0x100]
mov qword [rdx], rdi
mov qword [rdx + 8], rax
lea rax, [0x14020fba0]
lea r8, [rsp + 0x120]
mov qword [r8], rax
mov qword [r8 + 8], 0x19
lea rdi, [rsp + 0xe0]
mov rcx, rdi
mov r9d, 3
call fcn.140104920
mov rax, qword [rdi + 8]
test rax, rax
je 0x140109d36
mov rdi, qword [rsp + 0xe0]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
mov dword [rsp + 0x74], 0
lea rcx, [0x140210044]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
mov qword [rsp + 0x30], rax
je 0x140109f9a
lea rdx, [0x140210094]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140109f68
lea rdx, [rsp + 0x74]
mov rcx, rdi
call qword [0x1402233e0]
mov r14, rax
movsxd r15, dword [rsp + 0x74]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
test r15, r15
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], r12
je 0x140109f90
test r15d, r15d
js 0x140109f70
shl r15, 3
lea rdi, [r15 + r15*2]
mov rcx, rdi
call fcn.14012aa30
mov r12, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
add rax, rdi
mov qword [rsp + 0x60], rax
xor r13d, r13d
mov rdi, r12
test rdi, rdi
je 0x140109ee3
mov rdx, qword [r14 + r13]
mov rcx, rdi
call fcn.140010460
add rdi, 0x18
add r13, 8
cmp r15, r13
jne 0x14010961f
mov qword [rsp + 0x58], rdi
mov ecx, 0x18
call fcn.14012aa30
test rax, rax
je 0x140109ee3
mov r13, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov rbx, qword [rsp + 0x20]
mov r15, qword [rbx + 0x18]
test r15, r15
je 0x1401096c2
mov rbp, qword [rbx + 0x20]
mov rcx, r15
cmp rbp, r15
je 0x1401096b9
add rbp, 0xffffffffffffffe8
jmp 0x14010969f
mov rcx, qword [rbp]
call fcn.14012aa6c
lea rax, [rbp - 0x18]
cmp rbp, r15
mov rbp, rax
je 0x1401096b0
test rbp, rbp
je 0x140109ef6
cmp byte [rbp + 0x17], 0
js 0x14010968a
jmp 0x140109693
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x20], r15
call fcn.14012aa6c
mov rax, r13
add rax, 0x18
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rcx, qword [rbx + 0x38]
call fcn.1400097f0
mov qword [rbx + 0x30], rsi
movups xmmword [rbx + 0x38], xmm6
mov qword [rbx + 0x48], 1
cmp r12, rdi
mov rsi, rbx
je 0x140109fad
movsx rax, byte [r12 + 0x17]
test rax, rax
lea rbx, [rsp + 0xe0]
jns 0x140109fc7
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
test rax, rax
js 0x140109e9f
test rcx, rcx
jne 0x14010973e
test rax, rax
jne 0x140109eb2
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x78]
call fcn.1400ea350
lea r15, [rsp + 0x120]
mov rcx, rsi
mov rdx, r15
call fcn.140025f20
cmp byte [r15 + 0x17], 0
jns 0x140109777
mov rcx, qword [rsp + 0x120]
call fcn.14012aa6c
cmp r12, rdi
je 0x140109ccb
mov qword [rsp + 0x28], r14
sub rdi, r12
cmp rdi, 0x18
jl 0x140109f7a
sar rdi, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, rdi
dec rax
lea rbp, [rsp + 0x100]
je 0x140109cc6
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x40], rcx
lea rax, [rax + rax*2]
lea rax, [r12 + rax*8]
add rax, 0x18
mov qword [rsp + 0x48], rax
add r12, 0x18
mov dil, 1
movaps xmm6, xmmword [0x1401fd000]
xorps xmm7, xmm7
jmp 0x140109b7d
test rdx, rdx
jne 0x1401099d6
jmp 0x1401099d3
lea rax, [r14 + 5]
and rax, rdi
add rax, 4
mov rsi, rdi
or rsi, 3
cmp rsi, 0xb
cmove rsi, rax
inc rsi
js 0x140109ec5
lea rcx, [rsi + rsi]
call fcn.14012aa30
mov rcx, rax
mov qword [rsp + 0x100], rax
lea rax, [r14 + rsi]
add rax, 9
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x108], rdi
lea rsi, [rcx + rdi*2]
cmp rcx, r15
ja 0x140109854
cmp rsi, r15
ja 0x140109f55
test rdi, rdi
je 0x140109867
add rdi, rdi
mov rdx, r15
mov r8, rdi
call fcn.140163ed0
mov word [rsi], 0
cmp byte [rsp + 0x137], 0
jns 0x140109883
mov rcx, qword [rsp + 0x120]
call fcn.14012aa6c
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x120], xmm0
xor eax, eax
mov qword [rsp + 0x110], rax
movaps xmmword [rsp + 0x100], xmm7
mov qword [rsp + 0xf0], rax
movaps xmmword [rsp + 0xe0], xmm7
movsx rcx, byte [rsp + 0x137]
test rcx, rcx
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x128]
mov r9, rcx
cmovs r9, rdx
mov r8, rbp
cmovs r8, rax
test r9, r9
js 0x140109e9f
mov r15, rbp
mov rsi, r12
mov rbp, rbx
mov r12d, dword [rsp + 0x20]
je 0x140109911
test r8, r8
je 0x140109eb2
cmp r9, 2
lea rbx, [rsp + 0xe0]
je 0x140109f09
test r12b, 1
je 0x140109f29
mov rcx, r15
mov rdx, rbp
mov r8, rbx
call fcn.14010a420
test al, al
mov r12, r13
je 0x140109d72
cmp qword [rsp + 0x40], 0
je 0x140109a13
movsx r14, byte [rsp + 0x117]
test r14, r14
cmovs r14, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x100]
cmovns rdi, rbp
test r14, r14
js 0x140109e9f
je 0x140109987
test rdi, rdi
je 0x140109eb2
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], r14
lea rcx, [rsp + 0xa8]
call fcn.14010a720
test rax, rax
je 0x140109a13
cmp r14, rax
je 0x140109a13
lea rcx, [rdi + r14*2]
mov rdx, rcx
test r14, r14
je 0x1401099d6
mov rdx, rdi
mov r8, r14
cmp word [rdx], 0x3d
je 0x1401097e5
add rdx, 2
dec r8
jne 0x1401099c0
mov rdx, rcx
sub r14, rax
jb 0x140109ed7
mov r8, rdx
sub r8, rdi
sar r8, 1
cmp rdx, rcx
mov rcx, 0xffffffffffffffff
cmove r8, rcx
sub r8, rax
cmp r14, r8
cmovb r8, r14
test r8, r8
js 0x140109e9f
cmp r8, 0xf
je 0x140109c7a
movsx rcx, byte [rsp + 0xf7]
test rcx, rcx
cmovs rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xe0]
cmovns rax, rbx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rcx
test rcx, rcx
js 0x140109e9f
je 0x140109a58
test rax, rax
je 0x140109eb2
movsx rcx, byte [rsp + 0x117]
test rcx, rcx
cmovs rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x100]
cmovns rax, rbp
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
test rcx, rcx
js 0x140109e9f
je 0x140109a9d
test rax, rax
je 0x140109eb2
lea rdi, [rsp + 0xa8]
mov rcx, rdi
lea rdx, [rsp + 0x98]
call fcn.140107f70
movsx rcx, byte [rsp + 0xbf]
test rcx, rcx
jns 0x140109ad3
mov rcx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rcx
test rcx, rcx
js 0x140109e9f
je 0x140109af7
test rdi, rdi
je 0x140109eb2
mov rcx, rsi
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0xd0]
call fcn.1400253a0
cmp byte [rsp + 0xbf], 0
jns 0x140109b26
mov rcx, qword [rsp + 0xa8]
call fcn.14012aa6c
mov dil, 1
cmp byte [rsp + 0xf7], 0
jns 0x140109b40
mov rcx, qword [rsp + 0xe0]
call fcn.14012aa6c
cmp byte [rsp + 0x117], 0
jns 0x140109b57
mov rcx, qword [rsp + 0x100]
call fcn.14012aa6c
cmp byte [rsp + 0x137], 0
jns 0x140109b6e
mov rcx, qword [rsp + 0x120]
call fcn.14012aa6c
add r12, 0x18
cmp r12, qword [rsp + 0x48]
je 0x140109cc6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x130], rax
movaps xmmword [rsp + 0x120], xmm6
cmp byte [r12 + 0x17], 0
jns 0x140109f36
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, r15
call fcn.140107a70
movsx rax, byte [rsp + 0x137]
test rax, rax
cmovs rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
cmovns rcx, r15
test rax, rax
js 0x140109e9f
mov r13, r12
mov r8, rbp
mov dword [rsp + 0x20], edi
je 0x140109bf3
test rcx, rcx
je 0x140109eb2
mov rbp, r15
lea rdx, [0x14020fba0]
mov qword [rsp + 0x100], rdx
mov qword [rsp + 0x108], 0x19
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xa8]
mov rdx, rbx
mov rbx, r8
mov r9d, 3
call fcn.140104920
mov rdi, qword [rsp + 0xb0]
movabs r14, 0x7ffffffffffffff7
cmp rdi, r14
ja 0x140109eca
mov r12, rsi
mov r15, qword [rsp + 0xa8]
cmp rdi, 0xa
ja 0x1401097f3
mov byte [rsp + 0x117], dil
mov rcx, rbx
jmp 0x140109842
cmp word [rdi + rax*2], 0x73
jne 0x140109a13
cmp word [rdi + rax*2 + 2], 0x69
jne 0x140109a13
cmp word [rdi + rax*2 + 4], 0x6e
jne 0x140109a13
cmp word [rdi + rax*2 + 6], 0x67
jne 0x140109a13
cmp word [rdi + rax*2 + 8], 0x6c
jne 0x140109a13
cmp word [rdi + rax*2 + 0xa], 0x65
je 0x140109dd5
jmp 0x140109a13
mov r14, qword [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140109cea
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
mov r12, qword [rsp + 0x38]
je 0x140109d36
mov rdi, qword [rsp + 0x58]
cmp rdi, rsi
je 0x140109d2e
add rdi, 0xffffffffffffffe8
jmp 0x140109d1d
mov rcx, qword [rdi]
call fcn.14012aa6c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140109d2e
test rdi, rdi
je 0x140109ef6
cmp byte [rdi + 0x17], 0
js 0x140109d09
jmp 0x140109d11
mov rcx, rsi
call fcn.14012aa6c
test r12, r12
sete bl
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8b, byte [rsp + 0x137]
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x128]
movzx ecx, r8b
mov dil, 1
test r8b, r8b
cmovs rcx, rdx
cmovns rax, r15
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rcx
test rcx, rcx
js 0x140109e9f
je 0x140109dc0
test rax, rax
je 0x140109eb2
mov rcx, rsi
lea rdx, [rsp + 0x88]
call fcn.140026690
jmp 0x140109b29
cmp word [rdi + rax*2 + 0xc], 0x2d
jne 0x140109a13
cmp word [rdi + rax*2 + 0xe], 0x61
jne 0x140109a13
cmp word [rdi + rax*2 + 0x10], 0x72
jne 0x140109a13
cmp word [rdi + rax*2 + 0x12], 0x67
jne 0x140109a13
cmp word [rdi + rax*2 + 0x14], 0x75
jne 0x140109a13
cmp word [rdi + rax*2 + 0x16], 0x6d
jne 0x140109a13
cmp word [rdi + rax*2 + 0x18], 0x65
jne 0x140109a13
cmp word [rdi + rax*2 + 0x1a], 0x6e
jne 0x140109a13
cmp word [rdi + rax*2 + 0x1c], 0x74
jne 0x140109a13
lea rdx, [rsp + 0x100]
mov rcx, rsi
call fcn.140188b00
cmp byte [rsp + 0xf7], 0
jns 0x140109e68
mov rcx, qword [rsp + 0xe0]
call fcn.14012aa6c
cmp byte [rsp + 0x117], 0
jns 0x140109e7f
mov rcx, qword [rsp + 0x100]
call fcn.14012aa6c
cmp byte [rsp + 0x137], 0
jns 0x140109cc6
mov rcx, qword [rsp + 0x120]
call fcn.14012aa6c
jmp 0x140109cc6
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140164a90
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140164a90
call fcn.140168b40
lea rcx, [rsp + 0x100]
call fcn.140168b00
lea rcx, str.string_view::substr
call fcn.140168dc0
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140164a90
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140164a90
cmp word [r8], 0x2d
jne 0x140109923
test cl, cl
mov r8, r15
cmovs r8, rax
cmp word [r8 + 2], 0x2d
jne 0x140109923
xor edi, edi
mov r8d, ecx
mov r12, r13
jmp 0x140109d91
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x120], xmm0
jmp 0x140109bb4
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:223:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.140164a90
xor r14d, r14d
jmp 0x1401095c2
lea rcx, [rsp + 0x50]
call fcn.140169770
int3
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140164a90
xor edi, edi
xor r12d, r12d
jmp 0x140109646
lea rdx, [rsp + 0x74]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1401095bf
lea rcx, [rsp + 0x120]
call fcn.140129230
lea rbx, [rsp + 0xe0]
jmp 0x140109750
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], rax
mov rcx, r12
jmp 0x140109730