Function at 0x439a10
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff2ba
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
push 0x51570c
mov ecx, esi
call fcn.004199b0
mov eax, dword [esi]
push eax
push 0x6f
push 0x70
push ebx
lea ecx, [ebp - 0x25c]
call fcn.00495240
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x258]
call fcn.0042f330
cmp eax, 1
jne 0x439fde
mov byte [ebp - 0x25d], 0
lea ecx, [ebp - 0x130]
push ecx
mov ecx, esi
call fcn.004199b0
mov eax, dword [esi]
push edi
push eax
call fcn.004dd23c
add esp, 8
test eax, eax
jne 0x439b63
push 0x3f0
push 0x66
push eax
mov edx, dword [ebp - 0x268]
push edx
push ebx
call fcn.00439050
add esp, 0x14
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 2
mov byte [ebp - 4], bl
mov byte [ebp - 4], 3
push str.RestoreVault::The_source_and_destination_folders_cannot_be_the_same.
lea eax, [ebp - 0x318]
push eax
call fcn.0041e560
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x318]
call fcn.0041dc00
mov byte [ebp - 0x25d], 1
jmp 0x439f36
push 0x514670
push esi
lea edx, [ebp - 0x264]
push edx
call fcn.004223e0
mov byte [ebp - 4], 5
push str.ewallet.dat
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004223e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x264]
call fcn.00416630
push 0x514670
push esi
lea ecx, [ebp - 0x264]
push ecx
call fcn.004223e0
mov byte [ebp - 4], 8
push str.pwd_vault.dat
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.004223e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x264]
call fcn.00416630
lea eax, [ebp - 0x26c]
push eax
call fcn.00437d10
add esp, 4
test al, al
je 0x439f77
push 1
push 0
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x439ea4
push edi
lea ecx, [ebp - 0x264]
call fcn.0041ad50
mov byte [ebp - 4], 0xb
push 0x514670
lea ecx, [ebp - 0x264]
call fcn.0041d470
push str.ewallet.dat
lea ecx, [ebp - 0x264]
call fcn.0041d470
push edi
lea ecx, [ebp - 0x270]
call fcn.0041ad50
mov byte [ebp - 4], 0xc
push 0x514670
lea ecx, [ebp - 0x270]
call fcn.0041d470
push str.pwd_vault.dat
lea ecx, [ebp - 0x270]
call fcn.0041d470
push 0
mov edx, dword [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
call esi
test eax, eax
je 0x439e21
push 1
push 0
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x439d68
push 0
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x268]
push eax
call esi
test eax, eax
jne 0x439e15
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 0xd
mov byte [ebp - 4], bl
mov byte [ebp - 4], 0xe
push 0x54271c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Param_2__
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
lea edx, [ebp - 0x318]
push edx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x318]
call fcn.0041dc00
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x270]
call fcn.00416630
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x264]
call fcn.00416630
jmp 0x439f18
push 1
push 0
mov esi, dword [ebp - 0x270]
push esi
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x439e15
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x439e15
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 0x10
mov byte [ebp - 4], bl
mov byte [ebp - 4], 0x11
push 0x54271c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Param_3__
lea eax, [ebp - 0x318]
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
jmp 0x439d29
mov byte [ebp - 0x25d], 1
jmp 0x439d38
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 0x13
mov byte [ebp - 4], bl
mov byte [ebp - 4], 0x14
push 0x54271c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Param_1__
lea edx, [ebp - 0x318]
push edx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
lea eax, [ebp - 0x318]
push eax
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
jmp 0x439d29
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 0x16
mov byte [ebp - 4], bl
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x26c]
push ecx
push str.Failed_to_restore_vault_from_folder
lea edx, [ebp - 0x318]
push edx
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
lea eax, [ebp - 0x318]
push eax
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x318]
call fcn.0041dc00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.00416630
movzx esi, byte [ebp - 0x25d]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00495480
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 0x19
mov byte [ebp - 4], bl
mov byte [ebp - 4], 0x1a
push str.AuthenticateUserForRestore_failed
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041e560
add esp, 8
lea edx, [ebp - 0x318]
push edx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
jmp 0x439f09
push 0xffffffffffffffff
push 3
push 1
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x318]
call fcn.0041f520
mov ebx, 0x1c
mov byte [ebp - 4], bl
mov byte [ebp - 4], 0x1d
push 0x54271c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Param_9__
lea eax, [ebp - 0x318]
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x318]
call fcn.0041dc00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00495480
or eax, 0xffffffff
jmp 0x439f4e