Function at 0x40ae15
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x430d5a
call fcn.00430000
sub esp, 0x2c
push ebx
push edi
push dword [0x43bbe8]
mov edi, ecx
mov byte [0x43bbc9], 1
push 0xf367ffff
call fcn.00411d90
add word [0x43bbdc], ax
xor ebx, ebx
cmp dword [edi + 0xf4], ebx
pop ecx
pop ecx
jne 0x40ae58
mov eax, dword [ebp + 0xc]
jmp 0x40afda
movsx eax, byte [0x43bbc8]
push esi
push eax
movsx eax, byte [0x43bbd1]
push eax
call fcn.00411c25
add byte [0x43bbc8], al
movsx eax, byte [0x43bbc9]
push eax
movsx eax, word [0x43bbd6]
push eax
call fcn.00411d90
add dword [0x43bbec], eax
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.00420a65
add esp, 0x18
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push dword [0x43bc00]
mov dword [0x43bbf8], eax
push 0x5d1fffff
call fcn.00411d58
push dword [ebp + 8]
mov word [0x43bbe4], ax
lea eax, [ebp - 0x38]
push eax
call fcn.0042c96a
add esp, 0x10
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 1
push dword [ecx]
lea ecx, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [0x43bbfc]
push 4
movsx ecx, byte [0x43bbca]
mov byte [0x43bbc9], al
pop esi
movsx eax, word [0x43bbd2]
imul eax, ecx
mov cx, word [0x43bbd4]
mov dword [ebp - 0x10], esi
movsx edx, cx
add cx, word [0x43bbd8]
and edx, 0xdfedffff
add eax, edx
mov word [0x43bbd4], cx
movsx ecx, byte [0x43bbd0]
lea eax, [eax + ecx - 0x5e35ffff]
mov dword [0x43bc0c], eax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40af55
mov eax, 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]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
push dword [edi + 0xf4]
push 0x16
call fcn.004163e0
pop ecx
call eax
test eax, eax
jne 0x40af86
cmp dword [ebp - 0x14], esi
jne 0x40af86
cmp dword [ebp - 0x10], esi
jne 0x40af86
mov esi, dword [ebp - 0x18]
jmp 0x40afc8
movsx eax, byte [0x43bbca]
push 0x4a27ffff
push eax
call fcn.00411cac
mov word [0x43bbda], ax
push 0x7ae1ffff
movsx ax, byte [0x43bbcf]
sub word [0x43bbde], ax
push 0x209dffff
call fcn.00411cd8
mov esi, dword [ebp + 0xc]
add esp, 0x10
add byte [0x43bbca], al
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8