Function at 0x431dba
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1f90
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov esi, 0x3e7
mov dword [ebp - 0x1f90], eax
push esi
push eax
mov dword [ebp - 0x1f8c], eax
mov byte [ebp - 0x818], al
lea eax, [ebp - 0x817]
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x13cf]
mov byte [ebp - 0x13d0], 0
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x1b9f]
mov byte [ebp - 0x1ba0], 0
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xbff]
mov byte [ebp - 0xc00], 0
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xfe7]
mov byte [ebp - 0xfe8], 0
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x42f]
mov byte [ebp - 0x430], 0
push 0
push eax
call fcn.00626f50
add esp, 0x48
lea edi, [ebp - 0x48]
mov esi, str.select_module__setting__val_from_dbrw_settings_order_by_module_asc
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, str.RecoverMirandaPaswordFromFile
push edi
push str._s_:_Looking_for_Miranda_accounts...
call fcn.00449974
push ebx
call fcn.00449791
add esp, 0xc
test eax, eax
jne 0x431eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push edi
push str._s_:_Specified_account_file____s__does_not_exist__Error0x_.8x
call fcn.00449974
jmp 0x43268b
lea eax, [ebp - 0x1f88]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
xor esi, esi
push esi
push 0x186a0
push edx
push eax
call fcn.005feba0
push edx
push eax
lea eax, [ebp - 0x1f88]
push eax
push str._smirda__d
lea eax, [ebp - 0x17b8]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x17b8]
push eax
push edi
push str._n_s_:_Final_Miranda_temp_account_path_is__s
call fcn.00449974
add esp, 0x24
lea eax, [ebp - 0x17b8]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x431f41
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x17b8]
push eax
push ebx
push edi
push str._s:_Failed_to_copy_file__s_to_tmp_file__s__Error0x_.8x
call fcn.00449974
add esp, 0x14
jmp 0x431f5c
lea eax, [ebp - 0x17b8]
push eax
push edi
push str._s:_Successfully_copied_to_tmp_file__s
call fcn.00449974
add esp, 0xc
lea ebx, [ebp - 0x17b8]
push ebx
push edi
push str._n_s_:_Final_Miranda_account_file_path_is__s
call fcn.00449974
push esi
push 1
lea eax, [ebp - 0x1f90]
push eax
push ebx
call fcn.0045c0d6
add esp, 0x1c
test eax, eax
je 0x431f8c
push eax
push ebx
push edi
push str._s_:_Failed_to_open_the_database_file__s__Error___d
jmp 0x431eaa
xor ebx, ebx
lea eax, [ebp - 0x1f8c]
push ebx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x1f90]
call fcn.0045c571
add esp, 0x14
test eax, eax
jne 0x432674
cmp dword [ebp - 0x1f8c], ebx
je 0x432674
push edi
push str._n_s_:_Accounts_query_executed_successfully...Now_going_through_each_entries
call fcn.00449974
lea eax, [ebp - 0x13d0]
mov esi, 0x3e8
push eax
lea eax, [ebp - 0x1ba0]
push esi
push eax
call fcn.006311ec
push dword [ebp - 0x1f8c]
call fcn.0045ccca
add esp, 0x18
cmp eax, 0x65
je 0x43264a
mov edi, 0x66ae5d
cmp eax, 0x64
jne 0x43264a
push ebx
push dword [ebp - 0x1f8c]
call fcn.0045ce99
push eax
lea eax, [ebp - 0x13d0]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x1ba0]
push eax
lea eax, [ebp - 0x13d0]
push eax
call fcn.00631435
add esp, 0x1c
test eax, eax
je 0x432056
mov byte [ebp - 0xc00], bl
mov byte [ebp - 0x430], bl
mov byte [ebp - 0x818], bl
push 1
push dword [ebp - 0x1f8c]
call fcn.0045ce99
push eax
lea eax, [ebp - 0xc00]
push esi
push eax
call fcn.006311ec
push 2
push dword [ebp - 0x1f8c]
call fcn.0045ce99
push eax
lea eax, [ebp - 0xfe8]
push esi
push eax
call fcn.006311ec
push str.YAHOO_
call fcn.00631510
push eax
lea eax, [ebp - 0x13d0]
push str.YAHOO_
push eax
call fcn.006317d8
add esp, 0x38
test eax, eax
jne 0x432172
lea eax, [ebp - 0xc00]
push str.yahoo_id
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4320e1
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x818]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xc00]
push str.Password
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x43212d
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x430]
push ebx
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00407f21
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
lea eax, [ebp - 0x430]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x818]
push eax
push str.Yahoo__Account
jmp 0x432606
push str.MSN_
call fcn.00631510
push eax
lea eax, [ebp - 0x13d0]
push str.MSN_
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x432258
lea eax, [ebp - 0xc00]
push str.e_mail
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4321c7
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x818]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xc00]
push str.Password
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x432213
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x430]
push ebx
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00407f21
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
lea eax, [ebp - 0x430]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x818]
push eax
push str.MSN_Account
jmp 0x432606
push str.ICQ_
call fcn.00631510
push eax
lea eax, [ebp - 0x13d0]
push str.ICQ_
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x43233e
lea eax, [ebp - 0xc00]
push 0x678718
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4322ad
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x818]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xc00]
push str.Password
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4322f9
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x430]
push ebx
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00407f21
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
lea eax, [ebp - 0x430]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x818]
push eax
push str.ICQ_Account
jmp 0x432606
push 0x678728
call fcn.00631510
push eax
lea eax, [ebp - 0x13d0]
push 0x678728
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x432424
lea eax, [ebp - 0xc00]
push str.e_mail
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x432393
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x818]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xc00]
push str.Password
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4323df
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x430]
push ebx
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00407f21
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
lea eax, [ebp - 0x430]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x818]
push eax
push str.GG_Account
jmp 0x432606
push str.AIM_
call fcn.00631510
push eax
lea eax, [ebp - 0x13d0]
push str.AIM_
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x43250a
lea eax, [ebp - 0xc00]
push 0x678740
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x432479
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x818]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xc00]
push str.Password
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4324c5
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x430]
push ebx
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00407f21
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
lea eax, [ebp - 0x430]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x818]
push eax
push str.AIM_Account
jmp 0x432606
push str.JABBER_
call fcn.00631510
push eax
lea eax, [ebp - 0x13d0]
push str.JABBER_
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x43261f
lea eax, [ebp - 0xc00]
push str.LoginName
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x43255f
lea eax, [ebp - 0xfe8]
push eax
lea eax, [ebp - 0x818]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xc00]
push str.LoginPassword
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x4325ce
push 2
push dword [ebp - 0x1f8c]
call fcn.0045cdd9
push 2
push dword [ebp - 0x1f8c]
mov esi, eax
call fcn.0045cf5f
mov edi, eax
push edi
push str.RecoverMirandaPaswordFromFile
push str._s_Jabber___login_password_of_size__d
call fcn.00449974
push edi
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.006269d0
push 1
lea eax, [ebp - 0x430]
push edi
push eax
call fcn.00407f21
add esp, 0x34
mov esi, 0x3e8
mov edi, 0x66ae5d
lea eax, [ebp - 0x818]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
lea eax, [ebp - 0x430]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43261f
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x818]
push eax
push str.Jabber_Account
push edi
push 0x6e
push 3
call fcn.00412c85
mov byte [ebp - 0x818], bl
add esp, 0x20
mov byte [ebp - 0x430], bl
lea eax, [ebp - 0x13d0]
push eax
lea eax, [ebp - 0x1ba0]
push esi
push eax
call fcn.006311ec
push dword [ebp - 0x1f8c]
call fcn.0045ccca
add esp, 0x10
cmp eax, 0x65
jne 0x432007
push dword [ebp - 0x1f8c]
call fcn.0045cfda
push dword [ebp - 0x1f90]
call fcn.0045b0c9
pop ecx
pop ecx
lea ecx, [ebp - 0x17b8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x432690
push eax
push edi
push str._s_:_Failed_to_query_the_accounts_table_for__list__Error___d
call fcn.00449974
push dword [ebp - 0x1f90]
call fcn.0045b0c9
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret