Function at 0x140002b96
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x4a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x440], rcx
mov qword [rbp + 0x448], rdx
mov qword [rbp + 0x450], r8
mov dword [rbp + 0x458], r9d
call fcn.140002afa
mov rax, qword [sym.imp.KERNEL32.dll_GetCommandLineW]
call rax
mov rcx, rax
lea rax, [rbp + 0x354]
mov rdx, rax
mov rax, qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call rax
mov qword [rbp + 0x418], rax
mov rax, qword [sym.imp.KERNEL32.dll_AllocConsole]
call rax
mov ecx, 0xfde9
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call rax
mov ecx, 1
mov rax, qword [fcn.14000be00]
call rax
mov rdx, rax
lea rax, [rbp + 0x348]
mov r9, rdx
lea r8, [0x14001124d]
lea rdx, str.CONOUT_
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_freopen_s]
call rax
lea rax, [0x140011257]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
mov eax, dword [rbp + 0x354]
cmp eax, 4
jne 0x140002c99
mov rax, qword [rbp + 0x418]
add rax, 8
mov rax, qword [rax]
lea rdx, [0x140011274]
mov rcx, rax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140002c99
mov eax, 1
jmp 0x140002c9e
mov eax, 0
test al, al
je 0x140002e67
lea rax, [rbp + 0x35b]
mov rcx, rax
call fcn.140003a80
mov rax, qword [rbp + 0x418]
add rax, 0x10
mov rdx, qword [rax]
lea rcx, [rbp + 0x35b]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call fcn.14000ee40
lea rax, [rbp + 0x35b]
mov rcx, rax
call fcn.140003a78
lea rax, [rbp + 0x35c]
mov rcx, rax
call fcn.140003a80
mov rax, qword [rbp + 0x418]
add rax, 0x18
mov rdx, qword [rax]
lea rcx, [rbp + 0x35c]
lea rax, [rbp - 0x40]
mov r8, rcx
mov rcx, rax
call fcn.14000ee40
lea rax, [rbp + 0x35c]
mov rcx, rax
call fcn.140003a78
lea rax, [rbp + 0x35d]
mov rcx, rax
call fcn.140003a98
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140003930
mov rbx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140003920
mov rdx, rax
lea rcx, [rbp + 0x35d]
lea rax, [rbp - 0x20]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call fcn.14000eb80
lea rax, [rbp + 0x35d]
mov rcx, rax
call fcn.140003a90
lea rax, [rbp + 0x35e]
mov rcx, rax
call fcn.140003a98
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.140003930
mov rbx, rax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.140003920
mov rdx, rax
lea rcx, [rbp + 0x35e]
mov rax, rbp
mov r9, rcx
mov r8, rbx
mov rcx, rax
call fcn.14000eb80
lea rax, [rbp + 0x35e]
mov rcx, rax
call fcn.140003a90
lea rax, [0x14001127a]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, rbp
mov rdx, rax
call fcn.140003878
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
mov rdx, rbp
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.140002347
mov rax, qword [rbp + 0x418]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov ebx, 0
mov rax, rbp
mov rcx, rax
call fcn.140003980
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.140003980
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.1400038e0
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400038e0
jmp 0x1400034f0
lea rax, [rbp + 0x320]
mov rcx, rax
call fcn.140003988
lea rax, [rbp + 0x300]
mov rcx, rax
call fcn.140003988
lea rax, [0x1400190c0]
mov rcx, rax
call fcn.140003b20
test al, al
je 0x140002fe6
mov eax, dword [rbp + 0x354]
cmp eax, 2
je 0x140002f1a
lea rax, [0x140011295]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
lea rax, str.:_.exe__i__bin___txt_
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
mov rax, qword [rbp + 0x418]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov ebx, 0
jmp 0x1400034d2
lea rax, [rbp + 0x35f]
mov rcx, rax
call fcn.140003a80
mov rax, qword [rbp + 0x418]
add rax, 8
mov rdx, qword [rax]
lea rcx, [rbp + 0x35f]
mov rax, rbp
mov r8, rcx
mov rcx, rax
call fcn.14000ee40
lea rax, [rbp + 0x35f]
mov rcx, rax
call fcn.140003a78
lea rax, [rbp + 0x38d]
mov rcx, rax
call fcn.140003a98
mov rax, rbp
mov rcx, rax
call fcn.140003930
mov rbx, rax
mov rax, rbp
mov rcx, rax
call fcn.140003920
mov rdx, rax
lea rcx, [rbp + 0x38d]
lea rax, [rbp + 0x360]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call fcn.14000eb80
lea rdx, [rbp + 0x360]
lea rax, [rbp + 0x320]
mov rcx, rax
call fcn.140003978
lea rax, [rbp + 0x360]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0x38d]
mov rcx, rax
call fcn.140003a90
mov rax, rbp
mov rcx, rax
call fcn.1400038e0
jmp 0x140003279
mov eax, dword [rbp + 0x354]
cmp eax, 3
je 0x140003064
lea rax, [0x140011295]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
lea rax, str.:_.exe__txt____
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
mov rax, qword [rbp + 0x418]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov ebx, 0
jmp 0x1400034d1
lea rax, [rbp + 0x38e]
mov rcx, rax
call fcn.140003a80
mov rax, qword [rbp + 0x418]
add rax, 8
mov rdx, qword [rax]
lea rcx, [rbp + 0x38e]
lea rax, [rbp - 0x20]
mov r8, rcx
mov rcx, rax
call fcn.14000ee40
lea rax, [rbp + 0x38e]
mov rcx, rax
call fcn.140003a78
lea rax, [rbp + 0x38f]
mov rcx, rax
call fcn.140003a80
mov rax, qword [rbp + 0x418]
add rax, 0x10
mov rdx, qword [rax]
lea rcx, [rbp + 0x38f]
mov rax, rbp
mov r8, rcx
mov rcx, rax
call fcn.14000ee40
lea rax, [rbp + 0x38f]
mov rcx, rax
call fcn.140003a78
lea rax, [rbp + 0x3bf]
mov rcx, rax
call fcn.140003a98
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.140003930
mov rsi, rax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.140003920
mov rdx, rax
lea rcx, [rbp + 0x3bf]
lea rax, [rbp + 0x390]
mov r9, rcx
mov r8, rsi
mov rcx, rax
call fcn.14000eb80
lea rdx, [rbp + 0x390]
lea rax, [rbp + 0x320]
mov rcx, rax
call fcn.140003978
lea rax, [rbp + 0x390]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0x3bf]
mov rcx, rax
call fcn.140003a90
lea rax, [rbp + 0x3ef]
mov rcx, rax
call fcn.140003a98
mov rax, rbp
mov rcx, rax
call fcn.140003930
mov rsi, rax
mov rax, rbp
mov rcx, rax
call fcn.140003920
mov rdx, rax
lea rcx, [rbp + 0x3ef]
lea rax, [rbp + 0x3c0]
mov r9, rcx
mov r8, rsi
mov rcx, rax
call fcn.14000eb80
lea rdx, [rbp + 0x3c0]
lea rax, [rbp + 0x300]
mov rcx, rax
call fcn.140003978
lea rax, [rbp + 0x3c0]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0x3ef]
mov rcx, rax
call fcn.140003a90
lea rax, [rbp + 0x300]
lea rdx, [0x1400190c0]
mov rcx, rax
call fcn.14000fbf0
test al, al
je 0x140003243
lea rax, str.
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
mov rax, qword [rbp + 0x418]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov ebx, 0
mov esi, 0
jmp 0x140003248
mov esi, 1
mov rax, rbp
mov rcx, rax
call fcn.1400038e0
cmp esi, 1
jne 0x14000325f
mov esi, 1
jmp 0x140003264
mov esi, 0
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400038e0
cmp esi, 1
jne 0x1400034d1
lea rdx, [rbp + 0x320]
lea rax, [rbp + 0x3f0]
mov r8d, 2
mov rcx, rax
call fcn.14000cd50
lea rax, [rbp + 0x3f0]
mov rcx, rax
call fcn.14000cbd0
xor eax, 1
mov ebx, eax
lea rax, [rbp + 0x3f0]
mov rcx, rax
call fcn.14000cde0
test bl, bl
je 0x140003316
lea rax, str.:
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call fcn.140003880
mov rcx, rax
lea rax, [rbp + 0x320]
mov rdx, rax
call fcn.140003878
mov rcx, rax
mov rax, qword [0x140011ba0]
mov rdx, rax
call fcn.140003a68
mov rax, qword [rbp + 0x418]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov ebx, 0
jmp 0x1400034d2
lea rdx, [rbp + 0x320]
lea rax, [rbp + 0x120]
mov r8d, 8
mov rcx, rax
call fcn.140003a08
lea rax, [rbp + 0x100]
mov rcx, rax
call fcn.140003988
lea rax, [rbp + 0xe0]
mov rcx, rax
call fcn.140003988
lea rax, [rbp + 0xc0]
mov rcx, rax
call fcn.140003988
lea rdx, [rbp + 0x100]
lea rax, [rbp + 0x120]
mov rcx, rax
call fcn.140003888
lea rdx, [rbp + 0xe0]
lea rax, [rbp + 0x120]
mov rcx, rax
call fcn.140003888
lea rdx, [rbp + 0xc0]
lea rax, [rbp + 0x120]
mov rcx, rax
call fcn.140003888
lea rax, [rbp + 0x120]
mov rcx, rax
call fcn.140003a10
lea rax, [rbp + 0xa0]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.140001bf7
lea rax, [rbp + 0x80]
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.140001bf7
lea rax, [rbp + 0x60]
lea rdx, [rbp + 0x100]
mov rcx, rax
call fcn.14000197c
lea rax, [rbp + 0x40]
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
lea rdx, [rbp + 0x60]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.14000202c
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0xa0]
lea rdx, [rbp + 0x40]
mov r8, rcx
mov rcx, rax
call fcn.140001da7
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.140002769
mov rax, qword [rbp + 0x418]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov ebx, 0
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.14000e760
lea rax, [rbp + 0x40]
mov rcx, rax
call fcn.14000e760
lea rax, [rbp + 0x60]
mov rcx, rax
call fcn.14000e760
lea rax, [rbp + 0x80]
mov rcx, rax
call fcn.14000e760
lea rax, [rbp + 0xa0]
mov rcx, rax
call fcn.14000e760
lea rax, [rbp + 0xc0]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0xe0]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0x100]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0x120]
mov rcx, rax
call fcn.140003a00
jmp 0x1400034d2
nop
lea rax, [rbp + 0x300]
mov rcx, rax
call fcn.140003980
lea rax, [rbp + 0x320]
mov rcx, rax
call fcn.140003980
mov eax, ebx
jmp 0x140003717
add rsp, 0x4a0
pop rbx
pop rsi
pop rbp
ret