Function at 0x410b50
Capabilities:
Copy file
Create process on windows
Persist via lnk shortcut
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45dc58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7cc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edx, [esp + 0x13]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x38], esi
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
push 0x471668
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, esi
call fcn.00414eb0
test eax, eax
jne 0x411571
mov eax, dword [esp + 0x7ec]
push str..lnk
lea ecx, [esp + 0x78]
lea ebp, [eax + 0x8c]
push ebp
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
push 0x105
mov dword [esp + 0x7f4], 0
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov ecx, 0x41
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
push ebx
mov dword [esp + 0x50], ebx
stosb byte es:[edi], al
call fcn.00436da0
mov edi, 0x46f144
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x410c25
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 edi, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00405f30
add esp, 4
test eax, eax
jne 0x41153c
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 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_]
lea ecx, [esp + 0x40]
push 0
push ecx
mov byte [esp + 0x7ec], 1
call fcn.00406e60
mov eax, dword [esp + 0x50]
add esp, 8
lea esi, [eax - 1]
cmp eax, esi
jb 0x410cad
mov eax, dword [esp + 0x44]
test eax, eax
je 0x410cad
lea ecx, [esp + 0x40]
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 edx, dword [esp + 0x44]
add esi, edx
jmp 0x410cb3
mov esi, 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]
cmp byte [esi], 0x5c
je 0x410cd7
mov edi, 0x46f144
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x46f144
lea ecx, [esp + 0x48]
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_char_const___unsigned_int_]
lea eax, [esp + 0x40]
push 0x47165c
lea ecx, [esp + 0x54]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x7e4], 2
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x4c]
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 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7e8], 1
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 edx, [esp + 0x40]
push 0x471650
lea eax, [esp + 0x54]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x410d43
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]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
push 1
lea ecx, [esp + 0x54]
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 [esp + 0x7ec]
mov edx, 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 eax, dword [ecx + 4]
test eax, eax
jne 0x410d6c
mov eax, edx
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x410d75
mov ecx, edx
push eax
push ecx
lea edx, [esp + 0x3e4]
push 0x471638
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp + 4]
mov ebx, 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, 0x10
test eax, eax
jne 0x410d9c
mov eax, ebx
mov ecx, dword [esp + 0x7ec]
mov edi, ebx
mov edx, dword [ecx + 0xf0]
test edx, edx
je 0x410db1
mov edi, edx
mov edx, dword [ecx + 0x14]
add ecx, 0x10
test edx, edx
mov esi, ebx
je 0x410dbf
mov esi, edx
mov ecx, dword [esp + 0x7ec]
mov edx, dword [ecx + 0x80]
lea ebp, [ecx + 0x7c]
test edx, edx
jne 0x410dd5
mov edx, ebx
mov ecx, dword [esp + 0x7ec]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x410de5
mov ecx, ebx
push eax
push edi
push esi
push edx
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00415170
mov ebx, dword [esp + 0x7ec]
mov esi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push 0x47150c
lea edx, [ebx + 0xcc]
push edx
call esi
add esp, 8
test al, al
je 0x410f0a
mov ecx, dword [ebx + 4]
mov edx, 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]
test ecx, ecx
jne 0x410e28
mov ecx, edx
mov eax, dword [ebx + 0x90]
test eax, eax
jne 0x410e34
mov eax, edx
push ecx
push eax
lea eax, [esp + 0x3e4]
push 0x471620
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
jne 0x410e58
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]
push eax
lea ecx, [esp + 0x17]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x30], esp
push ecx
lea ecx, [ebx + 0xec]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea edx, [esp + 0x3f]
mov edi, esp
mov dword [esp + 0x38], esp
push edx
lea ecx, [ebx + 0x8c]
mov byte [esp + 0x80c], 3
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [esp + 0x57]
mov edi, esp
mov dword [esp + 0x94], esp
push eax
mov ecx, ebp
mov byte [esp + 0x81c], 4
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea ecx, [esp + 0x5e]
mov edi, esp
mov dword [esp + 0x78], esp
push ecx
lea ecx, [ebx + 0x10]
mov byte [esp + 0x82c], 5
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x828], 1
call fcn.00428d80
lea edx, [ebx + 0x9c]
push 0x47150c
push edx
call esi
add esp, 8
test al, al
je 0x411133
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xd8]
push str.soft.ini
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push 0x476b70
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x410f56
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]
push eax
lea ecx, [esp + 0xdc]
push 0x104
push ecx
push 0x471610
push 0x471604
push 0x471600
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [esp + 0x68]
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, 0x11
xor eax, eax
lea edi, [esp + 0x94]
lea edx, [esp + 0xd8]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x54]
push 0x476b70
push eax
mov dword [esp + 0xa0], 0x44
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov eax, dword [esp + 0x54]
mov byte [esp + 0x7e4], 6
test eax, eax
jne 0x410fcf
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]
push eax
call fcn.00405f20
add esp, 4
test eax, eax
je 0x411106
lea ecx, [esp + 0xd8]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov ecx, dword [eax + 4]
mov edx, 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, 0xc
test ecx, ecx
jne 0x411009
mov ecx, edx
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x411013
mov eax, edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 1
lea ecx, [esp + 0x68]
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 [ebx + 0xb0]
mov esi, 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]
test eax, eax
mov ebx, esi
je 0x41103d
mov ebx, eax
mov ecx, dword [esp + 0x7ec]
mov edi, esi
mov eax, dword [ecx + 0xc0]
test eax, eax
je 0x411052
mov edi, eax
lea eax, [ecx + 0x8c]
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x411064
mov esi, eax
lea ecx, [esp + 0xd8]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x41108a
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]
push ebx
push edi
push esi
push eax
lea ecx, [esp + 0x1ec]
push 0x4715e8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x80]
add esp, 0x18
test eax, eax
je 0x4110cc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4110c3
cmp al, 0xff
je 0x4110c3
dec al
mov byte [ecx], al
jmp 0x4110cc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x84]
lea eax, [esp + 0x94]
push edx
push eax
push 0
push 0
push 0x10
push 0
push 0
lea ecx, [esp + 0x1f8]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x7e4], 1
test eax, eax
je 0x411133
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41112a
cmp al, 0xff
je 0x41112a
dec al
mov byte [ecx], al
jmp 0x411133
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x1a]
lea ecx, [esp + 0x23]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004163a0
push 0x476804
push 0x4714f8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7ec], 7
call fcn.0040c590
push 0x476804
push 0x471528
lea ecx, [esp + 0x2c]
call fcn.0040c590
push 0x476804
push str.version
lea ecx, [esp + 0x2c]
call fcn.0040c590
push 0x476804
push 0x47151c
lea ecx, [esp + 0x2c]
call fcn.0040c590
push 0x476804
push 0x471510
lea ecx, [esp + 0x2c]
call fcn.0040c590
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4], 8
call fcn.0040e8a0
push 0x4715e0
push 0x4714e0
lea ecx, [esp + 0x2c]
call fcn.0040c590
mov esi, 0x4714c0
mov eax, 0x4715e0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411203
test cl, cl
je 0x4111ff
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411203
add eax, 2
add esi, 2
test cl, cl
jne 0x4111db
xor eax, eax
jmp 0x411208
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411247
mov esi, str.mini
mov eax, 0x4715e0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41123e
test cl, cl
je 0x41123a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41123e
add eax, 2
add esi, 2
test cl, cl
jne 0x411216
xor eax, eax
jmp 0x411243
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41125a
push 0x476804
push str.biz_stay_time
lea ecx, [esp + 0x2c]
call fcn.0040c590
mov eax, dword [esp + 0x38]
sub esp, 0x10
add eax, 0x260
mov ecx, esp
xor edi, edi
mov dword [esp + 0x44], esp
mov dl, byte [eax]
mov dword [ecx + 4], edi
mov byte [ecx], dl
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov bl, 9
mov edx, dword [edx]
mov byte [esp + 0x7f4], bl
push edx
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 esi, dword [esp + 0x48]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x80], esp
lea eax, [esi + 0x16c]
mov byte [esp + 0x804], 0xa
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x10
add esi, 0x15c
mov ecx, esp
mov dword [esp + 0x4c], esp
push esi
mov byte [esp + 0x818], 0xb
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0x814], bl
push ecx
call fcn.004273c0
mov edx, dword [esp + 0x820]
add esp, 0x34
mov eax, dword [edx + 4]
cmp eax, edi
jne 0x4112ff
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]
push eax
push 0x4714d8
lea ecx, [esp + 0x2c]
call fcn.0040c590
mov eax, dword [esp + 0x3c]
push eax
call fcn.00405f30
add esp, 4
test eax, eax
je 0x411337
push 0x471478
push 0x4714cc
lea ecx, [esp + 0x2c]
call fcn.0040c590
jmp 0x41146b
mov edi, 0x47154c
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], 0x4714cc
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov edi, 0x47154c
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x34]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, 0x47154c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00416600
cmp dword [eax], esi
setne al
test al, al
je 0x4113ff
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
call fcn.00416450
cmp dword [eax], 0
je 0x4113f8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00416450
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
call fcn.00416450
mov dword [eax], 0
lea eax, [esp + 0x14]
push eax
jmp 0x411460
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x18]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x1c], edx
repne scasb al, byte es:[edi]
not ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00416450
mov dword [eax], ebp
lea edx, [esp + 0x24]
push edx
call fcn.004105e0
add esp, 4
lea eax, [esp + 0x1b]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
push 0x471668
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, dword [esp + 0x4c]
call fcn.00414ff0
lea ecx, [esp + 0x34]
mov byte [esp + 0x7e4], 0xc
push ecx
lea ecx, [esp + 0x28]
call fcn.004540d0
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x1c], eax
je 0x4114f5
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
test ecx, ecx
je 0x4114d3
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
test esi, esi
je 0x4114e0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00417750
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x4114c0
mov eax, dword [ecx]
push ecx
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00416ad0
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4], 1
call fcn.004166e0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x41153c
mov al, byte [ecx - 1]
test al, al
je 0x411532
cmp al, 0xff
je 0x411532
dec al
mov byte [ecx - 1], al
jmp 0x41153c
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41154d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x411571
mov al, byte [ecx - 1]
test al, al
je 0x411567
cmp al, 0xff
je 0x411567
dec al
mov byte [ecx - 1], al
jmp 0x411571
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7d8
ret 4