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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc1c
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x43f]
push esi
push edi
push 0x3e7
push 0
push eax
mov byte [ebp - 0x440], 0
call fcn.00626f50
mov esi, str._accounts.dat
mov byte [ebp - 0xc10], 0
lea edi, [ebp - 0x14]
lea eax, [ebp - 0xc0f]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x3e7
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x827]
mov byte [ebp - 0x828], 0
push 0
push eax
call fcn.00626f50
and dword [ebp - 0xc18], 0
mov eax, 0x66ae5d
and dword [ebp - 0xc14], 0
mov edi, str.RecoverEMClientPasswords
test ebx, ebx
cmovne eax, ebx
push eax
push edi
push str._n__s_Entered___EM_Client_profile_path___s_
call fcn.00449974
add esp, 0x30
test ebx, ebx
je 0x427010
push ebx
call fcn.00631510
pop ecx
cmp eax, 1
jb 0x427010
push ebx
inc esi
lea eax, [ebp - 0x440]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x440]
push eax
call fcn.00631510
add esp, 0x10
cmp byte [ebp + eax - 0x441], 0x5c
jne 0x42705e
lea eax, [ebp - 0x440]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, esi
jae 0x4273b1
xor ebx, ebx
mov byte [ebp + eax - 0x440], bl
jmp 0x427060
lea eax, [ebp - 0x440]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x427042
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x4273a0
push 0x683198
mov esi, 0x3e8
lea eax, [ebp - 0x440]
push esi
push eax
call fcn.00631246
add esp, 0xc
jmp 0x427060
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x440]
push esi
push eax
call fcn.00631246
lea eax, [ebp - 0x440]
push eax
push edi
push str._n_s_Final_EM_Client_account_file_path__s
call fcn.00449974
lea eax, [ebp - 0x440]
push eax
call fcn.00449791
add esp, 0x1c
test eax, eax
jne 0x4270b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x440]
push eax
push edi
push str._s_:_Specified_EM_Client_account_file____s__does_not_exist__Error0x_.8x
call fcn.00449974
add esp, 0x10
jmp 0x4273a0
lea eax, [ebp - 0xc10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cdq
mov ecx, 0x186a0
idiv ecx
lea eax, [ebp - 0xc10]
push edx
push eax
push str._semacc__d
lea eax, [ebp - 0x828]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x828]
push eax
push edi
push str._n_s_:_Final__EM_client_temp_account_path_is__s
call fcn.00449974
add esp, 0x20
lea eax, [ebp - 0x828]
push ebx
push eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x427146
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x440]
push eax
push edi
push str._s:_Failed_to_copy_file__s_to_tmp_file__s__Error0x_.8x
call fcn.00449974
add esp, 0x14
lea esi, [ebp - 0x440]
jmp 0x427161
lea eax, [ebp - 0x828]
push eax
push edi
push str._s:_Successfully_copied_to_tmp_file__s
call fcn.00449974
add esp, 0xc
lea esi, [ebp - 0x828]
push esi
push edi
push str._n_s_Opening_EM_Client_account_file__s
call fcn.00449974
push ebx
push 1
lea eax, [ebp - 0xc18]
push eax
push esi
call fcn.0045c0d6
add esp, 0x1c
test eax, eax
je 0x427191
push eax
push esi
push edi
push str._s_:_Failed_to_open_the_database_file__s__Error___d
jmp 0x4270aa
push edi
push str._n_s_:_Recovering_from_Old_Version__accounts_table__of_Emclient
call fcn.00449974
pop ecx
pop ecx
push 8
pop ecx
push ebx
lea eax, [ebp - 0xc14]
mov esi, str.select_key__value_from_Accounts
push eax
lea eax, [ebp - 0x34]
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xc18]
call fcn.0045c571
add esp, 0x14
test eax, eax
jne 0x42725c
cmp dword [ebp - 0xc14], eax
je 0x42725c
push str.RecoverEMClientPasswords
push str._n_s_:_Accounts_query_executed_successfully...Now_going_through_each_entries
call fcn.00449974
push dword [ebp - 0xc14]
call fcn.0045ccca
add esp, 0xc
jmp 0x427249
cmp eax, 0x64
jne 0x42724e
push 1
push dword [ebp - 0xc14]
inc ebx
call fcn.0045cdd9
push 1
push dword [ebp - 0xc14]
mov edi, eax
call fcn.0045cf5f
mov esi, eax
push esi
push ebx
push str.RecoverEMClientPasswords
push str._n_s_:__d_Found_account_data_of_size__d
call fcn.00449974
push esi
push edi
call fcn.0041e1b5
push dword [ebp - 0xc14]
call fcn.0045ccca
add esp, 0x2c
cmp eax, 0x65
jne 0x4271ff
push dword [ebp - 0xc14]
call fcn.0045cfda
pop ecx
jmp 0x427275
push eax
push str.RecoverEMClientPasswords
push str._s_:_Failed_to_query_the_accounts_table_for_list__Error___d
call fcn.00449974
mov ebx, dword [ebp - 0xc18]
add esp, 0xc
push str.RecoverEMClientPasswords
push str._n_s_:_Now_Recovering_from_New_Version__AccountsJson_table__of_Emclient
call fcn.00449974
and dword [ebp - 0xc1c], 0
lea eax, [ebp - 0xc1c]
pop ecx
pop ecx
push 9
pop ecx
push 0
push eax
lea eax, [ebp - 0x58]
mov esi, str.select_key__value_from_AccountsJson
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc18]
call fcn.0045c571
add esp, 0x14
test eax, eax
jne 0x427375
cmp dword [ebp - 0xc1c], eax
je 0x427375
mov edi, str.RecoverEMClientPasswords
push edi
push str._n_s_:_Accountsjson_query_executed_successfully...Now_going_through_each_entries
call fcn.00449974
push dword [ebp - 0xc1c]
call fcn.0045ccca
add esp, 0xc
jmp 0x427346
cmp eax, 0x64
jne 0x42734b
push 1
push dword [ebp - 0xc1c]
inc ebx
call fcn.0045ce99
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42733a
push esi
call fcn.00631510
pop ecx
cmp eax, 0x2710
jbe 0x427324
mov byte [esi + 0x2328], 0
push esi
push ebx
push edi
push str._n_s_:__d_Found_account_value___s_
call fcn.00449974
push esi
call fcn.0041e402
add esp, 0x14
push dword [ebp - 0xc1c]
call fcn.0045ccca
pop ecx
cmp eax, 0x65
jne 0x4272f4
push dword [ebp - 0xc14]
call fcn.0045cfda
push dword [ebp - 0xc18]
call fcn.0045b0c9
pop ecx
pop ecx
lea ecx, [ebp - 0x828]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x4273a2
push eax
push str.RecoverEMClientPasswords
push str._s_:_Failed_to_query_the_AccountsJson_table_for_list__Error___d
call fcn.00449974
push dword [ebp - 0xc18]
call fcn.0045b0c9
add esp, 0x10
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3