Function at 0x14001b5f0
Capabilities:
Accept command line arguments
Get file version info

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x90], rsi
lea rcx, [rsp + 0x68]
call fcn.14001b2f0
nop
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [0x14012cba0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2da
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
lea rax, str.CmdLine:__s
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2dc
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
lea rcx, [rsp + 0x70]
call fcn.14001b420
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, str.Version:__s
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2e0
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001b6d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
movsxd rsi, eax
test eax, eax
jg 0x14001b726
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.GetFileVersionInfoSize_failed_with_error_code__d.
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2e6
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
jmp 0x14001b92d
mov qword [rsp + 0x60], 0
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14001e390
mov r9, qword [rsp + 0x60]
mov r8d, esi
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x14001b76e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.GetFileVersionInfo_failed_with_error_code__d.
mov r8d, 0x2ee
jmp 0x14001b7a5
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x58]
lea rdx, [0x14012cb44]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x14001b7c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.VerQueryValue_failed_with_error_code__d.
mov r8d, 0x2f6
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
jmp 0x14001b922
mov r8, qword [rsp + 0x58]
movzx eax, word [r8 + 0xc]
movzx ecx, word [r8 + 0xe]
movzx edx, word [r8 + 8]
movzx r8d, word [r8 + 0xa]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
lea rax, str.FileVersion:__d._d._d._d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2fa
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
mov r11, qword [rsp + 0x58]
movzx eax, word [r11 + 0x14]
movzx ecx, word [r11 + 0x16]
movzx edx, word [r11 + 0x10]
movzx r8d, word [r11 + 0x12]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
lea rax, str.ProductVersion:__d._d._d._d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2fb
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
mov r11, qword [rsp + 0x58]
mov ecx, dword [r11 + 0x1c]
and ecx, dword [r11 + 0x18]
mov eax, dword [r11 + 0x28]
mov dword [rsp + 0x40], eax
mov eax, dword [r11 + 0x24]
mov dword [rsp + 0x38], eax
mov eax, dword [r11 + 0x20]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rax, str.Flags:_0x_08x__OS:_0x_08x__Type:_0x_08x__Subtype:_0x_08x
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2fc
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
mov r11, qword [rsp + 0x58]
mov eax, dword [r11 + 0x1c]
and eax, dword [r11 + 0x18]
test al, 2
lea rdx, str.__Development_version
lea rcx, [0x14012c8f0]
cmovne rcx, rdx
test al, 1
lea rdx, str.Debug
lea rax, str.Release
cmovne rax, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, str.Flags_description:__s_s
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2fd
lea rdx, str.DfLogger::HostLogger::LogApplicationInfo
lea rcx, [0x1401783b0]
call fcn.14001ba10
nop
mov rcx, qword [rsp + 0x60]
call fcn.14005e57c
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x14001b94a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret