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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x50f880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418870
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x4f3f28
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2da
call fcn.00418eb0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.CmdLine:__s
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2dc
call fcn.00418eb0
lea edx, [ebp - 0x18]
push edx
call fcn.00418980
add esp, 0x14
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
push str.Version:__s
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2e0
call fcn.00418eb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jg 0x418c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileVersionInfoSize_failed_with_error_code__d.
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2e6
call fcn.00418eb0
add esp, 0x10
jmp 0x418dc2
mov dword [ebp - 0x18], 0
push esi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.0041b190
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push edi
push esi
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x418c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileVersionInfo_failed_with_error_code__d.
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2ee
call fcn.00418eb0
add esp, 0x10
jmp 0x418db9
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x4f3ed4
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x418cd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.VerQueryValue_failed_with_error_code__d.
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2f6
call fcn.00418eb0
add esp, 0x10
jmp 0x418db9
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str.FileVersion:__d._d._d._d
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2fa
call fcn.00418eb0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
add esp, 0x1c
push ecx
movzx ecx, word [eax + 0x10]
push edx
movzx edx, word [eax + 0x12]
push ecx
push edx
push str.ProductVersion:__d._d._d._d
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2fb
call fcn.00418eb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
add esp, 0x1c
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
and edx, dword [eax + 0x18]
push ecx
push edx
push str.Flags:_0x_08x__OS:_0x_08x__Type:_0x_08x__Subtype:_0x_08x
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2fc
call fcn.00418eb0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1c]
and eax, dword [ecx + 0x18]
add esp, 0x1c
mov ecx, str.__Development_version
test al, 2
jne 0x418d8b
mov ecx, 0x4f3c8c
test al, 1
mov eax, str.Debug
jne 0x418d99
mov eax, str.Release
push ecx
push eax
push str.Flags_description:__s_s
push str.DfLogger::HostLogger::LogApplicationInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x2fd
call fcn.00418eb0
add esp, 0x14
push edi
call fcn.00454014
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret