Function at 0x4197c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x43dfbc]
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 [0x43f2b0], edi
mov dword [ebp - 0xcc], 0x431ab0
mov dword [ebp - 0xbc], 0x431aa0
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.00405230
lea eax, [ebp - 0xb4]
push 0x20
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
call fcn.00409e30
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jne 0x419842
mov eax, dword [ebp - 0x60]
or eax, 4
push edi
push eax
lea ecx, [ebp - 0x6c]
call fcn.004016f0
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.004093f0
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.0040b520
add esp, 4
test al, al
je 0x41990c
push 8
call fcn.0041b35b
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4198e2
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xcc]
mov ebx, 3
call fcn.0040bee0
cmp dword [eax + 0x14], 8
jb 0x4198d8
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0040be60
jmp 0x4198e4
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x43f2b4
call fcn.00417ac0
test bl, 1
je 0x41990c
cmp dword [ebp - 0xc], 8
jb 0x41990c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041abe1
add esp, 4
push 1
lea ecx, [ebp - 0x17c]
call fcn.004103e0
mov edi, 0xa
mov dword [eax + 0x60], edi
add eax, 0x10
push str._CP_HECI_Service
push eax
call fcn.004032b0
push eax
call fcn.0040b100
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0040bf50
lea edx, [ebp - 0x114]
mov ebx, vtable.std::ios_base.0
push edx
mov dword [ebp - 0x114], ebx
call fcn.0041a6e6
add esp, 4
push 1
lea ecx, [ebp - 0x17c]
call fcn.004103e0
push 0x43f398
push str._name:
push str.22:45:26
push 0x431890
push str.Dec_21_2011
mov dword [eax + 0x60], 0x64
add eax, 0x10
push str.__COM__built
push eax
call fcn.004032b0
add esp, 8
push eax
call fcn.004032b0
add esp, 8
push eax
call fcn.004032b0
add esp, 8
push eax
call fcn.004032b0
add esp, 8
push eax
call fcn.004032b0
add esp, 8
push eax
call fcn.00409ee0
push eax
call fcn.0040b100
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0040bf50
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], ebx
call fcn.0041a6e6
add esp, 4
cmp byte [0x43f330], 0
je 0x4199fc
or esi, 0xffffffff
jmp 0x419a31
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, 0x43f358
call fcn.004180f0
cmp al, 1
jne 0x419a2c
mov edx, dword [ebp + 0x14]
push edx
mov ecx, 0x43f358
call fcn.00419750
jmp 0x419a2f
mov eax, dword [ebp - 0x24]
mov esi, eax
push 1
lea ecx, [ebp - 0x17c]
call fcn.004103e0
mov dword [eax + 0x60], edi
add eax, 0x10
push str.____________Exit_0x
push eax
call fcn.004032b0
add esp, 8
test eax, eax
jne 0x419a5a
xor ecx, ecx
jmp 0x419a61
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.004131b0
test eax, eax
jne 0x419a83
xor ecx, ecx
jmp 0x419a8a
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.0040b100
push eax
call fcn.0040b100
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.0040bf50
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], ebx
call fcn.0041a6e6
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.004095a0
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x6c], ebx
call fcn.0041a6e6
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041abec
mov esp, ebp
pop ebp
ret 0x10