Function at 0x10003aa0
Capabilities:
Create process on windows
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1000a0a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x1c], ebx
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 edi, 0x1000e31c
or ecx, 0xffffffff
mov dword [esp + 0x1d0], ebx
mov edx, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x1000e31c
lea ecx, [esp + 0x1e4]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
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 ecx, dword [ecx]
cmp eax, ecx
jne 0x10003b23
push 1
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x1d4], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
jmp 0x10004505
push ecx
lea edx, [esp + 0x34]
push eax
push edx
lea ecx, [esp + 0x1e4]
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 eax, dword [esp + 0x34]
mov byte [esp + 0x1d0], 1
cmp eax, ebx
jne 0x10003b4c
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 esi, dword [sym.imp.MSVCRT.dll__stricmp]
push str..mp3
push eax
call esi
add esp, 8
test eax, eax
jne 0x10003bc2
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0x1d0], 2
je 0x10003cd5
mov al, byte [esp + 0x1d8]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov ecx, esi
mov byte [esi], 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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x1e8]
mov edx, dword [ecx]
mov ecx, esi
push edx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, edi
call fcn.10004cd0
jmp 0x10003cd7
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x10003bcf
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 str..wma
push eax
call esi
add esp, 8
test eax, eax
je 0x10003c7c
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x10003bef
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 str..asf
push eax
call esi
add esp, 8
test eax, eax
je 0x10003c7c
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x10003c0b
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 0x1000e300
push eax
call esi
add esp, 8
test eax, eax
jne 0x10003cfa
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0x1d0], 4
je 0x10003cd5
mov cl, byte [esp + 0x1d8]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov byte [esi], cl
mov ecx, esi
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x1e8]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, 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_]
mov ecx, edi
call fcn.10006990
jmp 0x10003cd7
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0x1d0], 3
je 0x10003cd5
mov dl, byte [esp + 0x1d8]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov ecx, esi
mov byte [esi], dl
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 edx, [esp + 0x1e8]
mov ecx, dword [eax]
push ecx
push ebx
push edx
mov ecx, 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_]
mov ecx, edi
call fcn.10007430
jmp 0x10003cd7
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x1d0], 1
mov dword [esp + 0x14], eax
je 0x100044aa
mov ecx, eax
mov al, byte [ecx + 0x14]
test al, al
jne 0x10003d03
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x14], ebx
jmp 0x100044aa
mov al, byte [esp + 0x1e8]
test al, al
je 0x100044aa
push 0x1000ecc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [esp + 0x13]
mov esi, dword [str.SoftwareSohu_RDDownload]
mov byte [esp + 0xa4], cl
push ebx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa4], 0x80000002
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0xac]
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_char_const___unsigned_int_]
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d4], 5
mov byte [esp + 0x24], dl
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 edi, str.C:Program_FilesP4P
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10003dc3
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov eax, ecx
mov esi, str.C:Program_FilesP4P
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x40]
push ecx
push 0x1000eca8
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x1dc], 6
call fcn.10008860
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d4], 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 eax, [esp + 0x40]
push str._strmfea.exe
lea ecx, [esp + 0x94]
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__
lea edx, [esp + 0x1e4]
lea eax, [esp + 0x180]
push edx
push str.strmfea.exe__
push eax
mov byte [esp + 0x1e8], 9
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push str.__30000__
lea ecx, [esp + 0x160]
push eax
push ecx
mov byte [esp + 0x1f4], 0xa
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__
lea edx, [esp + 0x64]
mov byte [esp + 0x1f4], 0xb
push edx
push eax
lea eax, [esp + 0x180]
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___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push str._temp.tmp___
lea ecx, [esp + 0x198]
push eax
push ecx
mov byte [esp + 0x20c], 0xc
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__
lea edx, [esp + 0x7c]
mov byte [esp + 0x20c], 0xd
push edx
push eax
lea eax, [esp + 0xa4]
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___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x48
push str._temp.txt_
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0x1dc], 0xe
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
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1d4], 0x14
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 [esp + 0x1d0], 0x13
push 1
lea ecx, [esp + 0x168]
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 1
lea ecx, [esp + 0x158]
mov byte [esp + 0x1d4], 0x12
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 1
lea ecx, [esp + 0x148]
mov byte [esp + 0x1d4], 0x11
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 1
lea ecx, [esp + 0x178]
mov byte [esp + 0x1d4], 0x10
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, 0x10
xor eax, eax
lea edi, [esp + 0x188]
mov dword [esp + 0x184], 0x44
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1b0], 1
cmp eax, ebx
mov word [esp + 0x1b4], bx
jne 0x10003f68
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 str.CreateProcess:__s
push 1
call fcn.100032b0
mov ecx, dword [esp + 0x60]
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
cmp ecx, ebx
jne 0x10003f88
mov ecx, edx
mov eax, dword [esp + 0x94]
cmp eax, ebx
jne 0x10003f95
mov eax, edx
lea edx, [esp + 0x70]
push edx
lea edx, [esp + 0x188]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100043cc
push str.Run_strmfea...
push 1
call fcn.100032b0
mov eax, dword [esp + 0x78]
add esp, 8
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000439b
push str.Run_strmfea_success...
push 1
call fcn.100032b0
mov edx, dword [esp + 0x78]
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x18]
push eax
push str.Return_code:__d
push 1
call fcn.100032b0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
jne 0x100043b6
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
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 edi, str.C:Program_FilesP4P
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10004077
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov edx, ecx
mov esi, str.C:Program_FilesP4P
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x80]
push eax
push 0x1000eca8
push ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x1dc], 0x15
call fcn.10008860
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d4], 0x17
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 edi, str._temp.txt
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._temp.txt
lea ecx, [esp + 0x88]
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_]
mov eax, dword [esp + 0x84]
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 eax, ebx
je 0x100040e6
mov esi, eax
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ifstream_char__struct_std::char_traits_char__::vbtable]
lea ecx, [esp + 0x110]
mov dword [esp + 0xb4], edx
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x110], eax
push ebx
lea ecx, [esp + 0xc0]
push ebx
push ecx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1dc], 0x18
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
push ebx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1d4], 0x19
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_filebuf_char__struct_std::char_traits_char__::constructor_struct__iobuf__]
mov edx, dword [esp + 0xb4]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ifstream_char__struct_std::char_traits_char__::vftable]
push 1
push esi
mov eax, dword [edx + 4]
mov byte [esp + 0x1d8], 0x1a
mov dword [esp + eax + 0xbc], ecx
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_filebuf_char__struct_std::char_traits_char______thiscall_std::basic_filebuf_char__struct_std::char_traits_char__::open_char_const___int_]
test eax, eax
jne 0x10004199
mov edx, dword [esp + 0xb4]
push ebx
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0xbc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [esp + 0xb4]
mov byte [esp + 0x1d0], 0x1b
mov edx, dword [ecx + 4]
test byte [esp + edx + 0xb8], 6
mov eax, dword [esp + 0x84]
je 0x100041da
cmp eax, ebx
jne 0x100041c5
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 str.Cant_find_temp_file_:__s
push 1
call fcn.100032b0
add esp, 0xc
jmp 0x10004303
cmp eax, ebx
jne 0x100041e3
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 str.open_temp_file_:__s
push 1
call fcn.100032b0
mov al, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], al
push ebx
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 [esp + 0x1d0], 0x1c
jmp 0x10004212
xor ebx, ebx
lea ecx, [esp + 0x60]
lea edx, [esp + 0xb4]
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
add esp, 8
cmp eax, ebx
jne 0x1000422f
xor ecx, ecx
jmp 0x10004236
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 4]
and dl, 6
neg dl
sbb edx, edx
not edx
test ecx, edx
je 0x100042de
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 eax, dword [esp + 0x14]
mov edx, dword [ecx]
lea ebp, [eax + 4]
push edx
lea eax, [esp + 0x64]
push ebx
push eax
mov ecx, ebp
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_]
mov edi, 0x1000e0a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
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 edx, dword [ecx]
mov ecx, dword [ebp + 8]
sub edx, ecx
cmp edx, esi
ja 0x10004290
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp esi, ebx
jbe 0x10004212
mov eax, dword [ebp + 8]
mov ebx, esi
add ebx, eax
push 0
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10004210
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, esi
add edi, eax
mov eax, ecx
mov esi, 0x1000e0a0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + ecx], 0
jmp 0x10004210
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x10004303
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100042fa
cmp al, 0xff
je 0x100042fa
dec al
mov byte [ecx], al
jmp 0x10004303
push ecx
call fcn.100098f0
add esp, 4
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0x110]
mov dword [esp + 0x1c], edx
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ifstream_char__struct_std::char_traits_char__::vftable]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xb4], edx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1d0], 0x1d
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_filebuf_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [esp + 0xb4]
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
mov byte [esp + 0x1d0], 0x17
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xb4], edx
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
lea ecx, [esp + 0x110]
mov dword [esp + 0x110], eax
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov ecx, dword [esp + 0x84]
cmp ecx, ebx
je 0x100043b6
mov al, byte [ecx - 1]
test al, al
je 0x1000438f
cmp al, 0xff
je 0x1000438f
dec al
mov byte [ecx - 1], al
jmp 0x100043b6
dec ecx
push ecx
call fcn.100098f0
add esp, 4
jmp 0x100043b6
mov ecx, dword [esp + 0x70]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.Terminate_strmfea...
push 1
call fcn.100032b0
add esp, 8
mov edx, dword [esp + 0x70]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x74]
push eax
call esi
jmp 0x100043db
push str.Run_strmfea_failed...
push 1
call fcn.100032b0
add esp, 8
push 0x1000ecc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
je 0x1000440a
mov al, byte [ecx - 1]
test al, al
je 0x10004400
cmp al, 0xff
je 0x10004400
dec al
mov byte [ecx - 1], al
jmp 0x1000440a
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x54], ebx
cmp ecx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x1000443d
mov al, byte [ecx - 1]
test al, al
je 0x10004433
cmp al, 0xff
je 0x10004433
dec al
mov byte [ecx - 1], al
jmp 0x1000443d
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x94], ebx
cmp ecx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
je 0x10004476
mov al, byte [ecx - 1]
test al, al
je 0x1000446c
cmp al, 0xff
je 0x1000446c
dec al
mov byte [ecx - 1], al
jmp 0x10004476
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x44], ebx
cmp eax, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x100044aa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100044a1
cmp al, 0xff
je 0x100044a1
dec al
mov byte [ecx], al
jmp 0x100044aa
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x100044ce
mov al, byte [ecx - 1]
test al, al
je 0x100044c4
cmp al, 0xff
je 0x100044c4
dec al
mov byte [ecx - 1], al
jmp 0x100044ce
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x34], ebx
cmp ecx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x10004501
mov al, byte [ecx - 1]
test al, al
je 0x100044f7
cmp al, 0xff
je 0x100044f7
dec al
mov byte [ecx - 1], al
jmp 0x10004501
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c4
ret