Function at 0x40805e
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4313b5
call fcn.00430710
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 0x6d3dffff
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
push 0xf8e9ffff
push 0x2da3ffff
mov byte [0x43ac7d], al
call fcn.0040aeeb
add word [0x43ac8e], ax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
lea eax, [edi + 1]
add eax, eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x8bd5ffff
push 0xe801ffff
mov esi, eax
call fcn.0040af6d
add word [0x43ac86], ax
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
add esp, 0x14
dec word [0x43ac84]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x4080de
mov ecx, eax
lea eax, [edi + 1]
push eax
push esi
push eax
push ecx
push ebx
push ebx
push 0x55
call fcn.0040f588
pop ecx
call eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
push dword [0x43ac98]
add word [0x43ac8e], ax
push 0xac25ffff
call fcn.0040af32
mov word [0x43ac94], ax
mov word [esi + edi*2], bx
movsx eax, word [0x43ac90]
push 0x1e7ffff
push eax
call fcn.0040af32
add byte [0x43ac79], al
add esp, 0x10
xor eax, eax
cmp dword [0x43acbc], ebx
push ebx
lea ecx, [ebp - 0x20]
setne al
mov word [0x43ac82], ax
mov al, byte [ebp + 0xf]
mov byte [0x43ac81], 1
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push 1
pop edi
push 0x5497ffff
push 0xfaf1ffff
mov dword [ebp - 4], edi
call fcn.0040b037
add dword [0x43aca8], eax
push esi
call fcn.00430672
push 0xaaa5ffff
push 0x963fffff
call fcn.0040b087
add word [0x43ac8a], ax
movsx eax, byte [0x43ac7f]
push eax
movsx eax, word [0x43ac82]
push eax
call fcn.0040afcb
add esp, 0x1c
mov byte [0x43ac79], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [0x43aca4], eax
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x20]
push ebx
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], bl
push edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret