Function at 0x41a5a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x43efc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x6c]
mov dword [0x4402d0], edi
mov dword [ebp - 0xcc], 0x432b38
mov dword [ebp - 0xbc], 0x4327fc
lea ebx, [edi + 2]
mov dword [ebp - 0x6c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
call fcn.00401950
lea eax, [ebp - 0xb4]
push 0x20
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
call fcn.004037a0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jne 0x41a622
mov eax, dword [ebp - 0x60]
or eax, 4
push edi
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401840
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xbc], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xcc], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xb4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.004022c0
lea ecx, [ebp - 0xcc]
push ecx
mov dword [ebp - 0xb4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
call fcn.0040b900
add esp, 4
test al, al
je 0x41a6ec
push 8
call fcn.0041c50f
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41a6c2
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xcc]
mov ebx, 3
call fcn.0040c2c0
cmp dword [eax + 0x14], 8
jb 0x41a6b8
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0040c240
jmp 0x41a6c4
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4402d4
call fcn.004183a0
test bl, 1
je 0x41a6ec
cmp dword [ebp - 0xc], 8
jb 0x41a6ec
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041b9c1
add esp, 4
push 1
lea ecx, [ebp - 0x17c]
call fcn.004061b0
mov edi, 0xa
mov dword [eax + 0x60], edi
add eax, 0x10
push str._CP_HECI_Service
push eax
call fcn.00404180
push eax
call fcn.004055a0
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0040c330
lea edx, [ebp - 0x114]
mov ebx, vtable.std::ios_base.0
push edx
mov dword [ebp - 0x114], ebx
call fcn.0041b040
add esp, 4
push 1
lea ecx, [ebp - 0x17c]
call fcn.004061b0
push 0x4403b8
push str._name:
push str.09:30:31
push 0x4329c8
push str.Jan__3_2017
mov dword [eax + 0x60], 0x64
add eax, 0x10
push str.__COM__built
push eax
call fcn.00404180
add esp, 8
push eax
call fcn.00404180
add esp, 8
push eax
call fcn.00404180
add esp, 8
push eax
call fcn.00404180
add esp, 8
push eax
call fcn.00404180
add esp, 8
push eax
call fcn.0040a680
push eax
call fcn.004055a0
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0040c330
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], ebx
call fcn.0041b040
add esp, 4
cmp byte [0x440350], 0
je 0x41a7dc
or esi, 0xffffffff
jmp 0x41a811
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, 0x440378
call fcn.00418e30
cmp al, 1
jne 0x41a80c
mov edx, dword [ebp + 0x14]
push edx
mov ecx, 0x440378
call fcn.0041a530
jmp 0x41a80f
mov eax, dword [ebp - 0x24]
mov esi, eax
push 1
lea ecx, [ebp - 0x17c]
call fcn.004061b0
mov dword [eax + 0x60], edi
add eax, 0x10
push str.____________Exit_0x
push eax
call fcn.00404180
add esp, 8
test eax, eax
jne 0x41a83a
xor ecx, ecx
jmp 0x41a841
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0x14]
and edx, 0xfffff9ff
or edx, 0x800
mov dword [ecx + 0x14], edx
push esi
mov ecx, eax
call fcn.004136f0
test eax, eax
jne 0x41a863
xor ecx, ecx
jmp 0x41a86a
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0x14]
and edx, 0xfffff3ff
or edx, 0x200
push eax
mov dword [ecx + 0x14], edx
call fcn.004055a0
push eax
call fcn.004055a0
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.0040c330
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], ebx
call fcn.0041b040
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.004028b0
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x6c], ebx
call fcn.0041b040
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bd31
mov esp, ebp
pop ebp
ret 0x10