Function at 0x4abb20
Capabilities:
Move file

Disassembly:
push 0x148
mov eax, 0x538969
call fcn.004e45be
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.00424c7f
push str..commit
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], esi
push edi
push eax
call fcn.00424c7f
add esp, 0x18
xor ebx, ebx
lea ecx, [ebp - 0x154]
inc ebx
push ebx
mov byte [ebp - 4], bl
call fcn.004a9c63
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.004ac59c
cmp dword [ebp - 0x104], esi
jne 0x4abc61
push str.WriteFileContents
lea ecx, [ebp - 0x44]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00414449
mov byte [ebp - 4], 4
call fcn.0050c1bb
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_not_f.is_open__errno
push eax
call fcn.004a992b
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.00487fc4
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00416721
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00416721
lea ecx, [ebp - 0x44]
push esi
push ebx
call fcn.00416721
lea ecx, [ebp - 0x154]
call fcn.004aa172
push esi
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00416721
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.00416721
mov eax, dword [ebp - 0x94]
jmp 0x4ac002
push dword [ebp - 0x9c]
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 6
push eax
call fcn.00419526
pop ecx
pop ecx
push 0x53ef7c
push eax
call fcn.004191b0
pop ecx
pop ecx
push dword [ebp - 0x98]
push eax
call fcn.00419526
pop ecx
pop ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 2
call fcn.004ac2ff
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x148], 6
je 0x4abd32
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00414449
mov byte [ebp - 4], 0xc
call fcn.0050c1bb
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_close_failed__errno
push eax
call fcn.004a992b
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.00487fc4
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00416721
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.00416721
lea ecx, [ebp - 0x2c]
jmp 0x4abc30
lea eax, [ebp - 0x5c]
push eax
call fcn.004a84e6
pop ecx
test al, al
je 0x4abdb2
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0050fcd9
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4abdb2
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.00414449
mov byte [ebp - 4], 0xf
call fcn.0050c1bb
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.004a98c1
add esp, 0x14
mov byte [ebp - 4], 0x10
push 0xe9
jmp 0x4abcfe
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.0050fd26
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4abe31
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.00414449
mov byte [ebp - 4], 0x12
call fcn.0050c1bb
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.004a98c1
add esp, 0x14
mov byte [ebp - 4], 0x13
push 0xed
jmp 0x4abcfe
push edi
call fcn.004a84e6
pop ecx
test al, al
je 0x4abeaf
cmp dword [edi + 0x14], 0x10
jb 0x4abe46
mov eax, dword [edi]
jmp 0x4abe48
mov eax, edi
push eax
call fcn.0050fcd9
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4abeaf
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call fcn.00414449
mov byte [ebp - 4], 0x15
call fcn.0050c1bb
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.004a98c1
add esp, 0x14
mov byte [ebp - 4], 0x16
push 0xf5
jmp 0x4abcfe
cmp dword [edi + 0x14], 0x10
jb 0x4abeb7
mov edi, dword [edi]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push edi
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0050fd26
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4abf2b
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
call fcn.00414449
mov byte [ebp - 4], 0x18
call fcn.0050c1bb
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.004a98c1
add esp, 0x14
mov byte [ebp - 4], 0x19
push 0xf9
jmp 0x4abcfe
mov ecx, dword [ebp - 0x94]
push 0x5e6d98
call fcn.0043a917
jmp 0x4abc37
call fcn.004e450b
ret