Function at 0x40a474
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x430c85
call fcn.00430000
sub esp, 0x64
push ebx
push esi
push edi
push 0xbc81ffff
push 0x2da9ffff
call fcn.00411e4a
push dword [0x43bc04]
add word [0x43bbde], ax
xor ebx, ebx
xor edi, edi
push 0x62b7ffff
call fcn.00411e04
mov byte [0x43bbca], al
movsx eax, word [0x43bbde]
push eax
push 0xfa2fffff
call fcn.00411d1f
push 0x44
mov word [0x43bbde], ax
pop esi
lea eax, [ebp - 0x70]
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
movsx ax, byte [0x43bbc9]
push dword [0x43bc00]
sub word [0x43bbde], ax
mov dword [ebp - 0x70], esi
push 0x5619ffff
call fcn.00411d90
add dword [0x43bbe8], eax
add esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
add byte [0x43bbc8], al
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x7ef3ffff
push 0x4a9ffff
call fcn.00411e04
mov esi, dword [ebp + 8]
add word [0x43bbd6], ax
add esp, 0x14
lea ecx, [ebp - 0x1c]
mov al, byte [esi]
push ebx
mov byte [ebp - 0x1c], al
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, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x1c]
push dword [eax]
push ebx
push esi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
movsx eax, byte [0x43bbce]
push 0x2bc9ffff
push eax
mov dword [ebp - 4], ebx
call fcn.00411d58
add word [0x43bbe4], ax
mov eax, dword [ebp - 0x18]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40a583
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 - 0x2c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push 0x3e
call fcn.004163e0
pop ecx
call eax
test eax, eax
je 0x40a67b
mov eax, dword [0x43bbe8]
dec word [0x43bbda]
imul eax, eax, 0x8583ffff
cmp byte [0x43bbcc], bl
push 1
mov dword [0x43bc00], eax
pop edi
je 0x40a5d1
cmp byte [0x43bbd1], bl
je 0x40a5d1
mov ebx, edi
movsx eax, byte [0x43bbcd]
add dword [0x43bc0c], ebx
push eax
push 0xee67ffff
call fcn.00411d90
push dword [0x43bc08]
add word [0x43bbd6], ax
push 0xc03dffff
call fcn.00411cac
add esp, 0x10
mov dword [0x43bbf0], eax
push dword [ebp - 0x2c]
push 0x37
call fcn.004163e0
pop ecx
call eax
push dword [0x43bbe8]
mov byte [0x43bbc9], 1
push 0xf367ffff
call fcn.00411d90
pop ecx
add word [0x43bbdc], ax
pop ecx
push dword [ebp - 0x28]
push 0x37
call fcn.004163e0
pop ecx
call eax
movsx eax, byte [0x43bbc8]
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 esp, 0x10
add dword [0x43bbec], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push dword [0x43bc00]
mov dword [0x43bbf8], eax
push 0x5d1fffff
call fcn.00411d58
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov word [0x43bbe4], ax
push 1
lea ecx, [ebp - 0x1c]
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 ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret