Function at 0x14000656c
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push rbp
sub rsp, 0x270
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x250], rbx
mov qword [rbp + 0x258], rsi
mov qword [rbp + 0x260], rdi
mov rax, qword [0x140070070]
xor rax, rbp
mov qword [rbp + 0x230], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [0x14005fa94]
call fcn.1400328d0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x1400067b7
xor edi, edi
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r9, rbx
lea rdx, str.bugreport_cmdline:_s__BUGREPORT_VERSION
mov r8, rax
lea rcx, [0x14005f4c0]
call fcn.140025b7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.140032978
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x208
call fcn.14002dc80
mov r8d, 0x104
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x20]
call fcn.14002de38
test rax, rax
je 0x14000662d
mov word [rax], di
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x140006869
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [rbp + 0x20]
mov qword [rbp], rax
call fcn.140032038
mov r8d, eax
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.1400060fc
lea rcx, [0x140061004]
call fcn.140032038
mov r8d, eax
lea rdx, [0x140061004]
lea rcx, [rbp]
call fcn.14000e0f8
mov rbx, qword [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400066ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp + 8]
mov dword [rbp + 8], 8
mov dword [rbp + 0xc], 0xff
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
xor r8d, r8d
lea rdx, [0x140071db0]
lea rcx, [0x140073328]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x1400066f9
lea rdx, str.GdiPlus_init_failed
lea rcx, [0x14005f4c0]
call fcn.140025b7c
mov eax, dword [0x1400733e8]
test al, 1
jne 0x14000671d
or eax, 1
mov dword [0x1400733e8], eax
call fcn.1400068ec
lea rcx, [0x140053410]
call fcn.14002bb88
lea rcx, [0x140073350]
call fcn.140006ca0
test eax, eax
je 0x140006822
mov rdx, qword [0x140073358]
lea rcx, [rbp + 0x10]
mov rdx, qword [rdx + 0x840]
call fcn.14000d338
mov rcx, qword [rbp + 0x10]
call fcn.140022544
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000676f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x140073358]
mov rcx, qword [rcx + 0x840]
call fcn.140020438
mov rdx, qword [0x140073358]
lea rcx, [0x140073350]
mov eax, dword [rdx + 4]
and eax, 4
mov dword [0x14007333c], eax
mov eax, dword [rdx + 0x3c]
mov dword [0x140071e00], eax
call fcn.14000a6f8
call fcn.140012c00
test eax, eax
sete dil
jmp 0x140006827
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400067d4
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140050850
sub rsp, rcx
xor edi, edi
lea rsi, [rsp + 0x30]
test rsi, rsi
je 0x1400065c5
mov dword [rsp + 0x28], edx
lea r8, [0x14005fa94]
xor edx, edx
mov word [rsi], di
or r9d, 0xffffffff
mov qword [rsp + 0x20], rsi
lea ecx, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb rbx, rbx
and rbx, rsi
jmp 0x1400065c8
mov edi, 2
mov rcx, qword [0x140073328]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rbp
call fcn.14002b930
mov rbx, qword [rbp + 0x250]
mov rsi, qword [rbp + 0x258]
mov rdi, qword [rbp + 0x260]
lea rsp, [rbp + 0x240]
pop rbp
ret
mov ecx, 0x80004005
call fcn.140006280
int3