Function at 0x2001a77
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x1c]
push str.Crash2.txt
lea edi, [esi + 0x50]
push eax
mov dword [ebp - 4], edi
call fcn.02005343
pop ecx
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.02002d2a
push eax
lea eax, [ebp - 8]
push eax
call fcn.02002d6b
push eax
mov ecx, edi
call fcn.02002591
lea ecx, [ebp - 8]
call fcn.02002a96
lea ecx, [ebp - 0x18]
call fcn.02002a96
lea ecx, [ebp - 0x1c]
call fcn.02002a96
push 0
mov ecx, edi
call fcn.020029fb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
call fcn.02004df4
pop ecx
mov ebx, str.INFO
pop ecx
push dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x14]
push str.Version
push ebx
call edi
lea eax, [esi + 0x44]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.02001dab
mov eax, dword [eax + 4]
test eax, eax
jne 0x2001b20
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.02004f23
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x3c]
push eax
call fcn.0200501e
mov eax, dword [ebp - 0x38]
pop ecx
test eax, eax
jne 0x2001b4d
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 eax, [ebp - 0x5c]
push eax
call fcn.020050fd
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax]
test ecx, ecx
jne 0x2001b6b
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push ecx
push str.System_Info
push ebx
call edi
lea eax, [ebp - 0x10]
push eax
call fcn.02004c28
mov eax, dword [ebp - 4]
pop ecx
push dword [eax]
push dword [ebp - 0x10]
push str.Process
push ebx
call edi
lea eax, [ebp - 0xc]
push eax
call fcn.02004eb5
mov eax, dword [ebp - 4]
pop ecx
push dword [eax]
push dword [ebp - 0xc]
push 0x20123bc
push ebx
call edi
mov eax, dword [ebp - 4]
push dword [eax]
push dword [esi + 0x30]
push str.UserId
push ebx
call edi
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x34]
xor eax, eax
mov dword [ebp - 8], ecx
cmp dword [edx - 8], eax
jne 0x2001bed
cmp dword [esi + 0x58], eax
jne 0x2001bed
mov esi, str.AutoSend
mov edx, esi
test edx, edx
je 0x2001be3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 8]
push esi
push eax
call fcn.02002b03
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [ecx - 8], 0
je 0x2001c55
lea eax, [ebp - 0x2c]
push ecx
push eax
call fcn.02004f23
lea eax, [ebp - 0x2c]
push eax
call fcn.0200501e
mov eax, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
jne 0x2001c17
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 eax, [ebp - 0x4c]
push eax
call fcn.020050fd
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax]
test ecx, ecx
jne 0x2001c35
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push ecx
push str.Comment
push ebx
call edi
push 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x2c]
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 - 0xc]
call fcn.02002a96
lea ecx, [ebp - 0x10]
call fcn.02002a96
push 1
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x3c]
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 - 0x14]
call fcn.02002a96
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret