Function at 0x404155
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
mov eax, 0x40fe41
call fcn.0040f778
sub esp, 0x170
mov al, byte [ebp + 0xb]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], 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_]
movsx eax, byte [0x4152fb]
or eax, 0x1411ffff
mov ecx, esi
mov dword [0x415334], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov dword [ebp - 4], edi
push dword [eax]
lea eax, [ebp - 0x44]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [0x415334]
lea ecx, [esi + 0x10]
or eax, 0x3155ffff
mov dword [ebp - 0xb0], ecx
mov dword [0x41531c], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [0x415320]
lea ecx, [esi + 0x20]
and ax, word [0x415304]
mov dword [ebp - 0xb4], ecx
add word [0x415306], ax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
movsx eax, word [0x415304]
push dword [0x41532c]
push eax
call fcn.004028bd
pop ecx
mov word [0x415314], ax
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
pop ecx
lea ecx, [esi + 0x30]
push eax
push edx
mov dword [ebp - 0xbc], ecx
call fcn.0040536e
movsx eax, word [0x415310]
push dword [0x415328]
push eax
call fcn.004026b7
pop ecx
mov byte [0x4152fe], al
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
pop ecx
lea ecx, [esi + 0x40]
push eax
push edx
mov dword [ebp - 0xac], ecx
call fcn.00405424
movsx eax, word [0x41530c]
push 0x4d35ffff
push eax
call fcn.004026b7
pop ecx
mov dword [0x415328], eax
pop ecx
lea ecx, [esi + 0x50]
mov dword [ebp - 0xb8], ecx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea eax, [ebp - 0x44]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov al, byte [0x41530a]
push 0xb2e9ffff
inc al
add byte [0x4152f9], al
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
movsx eax, byte [0x4152fb]
push eax
mov dword [ebp - 0x24], ebx
call fcn.00402735
add byte [0x4152ff], al
pop ecx
cmp ebx, 0xd
pop ecx
jge 0x4042d1
or dword [ebp - 4], 0xffffffff
push 1
jmp 0x404f17
movsx eax, byte [0x415301]
push dword [0x41533c]
inc byte [0x4152f8]
push eax
call fcn.00402909
pop ecx
mov byte [0x4152f8], al
mov al, byte [ebp + 0xb]
pop ecx
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], 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 al, byte [0x415300]
push 1
pop ebx
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.USER32.dll_IsCharUpperA]
add dword [0x41531c], eax
mov ecx, dword [ebp + 8]
push 6
lea eax, [ebp - 0xa8]
push edi
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__::substr_unsigned_int__unsigned_int_]
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], 2
push dword [ecx]
lea ecx, [ebp - 0x88]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0xa8]
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_]
cmp dword [0x415318], edi
jne 0x404371
cmp word [0x415306], di
jne 0x404371
xor eax, eax
jmp 0x404373
mov eax, ebx
add word [0x415306], ax
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], 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_]
push 0xa833ffff
push 0x9fb3ffff
mov byte [ebp - 4], 3
call fcn.004026ee
add dword [0x41531c], eax
pop ecx
pop ecx
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp + 8]
push 7
push 6
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__::substr_unsigned_int__unsigned_int_]
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], 4
push dword [ecx]
lea ecx, [ebp - 0x34]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, word [0x415314]
push 0xe143ffff
push eax
mov dword [0x41532c], 0x4b9ffff
mov dword [ebp - 0x1c], 0xd
call fcn.004026ee
add dword [0x415320], eax
cmp dword [ebp - 0x2c], 4
pop ecx
pop ecx
jb 0x404428
cmp dword [ebp - 0x30], edi
je 0x404428
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [ebp - 0x30]
add eax, 4
jmp 0x40442d
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]
mov al, byte [eax]
push 0xb415ffff
push 0xd7f3ffff
mov byte [ebp - 0xd], al
call fcn.004026b7
add byte [0x4152ff], al
mov al, byte [ebp - 0xd]
shr al, 7
mov byte [ebp - 0x1d], al
movsx eax, word [0x415304]
push eax
movsx eax, byte [0x4152f8]
push eax
call fcn.004026b7
add esp, 0x10
mov byte [0x415301], al
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x78]
push edi
mov byte [ebp - 0x78], 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 byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add dword [0x415338], eax
cmp byte [ebp - 0x1d], 0
je 0x40455f
movsx eax, byte [0x4152ff]
push eax
push 0x1811ffff
call fcn.004027fb
add byte [0x4152fd], al
mov al, byte [ebp - 0xd]
pop ecx
and al, 7
pop ecx
inc al
mov cl, al
mov eax, ebx
shl eax, cl
inc byte [0x415301]
inc word [0x415308]
lea eax, [eax + eax*2]
lea ecx, [eax + 0xd]
cmp dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
jl 0x404ee6
movsx cx, byte [0x4152fd]
imul ecx, dword [0x415330]
add word [0x415304], cx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0xa8]
push 0xd
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__::substr_unsigned_int__unsigned_int_]
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], 6
push dword [ecx]
lea ecx, [ebp - 0x78]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx ax, byte [0x4152fe]
dec eax
mov word [0x41530c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
movsx eax, word [0x415310]
push eax
movsx eax, word [0x41530e]
push eax
call fcn.004027d2
pop ecx
mov byte [0x4152fe], al
pop ecx
push 0xfb37ffff
call dword [sym.imp.USER32.dll_IsMenu]
push dword [0x41533c]
add word [0x41530e], ax
and byte [ebp - 0x1d], 0
push 0x2aa9ffff
call fcn.00402909
add byte [0x4152fe], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x58], al
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
push 0x76e7ffff
push 0x79f7ffff
mov byte [ebp - 4], 7
call fcn.004027d2
add dword [0x415324], eax
mov al, byte [ebp + 0xb]
add esp, 0x10
mov byte [ebp - 0x68], al
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
mov byte [0x415301], bl
mov byte [ebp - 0x98], 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_]
movsx eax, word [0x415310]
movsx ecx, word [0x415306]
imul eax, ecx
mov byte [ebp - 4], 9
mov dword [0x415318], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov byte [0x4152fb], al
mov eax, dword [0x4128ac]
mov al, byte [eax]
add al, 0x69
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040f730
mov eax, esp
push dword [0x4128ac]
push eax
call fcn.0040ea15
push eax
mov dword [ebp - 0x14], eax
call sub.MSVCRT.dll_strlen
add esp, 0xc
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char_const___unsigned_int__unsigned_int_const]
mov ecx, eax
mov eax, dword [0x41532c]
and eax, dword [0x41531c]
mov dword [ebp - 0x14], ecx
mov dword [0x415328], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp ecx, dword [eax]
je 0x404ebd
mov al, byte [0x415312]
mov byte [0x4152fc], bl
imul byte [0x41530e]
mov byte [0x4152fe], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x404696
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]
jmp 0x404698
add eax, ecx
movsx eax, byte [eax]
xor eax, 0x97
sub eax, 0xac
je 0x404d23
sub eax, 0xa
je 0x404aa7
sub eax, 5
jne 0x404da5
push dword [0x415320]
push 0xc731ffff
call fcn.004026b7
add word [0x41530c], ax
mov eax, dword [ebp - 0x14]
add eax, 0xa
pop ecx
cmp dword [ebp - 0x24], eax
pop ecx
mov dword [ebp - 0x1c], eax
jl 0x404ebd
push 0x1cd1ffff
push 0x4489ffff
call fcn.004027d2
add word [0x41530e], ax
pop ecx
pop ecx
lea ecx, [ebp - 0xec]
call fcn.00404f5f
movsx eax, byte [0x4152fe]
mov ecx, dword [ebp + 8]
and eax, 0x1f57ffff
add dword [0x415328], eax
push 0xa
push dword [ebp - 0x14]
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
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__::substr_unsigned_int__unsigned_int_]
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], 0xb
push dword [ecx]
lea ecx, [ebp - 0xec]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
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 [ebp - 0x1c]
push 0x4bf7ffff
push dword [0x415324]
mov dword [0x41531c], 0x1669fffe
mov dword [ebp - 0x1c], eax
call fcn.004027d2
cmp dword [ebp - 0xe4], 9
pop ecx
pop ecx
mov word [0x415304], ax
jb 0x4047b1
cmp dword [ebp - 0xe8], edi
je 0x4047b1
lea ecx, [ebp - 0xec]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [ebp - 0xe8]
add eax, 9
jmp 0x4047b6
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]
mov al, byte [eax]
push 0xa0fbffff
push 0xef03ffff
mov byte [ebp - 0xd], al
call fcn.004028bd
mov word [0x415314], ax
mov al, byte [ebp - 0xd]
shr al, 7
mov byte [ebp - 0x15], al
push 0xbdc9ffff
movsx eax, byte [0x4152fe]
push eax
call fcn.004026b7
add byte [0x4152ff], al
add esp, 0x10
cmp byte [ebp - 0x15], 0
je 0x4048fc
movsx eax, byte [0x4152fc]
push dword [0x41532c]
push eax
call fcn.004027d2
add dword [0x415324], eax
mov al, byte [ebp - 0xd]
and al, 7
push 0x361ffff
inc al
push 0xf199ffff
mov byte [ebp - 0x15], al
call fcn.00402794
mov cl, byte [ebp - 0x15]
mov word [0x415302], ax
mov eax, ebx
push 0x6b15ffff
shl eax, cl
push 0x3a09ffff
lea eax, [eax + eax*2]
mov dword [ebp - 0x14], eax
call fcn.004027d2
mov ecx, dword [ebp - 0x1c]
mov dword [0x415330], eax
mov eax, dword [ebp - 0x14]
add esp, 0x18
add eax, ecx
cmp dword [ebp - 0x24], eax
mov dword [ebp - 0x48], eax
jl 0x404f37
movsx eax, word [0x415310]
push dword [0x41532c]
push eax
call fcn.00402794
add dword [0x415324], eax
pop ecx
pop ecx
lea eax, [ebp - 0x15c]
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x1c]
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__::substr_unsigned_int__unsigned_int_]
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], 0xc
push dword [ecx]
lea ecx, [ebp - 0xdc]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x4209ffff
push 0x4f45ffff
call fcn.004028bd
mov word [0x41530c], ax
mov eax, dword [ebp - 0x48]
push 0x6b27ffff
push 0xf92bffff
mov dword [ebp - 0x1c], eax
call fcn.00402879
add esp, 0x10
mov dword [0x41531c], eax
movsx eax, byte [0x415300]
push 0xc8b1ffff
push eax
call fcn.004027fb
mov dword [0x41532c], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
pop ecx
cmp dword [ebp - 0x24], eax
pop ecx
jl 0x404f37
cmp word [0x415306], di
jne 0x40493c
cmp dword [0x415334], edi
mov word [0x415314], di
je 0x404943
mov word [0x415314], bx
push 0x82fdffff
push 0xf91bffff
mov dword [ebp - 0x14], ebx
call fcn.004026ee
add byte [0x4152f8], al
dec word [0x415310]
pop ecx
pop ecx
movsx eax, byte [0x4152fd]
push eax
push 0xadf9ffff
call fcn.00402794
add byte [0x4152fa], al
mov eax, dword [ebp + 8]
pop ecx
mov eax, dword [eax + 4]
pop ecx
cmp eax, edi
jne 0x40498f
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]
jmp 0x404997
mov ecx, dword [ebp - 0x14]
add eax, ecx
add eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp - 0xd], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [ebp - 0x14]
mov word [0x415312], ax
movzx eax, byte [ebp - 0xd]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x14], eax
mov al, byte [0x415334]
push eax
call dword [sym.imp.USER32.dll_IsCharUpperA]
mov ecx, dword [ebp - 0x1c]
mov word [0x41530a], ax
mov eax, dword [ebp - 0x14]
add eax, ecx
cmp dword [ebp - 0x24], eax
jl 0x404f37
inc dword [0x415324]
cmp byte [ebp - 0xd], 0
jne 0x404964
push 0x8619ffff
push 0xa20bffff
call fcn.00402735
add dword [0x415324], eax
pop ecx
pop ecx
lea eax, [ebp - 0x12c]
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x1c]
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__::substr_unsigned_int__unsigned_int_]
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], 0xd
push dword [ecx]
lea ecx, [ebp - 0xcc]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x66f1ffff
push 0xbcadffff
call fcn.004028bd
pop ecx
mov word [0x415302], ax
mov eax, dword [ebp - 0x14]
pop ecx
add dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
add word [0x41530e], ax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x58]
push dword [ebp - 0x50]
call fcn.0040547a
movsx eax, byte [0x4152fe]
push eax
push eax
call fcn.004026ee
add dword [0x41533c], eax
pop ecx
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.00404fb5
jmp 0x404da5
push 0xc7c9ffff
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
lea ecx, [ebp - 0x11c]
mov dword [0x415318], eax
call fcn.00405000
movsx ax, byte [0x4152fd]
movsx cx, byte [0x4152f9]
add eax, ecx
mov ecx, dword [ebp - 0x14]
add word [0x415308], ax
mov byte [ebp - 4], 0xe
lea eax, [ecx + 2]
cmp dword [ebp - 0x24], eax
mov dword [ebp - 0x48], eax
jl 0x404f4b
or al, 0xff
push ebx
sub al, byte [0x415314]
push ecx
mov ecx, dword [ebp + 8]
add byte [0x4152fc], al
lea eax, [ebp - 0x17c]
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__::substr_unsigned_int__unsigned_int_]
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], 0xf
push dword [ecx]
lea ecx, [ebp - 0x11c]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xe
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 [ebp - 0x14]
dec word [0x415304]
mov ecx, dword [ebp + 8]
inc eax
push ebx
push eax
lea eax, [ebp - 0x14c]
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__::substr_unsigned_int__unsigned_int_]
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], 0x10
push dword [ecx]
lea ecx, [ebp - 0x10c]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xe
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 [ebp - 0x48]
inc byte [0x4152f8]
mov dword [ebp - 0x1c], eax
movsx eax, byte [0x415300]
push eax
push 0xcb07ffff
call fcn.00402831
add dword [0x41531c], eax
push 0xb7f1ffff
push 0x6743ffff
mov dword [ebp - 0x14], edi
call fcn.004027fb
add esp, 0x10
cmp byte [0x415301], 0
jne 0x404bd6
cmp word [0x415302], di
mov word [0x415304], di
je 0x404bdd
mov word [0x415304], bx
movsx eax, byte [0x4152ff]
push eax
push dword [0x41533c]
call fcn.004026ee
add byte [0x415300], al
mov eax, dword [ebp + 8]
pop ecx
mov eax, dword [eax + 4]
pop ecx
cmp eax, edi
jne 0x404c09
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]
jmp 0x404c11
mov ecx, dword [ebp - 0x14]
add eax, ecx
add eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov cl, byte [0x415338]
mov byte [ebp - 0x15], al
dec cl
add byte [0x4152ff], cl
mov ecx, dword [ebp - 0x14]
movzx eax, al
push 0xe4e9ffff
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x14], eax
movsx eax, word [0x415314]
push eax
call fcn.00402735
pop ecx
mov byte [0x4152fd], al
mov eax, dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp - 0x1c]
add eax, ecx
cmp dword [ebp - 0x24], eax
jl 0x404f4b
mov al, byte [0x415318]
inc al
add byte [0x415300], al
cmp byte [ebp - 0x15], 0
jne 0x404bdd
mov eax, dword [0x415320]
push dword [ebp - 0x14]
dec eax
mov word [0x415302], ax
lea eax, [ebp - 0x16c]
push ecx
mov ecx, dword [ebp + 8]
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__::substr_unsigned_int__unsigned_int_]
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], 0x11
push dword [ecx]
lea ecx, [ebp - 0xfc]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, byte [0x4152fe]
imul eax, eax, 0x9197ffff
add dword [0x415318], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x68]
push dword [ebp - 0x60]
call fcn.004054aa
movsx eax, byte [0x4152fe]
add eax, 0x2745ffff
push 0x563fffff
mov dword [0x415318], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x1c], eax
push 0x2793ffff
call fcn.00402794
pop ecx
mov dword [0x415338], eax
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00405056
jmp 0x404da5
push 0x5db5ffff
push 0x3eafffff
call fcn.004028bd
add byte [0x4152f9], al
pop ecx
pop ecx
lea eax, [ebp - 0x13c]
mov ecx, dword [ebp + 8]
push ebx
push dword [ebp - 0x14]
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__::substr_unsigned_int__unsigned_int_]
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], 0x12
push dword [ecx]
lea ecx, [ebp - 0x98]
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [0x4152fc], al
mov eax, dword [ebp - 0x14]
inc eax
mov byte [0x4152f9], bl
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], bl
movsx eax, byte [0x4152fe]
and eax, 0x8fe1ffff
mov dword [0x415330], eax
cmp byte [ebp - 0x1d], 0
je 0x4045ff
cmp dword [ebp - 0x90], edi
mov dword [0x415328], 0x20a7ffff
je 0x404ebd
movsx eax, byte [0x4152fd]
push eax
push 0x32adffff
call fcn.004028bd
pop ecx
mov word [0x415314], ax
pop ecx
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add byte [0x415300], al
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
movsx eax, byte [0x4152fb]
push eax
movsx eax, word [0x415308]
push eax
call fcn.004028bd
pop ecx
mov byte [0x4152f9], al
pop ecx
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0xb4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
call dword [sym.imp.USER32.dll_GetFocus]
add byte [0x4152fe], al
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x58]
push eax
call fcn.004053c4
movsx eax, word [0x41530a]
push dword [0x415330]
push eax
call fcn.004027d2
add byte [0x4152f8], al
pop ecx
pop ecx
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0xac]
push eax
call fcn.004053c4
push dword [0x41531c]
push 0x36bffff
call fcn.004026b7
pop ecx
mov byte [0x4152fc], al
pop ecx
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
push 0xd6c7ffff
push 0x9835ffff
call fcn.00402794
add word [0x415304], ax
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.004053f1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.0040533b
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x34]
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_]
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x44]
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]
lea esp, [ebp - 0x188]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 9
call fcn.00404fb5
jmp 0x404ebd
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 9
call fcn.00405056
jmp 0x404ebd