Function at 0x408676
Capabilities:
Accept command line arguments

Disassembly:
push 0xc4
mov eax, 0x57d245
call fcn.00552eab
mov ebx, ecx
mov dword [ebp - 0xc8], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push str.Module_File_Name:
mov dword [ebp - 0xcc], eax
call fcn.00403b10
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
push str.____Command_Line:
call fcn.00403b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push str.____File_Version:
call fcn.00403b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
push str.______Process_ID:
call fcn.00403b10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push str.________Built_on:
call fcn.00403b10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push str.___Log_File_Name:__
call fcn.00403b10
mov byte [ebp - 4], 5
lea edi, [ebx + 0xbc]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00403bf0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.00405210
push 0x14
call fcn.00417f38
pop ecx
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x408749
push edi
mov ecx, eax
call fcn.00411637
mov esi, eax
jmp 0x40874b
xor esi, esi
mov byte [ebp - 4], 5
test esi, esi
je 0x408784
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x408765
mov ebx, str._no_version_info_
push ebx
call fcn.00403bf0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00405210
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ebx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4087c1
push dword [ebp - 0xa4]
push str.___ld_bytes_
push 0x104
push edi
call fcn.004049ee
push edi
call fcn.00403bf0
add esp, 0x14
lea ecx, [ebp - 0x58]
push eax
push edi
call fcn.00405210
lea ecx, [ebp - 0x58]
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x4087d1
mov eax, dword [eax]
mov edi, dword [ebp - 0xcc]
mov ecx, ebx
push eax
push 0
push 0x40000000
push edi
call fcn.004084f3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.00403bf0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xa0]
call fcn.00405210
lea ecx, [ebp - 0xa0]
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x408816
mov eax, dword [eax]
push eax
xor esi, esi
mov ecx, ebx
push esi
push 0x40000000
push edi
call fcn.004084f3
lea ecx, [ebp - 0x40]
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x408837
mov eax, dword [eax]
push eax
push esi
push 0x40000000
push edi
mov ecx, ebx
call fcn.004084f3
push 0xffffffffffffffff
push esi
lea eax, [ebx + 0x54]
push eax
lea ecx, [ebp - 0x88]
call fcn.00405351
lea ecx, [ebp - 0x88]
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x40886b
mov eax, dword [eax]
push eax
push esi
push 0x40000000
push edi
mov ecx, ebx
call fcn.004084f3
push 0xffffffffffffffff
push esi
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 0x70]
call fcn.00405351
lea ecx, [ebp - 0x70]
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x408899
mov eax, dword [eax]
push eax
push esi
push 0x40000000
push edi
mov ecx, ebx
call fcn.004084f3
mov ecx, edi
call fcn.0040afc9
mov esi, eax
push esi
call fcn.00403bf0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405210
mov esi, 0x5c9b50
push esi
call fcn.00403bf0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405210
lea ecx, [ebp - 0x28]
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x4088e8
mov eax, dword [eax]
push eax
push 0
push 0x40000000
push edi
mov ecx, ebx
call fcn.004084f3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004043b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004043b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.004043b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004043b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.004043b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004043b0
call fcn.00552e55
ret 4