Function at 0x4abec1
Capabilities:
Move file

Disassembly:
push 0x148
mov eax, 0x538c2f
call fcn.004e48a0
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
push str..temp
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x74]
push edi
push eax
mov dword [ebp - 0xa0], esi
call fcn.00425011
push str..commit
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], esi
push edi
push eax
call fcn.00425011
add esp, 0x18
xor ebx, ebx
lea ecx, [ebp - 0x154]
inc ebx
push ebx
mov byte [ebp - 4], bl
call fcn.004aa006
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push 0x40
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x154]
push 0x32
push eax
mov byte [ebp - 4], 2
call fcn.004ac902
cmp dword [ebp - 0x104], esi
jne 0x4ac002
push str.WriteFileContents
lea ecx, [ebp - 0x44]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004147d9
mov byte [ebp - 4], 4
call fcn.0050c49b
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_not_f.is_open__errno
push eax
call fcn.004ad5c4
add esp, 0xc
push 0xd3
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x94]
push eax
push ebx
call fcn.00488294
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
lea ecx, [ebp - 0x44]
push esi
push ebx
call fcn.00416ab1
lea ecx, [ebp - 0x154]
call fcn.004aa513
push esi
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00416ab1
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.00416ab1
mov eax, dword [ebp - 0x94]
jmp 0x4ac3a3
push dword [ebp - 0x9c]
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 6
push eax
call fcn.004198b6
pop ecx
pop ecx
push 0x53ef7c
push eax
call fcn.00419540
pop ecx
pop ecx
push dword [ebp - 0x98]
push eax
call fcn.004198b6
pop ecx
pop ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 2
call fcn.004ac77e
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x148], 6
je 0x4ac0d3
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004147d9
mov byte [ebp - 4], 0xc
call fcn.0050c49b
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_close_failed__errno
push eax
call fcn.004ad5c4
add esp, 0xc
mov byte [ebp - 4], 0xd
push 0xe0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x94]
push eax
push ebx
call fcn.00488294
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.00416ab1
lea ecx, [ebp - 0x2c]
jmp 0x4abfd1
lea eax, [ebp - 0x5c]
push eax
call fcn.004a8892
pop ecx
test al, al
je 0x4ac153
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0050ff89
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4ac153
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.004147d9
mov byte [ebp - 4], 0xf
call fcn.0050c49b
push eax
push str.__errno
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push str.removing_commit_file_path_failed__err
push eax
call fcn.004a9cc6
add esp, 0x14
mov byte [ebp - 4], 0x10
push 0xe9
jmp 0x4ac09f
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.0050ffd6
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4ac1d2
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.004147d9
mov byte [ebp - 4], 0x12
call fcn.0050c49b
push eax
push str.__errno
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push str.renaming_temp_file_path_to_commit_file_path_failed__err
push eax
call fcn.004a9cc6
add esp, 0x14
mov byte [ebp - 4], 0x13
push 0xed
jmp 0x4ac09f
push edi
call fcn.004a8892
pop ecx
test al, al
je 0x4ac250
cmp dword [edi + 0x14], 0x10
jb 0x4ac1e7
mov eax, dword [edi]
jmp 0x4ac1e9
mov eax, edi
push eax
call fcn.0050ff89
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4ac250
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call fcn.004147d9
mov byte [ebp - 4], 0x15
call fcn.0050c49b
push eax
push str.__errno
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push str.removing_file_path_failed__err
push eax
call fcn.004a9cc6
add esp, 0x14
mov byte [ebp - 4], 0x16
push 0xf5
jmp 0x4ac09f
cmp dword [edi + 0x14], 0x10
jb 0x4ac258
mov edi, dword [edi]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push edi
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0050ffd6
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4ac2cc
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
call fcn.004147d9
mov byte [ebp - 4], 0x18
call fcn.0050c49b
push eax
push str.__errno
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push str.renaming_commit_file_path_to_file_path_failed__err
push eax
call fcn.004a9cc6
add esp, 0x14
mov byte [ebp - 4], 0x19
push 0xf9
jmp 0x4ac09f
mov ecx, dword [ebp - 0x94]
push 0x5e3d98
call fcn.0043aca7
jmp 0x4abfd8
call fcn.004e47ed
ret