Function at 0x4051f6
Capabilities:
Accept command line arguments

Disassembly:
push 0xc8
mov eax, 0x424b1e
call fcn.0040db21
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.00401d68
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push str.____Command_Line:
call fcn.00401d68
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push str.____File_Version:
call fcn.00401d68
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push str.______Process_ID:
call fcn.00401d68
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
push str.________Built_on:
call fcn.00401d68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
push str.___Log_File_Name:__
call fcn.00401d68
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.00401d41
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004066de
push 0x14
call fcn.0040b9f6
pop ecx
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4052c9
push esi
mov ecx, eax
call fcn.00408837
mov edi, eax
jmp 0x4052cb
xor edi, edi
mov byte [ebp - 4], 5
test edi, edi
je 0x405304
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x4052e5
mov ebx, str._no_version_info_
push ebx
call fcn.00401d41
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004066de
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 0x405341
push dword [ebp - 0xa8]
push str.___ld_bytes_
push 0x104
push esi
call fcn.0040c500
push esi
call fcn.00401d41
add esp, 0x14
lea ecx, [ebp - 0x44]
push eax
push esi
call fcn.004066de
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.0040501c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.00401d41
pop ecx
push eax
push esi
lea ecx, [ebp - 0xa4]
call fcn.004066de
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.0040501c
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.0040501c
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x54]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00406638
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.0040501c
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 0x74]
call fcn.00406638
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.0040501c
mov ecx, edi
call fcn.004081f9
mov esi, eax
push esi
call fcn.00401d41
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.004066de
mov esi, 0x42d628
push esi
call fcn.00401d41
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.004066de
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.0040501c
mov byte [ebp - 4], 4
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00401bf8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
push ebx
push 1
call fcn.00401bf8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push ebx
push 1
call fcn.00401bf8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401bf8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
push ebx
push 1
call fcn.00401bf8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00401bf8
call fcn.0040dad0
ret 4