Function at 0x408312
Capabilities:
Accept command line arguments

Disassembly:
push 0xc8
mov eax, 0x554c50
call fcn.00534f83
mov ebx, ecx
mov dword [ebp - 0xd0], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push str.Module_File_Name:
mov dword [ebp - 0xcc], eax
call fcn.00404880
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push str.____Command_Line:
call fcn.00404880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push str.____File_Version:
call fcn.00404880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push str.______Process_ID:
call fcn.00404880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
push str.________Built_on:
call fcn.00404880
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
push str.___Log_File_Name:__
call fcn.00404880
mov byte [ebp - 4], 5
lea esi, [ebx + 0xbc]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00404800
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.0040557a
push 0x14
call fcn.004153bf
pop ecx
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4083e5
push esi
mov ecx, eax
call fcn.00410ba4
mov edi, eax
jmp 0x4083e7
xor edi, edi
mov byte [ebp - 4], 5
test edi, edi
je 0x408420
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x408401
mov ebx, str._no_version_info_
push ebx
call fcn.00404800
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040557a
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ebx, dword [ebp - 0xd0]
lea eax, [ebp - 0xc8]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x40845d
push dword [ebp - 0xa8]
push str.___ld_bytes_
push 0x104
push esi
call fcn.00534d82
push esi
call fcn.00404800
add esp, 0x14
lea ecx, [ebp - 0x44]
push eax
push esi
call fcn.0040557a
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0xcc]
mov ecx, ebx
cmovae eax, dword [ebp - 0x44]
push eax
push 0
push 0x40000000
push edi
call fcn.0040813c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.00404800
pop ecx
push eax
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040557a
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
mov esi, 0x40000000
mov ecx, ebx
cmovae eax, dword [ebp - 0xa4]
push eax
push 0
push esi
push edi
call fcn.0040813c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push esi
push edi
call fcn.0040813c
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x54]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040566e
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
mov ecx, ebx
cmovae eax, dword [ebp - 0x8c]
push eax
push 0
push esi
push edi
call fcn.0040813c
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040566e
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
mov ecx, ebx
cmovae eax, dword [ebp - 0x74]
push eax
push 0
push esi
push edi
call fcn.0040813c
mov ecx, edi
call fcn.0040a892
mov esi, eax
push esi
call fcn.00404800
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040557a
mov esi, 0x59b900
push esi
call fcn.00404800
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040557a
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov ecx, ebx
cmovae eax, dword [ebp - 0x5c]
push eax
push 0
push 0x40000000
push edi
call fcn.0040813c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00404190
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00404190
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00404190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00404190
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00404190
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00404190
call fcn.00534f32
ret 4