Function at 0x14000e510
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x180
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rsi, rdx
mov edi, ecx
call fcn.1400036f0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0x78
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x24]
lea rdx, str._Application::Main_
lea rcx, [rsp + 0x38]
call fcn.140001d10
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.MSVCR90.dll_srand]
mov r8d, 0x3f
lea rdx, str..OCP
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::constructor_char_const____ptr64__int____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const____ptr64_]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14000575c
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x14000575c
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x60]
lea rdx, [rsp + 0x28]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
lea rdx, str._Application::Main_
lea rcx, [rsp + 0x60]
call fcn.140002150
mov rcx, rax
lea rdx, [0x1401b7a00]
call fcn.1400023c0
mov rcx, rax
mov rdx, rbx
call fcn.140002150
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x158]
cmp qword [rsp + 0x170], 8
cmovae r8, qword [rsp + 0x158]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x168]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov rdx, rsi
mov ecx, edi
call fcn.140032e90
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14000578d
lea rcx, [rsp + 0x38]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [rbx + 1]
jmp 0x1400057da
mov rcx, rax
call fcn.1400049e0
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 0x68]
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov edi, dword [rsp + 0x24]
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
nop
lea rcx, [rsp + 0x38]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140155650
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
jmp 0x1400055b0