Function at 0x449a20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5871d1
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp dword [ebp + 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x440], esi
jne 0x449a70
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
cmp edi, esi
je 0x449c51
cmp dword [ebp - 0x440], esi
jle 0x449add
lea esp, [esp]
mov ecx, dword [edi + esi*4]
push ecx
lea ecx, [ebp - 0x460]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [ebp - 0x460]
push edx
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00449970
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 1
cmp esi, dword [ebp - 0x440]
jl 0x449aa0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
push 0x206
lea eax, [ebp - 0x41e]
push esi
push eax
mov word [ebp - 0x420], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x43c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
push 0x206
lea eax, [ebp - 0x216]
push esi
push eax
mov word [ebp - 0x218], si
call sub.MSVCR80.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, esi
je 0x449b75
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x449b7b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
push esi
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
mov esi, eax
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058432a
push esi
mov edi, eax
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0x10
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push esi
push edi
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
test edi, edi
je 0x449c0a
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
jne 0x449c15
xor esi, esi
jmp 0x449c2d
mov ebx, dword [ebx + 8]
sub ebx, eax
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x449c63
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret 0x1c