Function at 0x1000295b8
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x400
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x10009f140]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
mov byte [rsp + 0x50], r9b
mov r12b, r8b
mov bpl, dl
mov rbx, rcx
mov rax, qword [rcx + 0x18]
xor esi, esi
cmp rax, rsi
je 0x100029617
mov ecx, dword [rax + 0x10]
mov dword [rsp + 0x58], ecx
jmp 0x100029621
mov ecx, dword [rcx + 0x118]
mov dword [rsp + 0x58], ecx
cmp rax, rsi
je 0x10002962f
mov ecx, dword [rax + 0xc]
mov dword [rsp + 0x5c], ecx
jmp 0x100029639
mov ecx, dword [rbx + 0x11c]
mov dword [rsp + 0x5c], ecx
cmp rax, rsi
je 0x100029647
mov ecx, dword [rax + 8]
mov dword [rsp + 0x68], ecx
jmp 0x100029651
mov ecx, dword [rbx + 0x120]
mov dword [rsp + 0x68], ecx
cmp rax, rsi
je 0x10002965f
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x54], eax
jmp 0x100029669
mov eax, dword [rbx + 0x114]
mov dword [rsp + 0x54], eax
mov r14b, sil
cmp r12b, sil
jne 0x1000298ab
lea rcx, [rsp + 0xf0]
call fcn.100028104
nop
mov r15d, 0x1c
mov r8d, r15d
mov rdx, qword [0x1000ab390]
lea rcx, [rsp + 0xf0]
call fcn.10002ec6c
cmp al, sil
je 0x10002986b
xor r9d, r9d
mov r8d, r15d
mov rdx, qword [0x1000ab390]
lea rcx, [rsp + 0xf0]
call fcn.10002e968
cmp al, sil
jne 0x1000296e4
mov r8d, r15d
mov rdx, qword [0x1000ab390]
lea rcx, [rsp + 0xf0]
call fcn.10002ec24
jmp 0x10002986b
lea rdx, [0x100002838]
mov rcx, qword [rsp + 0x110]
call fcn.10005f270
cmp rax, rsi
jne 0x100029719
mov r8d, r15d
mov rdx, qword [0x1000ab390]
lea rcx, [rsp + 0xf0]
call fcn.10002ec24
jmp 0x10002986b
mov rcx, rax
call fcn.10005fa38
mov rsi, rax
mov edx, 3
lea rcx, [rsp + 0x88]
call fcn.10005e140
mov rdi, rax
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.10005db10
xor r13d, r13d
cmp qword [rax + 0x10], r13
je 0x10002975c
mov rdx, rdi
mov rcx, rax
call fcn.10005df38
jmp 0x10002975f
mov al, r13b
cmp al, r13b
sete dil
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
cmp dil, r13b
je 0x1000297a2
mov r8d, r15d
mov rdx, qword [0x1000ab390]
lea rcx, [rsp + 0xf0]
call fcn.10002ec24
jmp 0x100029861
mov rax, qword [rbx]
mov r8, qword [rsp + 0x110]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call qword [rax + 8]
cmp al, r13b
jne 0x100029846
lea rdx, [0x100002858]
lea rcx, [rsp + 0x140]
call fcn.10005db10
mov edi, 1
mov dl, dil
mov rcx, rax
call fcn.1000388f8
mov r8d, r15d
mov rdx, qword [0x1000ab390]
lea rcx, [rsp + 0xf0]
call fcn.10002ec24
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 0xfffe
mov r8d, edi
lea edx, [rdi + 0x6c]
lea ecx, [rdi + 0x65]
call fcn.100062dc8
mov rcx, qword [0x1000aaa38]
cmp rcx, r13
je 0x10002983c
mov edx, edi
call fcn.10002ac28
mov qword [0x1000aaa38], r13
mov ecx, edi
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x100029861
cmp byte [rbx + 0x10d], r13b
je 0x100029861
cmp bpl, r13b
je 0x100029861
xor edx, edx
mov rcx, rbx
call fcn.10002b9c4
mov r14b, 1
mov rcx, rsi
call sub.msvcrt.dll_free
xor esi, esi
mov rdi, qword [rsp + 0x110]
cmp rdi, rsi
je 0x100029890
mov rcx, rdi
call fcn.10005e260
mov rcx, rdi
call sub.msvcrt.dll_free
mov qword [rsp + 0x110], rsi
lea rcx, [rsp + 0x118]
call fcn.10002ecec
nop
mov rcx, qword [rsp + 0x108]
call sub.msvcrt.dll_free
mov r15b, sil
mov r13b, sil
lea rcx, [rsp + 0xa0]
call fcn.100028104
nop
mov word [rsp + 0x1e0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1e2]
call sub.msvcrt.dll_memset
mov ebp, esi
mov edi, 0x104
mov rdx, rdi
lea rcx, [rsp + 0x1e0]
call fcn.100061038
cmp al, sil
jne 0x100029916
mov r8, qword [0x1000ab3a8]
mov rdx, rdi
lea rcx, [rsp + 0x1e0]
call sub.msvcrt.dll_wcscpy_s
mov ebp, 0x28
jmp 0x100029967
mov edx, 0x5c
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, rsi
jne 0x100029967
mov edx, 0x2f
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, rsi
jne 0x100029967
mov dx, 0x3a
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.msvcrt.dll_wcschr]
mov ecx, esi
mov ebp, 0x28
cmp rax, rsi
cmove ecx, ebp
mov ebp, ecx
cmp r12b, sil
je 0x100029da7
mov r8d, ebp
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xa0]
call fcn.10002ec6c
cmp al, sil
je 0x100029da7
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [rsp + 0x60], esi
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8d, 1
cmp dword [rsp + 0x60], r8d
jle 0x1000299f0
lea rdx, [rax + 8]
lea rdi, [0x100002890]
mov rsi, qword [rdx]
mov ecx, 9
repe cmpsw word [rsi], word [rdi]
je 0x1000299e0
inc r8d
add rdx, 8
cmp r8d, dword [rsp + 0x60]
jl 0x1000299ba
xor esi, esi
jmp 0x1000299f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
jmp 0x100029da7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
mov r8d, ebp
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xa0]
call fcn.10002e968
cmp al, sil
jne 0x100029a36
mov r8d, ebp
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xa0]
call fcn.10002ec24
jmp 0x100029d7f
lea rdx, [0x100002838]
mov rcx, qword [rsp + 0xc0]
call fcn.10005f270
mov rsi, rax
test rax, rax
jne 0x100029a80
mov r8d, ebp
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xa0]
call fcn.10002ec24
lea rdx, [0x1000028b0]
mov ecx, 0x40000
call fcn.100061728
jmp 0x100029d7f
mov rcx, rax
call fcn.10005fa38
mov r12, rax
mov edx, 3
lea rcx, [rsp + 0x88]
call fcn.10005e140
mov rdi, rax
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.10005db10
cmp qword [rax + 0x10], 0
je 0x100029ac1
mov rdx, rdi
mov rcx, rax
call fcn.10005df38
jmp 0x100029ac3
xor al, al
test al, al
sete dil
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
test dil, dil
je 0x100029c10
mov r8d, ebp
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xa0]
call fcn.10002ec24
mov r13b, 1
lea rdx, [0x100002910]
lea rcx, [rsp + 0x70]
call fcn.10005db10
nop
lea rdx, [0x100002938]
lea rcx, [rsp + 0x88]
call fcn.10005db10
nop
mov edx, 3
lea rcx, [rsp + 0x140]
call fcn.10005e140
mov rdi, rax
mov rcx, rsi
call fcn.10005fa38
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.10005db10
nop
mov r8, rax
lea rdx, [0x100002950]
lea rcx, [rsp + 0x1a8]
call fcn.10002bd94
lea r8, [rsp + 0x88]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.100027eec
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.100027eec
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.100027eec
nop
mov rdx, qword [rax + 0x10]
mov ecx, 0x40000
call fcn.100061728
nop
mov rcx, qword [rsp + 0x1a0]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x170]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x150]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
xor esi, esi
jmp 0x100029d68
xor esi, esi
cmp byte [rbx + 0x10e], sil
jne 0x100029c2e
xor edx, edx
xor ecx, ecx
call fcn.100061038
cmp al, sil
jne 0x100029c2e
mov dil, sil
jmp 0x100029c31
mov dil, 1
cmp byte [rbx + 0x10e], sil
jne 0x100029c62
xor edx, edx
xor ecx, ecx
call fcn.100061038
cmp al, sil
jne 0x100029c62
mov byte [0x1000aaaa3], sil
mov rcx, qword [0x1000aac60]
call fcn.100035608
mov dil, byte [0x1000aaaa3]
cmp dil, sil
je 0x100029d68
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 8], esi
mov dword [rcx + 0xc], esi
mov dword [rcx + 0x10], esi
mov dword [rcx + 0x24], esi
mov dword [rcx + 0x20], esi
mov dword [rcx + 0x14], esi
mov dword [rcx + 0x18], esi
mov dword [rcx + 0x1c], esi
mov dword [rcx + 0x28], esi
mov dword [rcx + 0x2c], esi
mov dword [rcx + 0x30], esi
call fcn.1000274c0
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0xa0]
call qword [rax + 8]
cmp al, sil
je 0x100029cf3
mov rcx, qword [rbx + 0x18]
call fcn.100027d44
cmp al, sil
je 0x100029cf3
mov rcx, qword [rbx + 0x18]
call fcn.100027ce8
cmp eax, esi
jle 0x100029ceb
cmp byte [rbx + 0x126], 1
je 0x100029ceb
mov byte [rbx + 0x126], 1
lea rcx, [fcn.10002b734]
call fcn.100042660
mov r14b, 1
mov r15b, r14b
jmp 0x100029d68
lea rdx, [0x100002858]
lea rcx, [rsp + 0x178]
call fcn.10005db10
mov dl, 1
mov rcx, rax
call fcn.1000388f8
mov r8d, ebp
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xa0]
call fcn.10002ec24
mov rdi, qword [rbx + 0x18]
cmp rdi, rsi
je 0x100029d65
mov qword [rsp + 0x60], rdi
lea rax, [0x100002518]
mov qword [rdi], rax
mov rcx, rdi
call fcn.1000274c0
nop
mov rcx, qword [rdi + 0x48]
cmp rcx, rsi
je 0x100029d59
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
call sub.msvcrt.dll_free
mov qword [rbx + 0x18], rsi
mov r13b, 1
mov rcx, r12
call sub.msvcrt.dll_free
cmp r15b, sil
jne 0x100029eb7
cmp r13b, 1
jne 0x100029da7
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov edx, 0x1785
lea ecx, [rdx - 1]
mov r9d, 0xffff
mov r8d, 1
call fcn.100062dc8
mov dil, byte [rsp + 0x50]
cmp dil, sil
je 0x100029db6
call fcn.10003570c
mov esi, dword [rbx + 0x114]
cmp esi, 4
jne 0x100029dd7
mov r13d, dword [rbx + 0x118]
mov r12d, dword [rbx + 0x11c]
mov ebp, dword [rbx + 0x120]
jmp 0x100029df4
mov ecx, esi
call fcn.10002da54
mov r13d, eax
mov ecx, esi
call fcn.10002daa0
mov r12d, eax
mov ecx, esi
call fcn.10002dae8
mov ebp, eax
test dil, dil
jne 0x100029e1e
cmp esi, dword [rsp + 0x54]
jne 0x100029e1e
cmp r13d, dword [rsp + 0x58]
jne 0x100029e1e
cmp r12d, dword [rsp + 0x5c]
jne 0x100029e1e
cmp ebp, dword [rsp + 0x68]
jne 0x100029e1e
cmp qword [rbx + 0x18], 0
jne 0x100029ead
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x100029e5b
mov qword [rsp + 0x68], rdi
lea rax, [0x100002518]
mov qword [rdi], rax
mov rcx, rdi
call fcn.1000274c0
nop
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x100029e4e
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
call sub.msvcrt.dll_free
and qword [rbx + 0x18], 0
mov ecx, 0x60
call fcn.10008f098
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x100029ea4
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_time]
mov byte [rsp + 0x40], 0
or ecx, 0xffffffff
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
mov r9d, r12d
mov r8d, r13d
mov edx, esi
mov rcx, rdi
call fcn.100026cb8
jmp 0x100029ea6
xor eax, eax
mov qword [rbx + 0x18], rax
mov r14b, 1
mov rcx, rbx
call fcn.10002a100
xor esi, esi
cmp r14b, sil
je 0x100029ec5
mov rcx, rbx
call fcn.10002b438
nop
mov rdi, qword [rsp + 0xc0]
cmp rdi, rsi
je 0x100029eea
mov rcx, rdi
call fcn.10005e260
mov rcx, rdi
call sub.msvcrt.dll_free
mov qword [rsp + 0xc0], rsi
lea rcx, [rsp + 0xc8]
call fcn.10002ecec
nop
mov rcx, qword [rsp + 0xb8]
call sub.msvcrt.dll_free
mov al, r15b
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.10008f560
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret