Function at 0x4aa9e3
Capabilities:
Move file

Disassembly:
push 0x1cc
mov eax, 0x53862d
call fcn.004e45be
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x8c]
mov esi, dword [ebp + 8]
xor ebx, ebx
push str..commit
push edi
push eax
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x11c], ebx
call fcn.00424c7f
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push eax
call fcn.004a84e6
add esp, 0x10
test al, al
je 0x4aabe5
push edi
call fcn.004a84e6
pop ecx
test al, al
je 0x4aab28
cmp dword [edi + 0x14], 0x10
jb 0x4aaa51
mov eax, dword [edi]
jmp 0x4aaa53
mov eax, edi
push eax
call fcn.0050fcd9
mov dword [ebp - 0x10c], eax
pop ecx
test eax, eax
je 0x4aab28
push str.ReadFileContents
lea ecx, [ebp - 0x74]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00414449
mov byte [ebp - 4], 2
call fcn.0050c1bb
push eax
push str.__errno
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x2c]
push str.removing_file_path_failed__err
push eax
call fcn.004a98c1
add esp, 0x14
push 0x13b
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0xa4]
xor esi, esi
push ecx
push eax
inc esi
lea ecx, [ebp - 0x108]
push esi
call fcn.00487fc4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 4
call fcn.004a9c26
lea ecx, [ebp - 0x104]
call fcn.0041f96c
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00416721
lea ecx, [ebp - 0x74]
push ebx
push esi
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00416721
mov eax, dword [ebp - 0xf8]
jmp 0x4ab345
cmp dword [edi + 0x14], 0x10
jb 0x4aab32
mov ecx, dword [edi]
jmp 0x4aab34
mov ecx, edi
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push ecx
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.0050fd26
mov dword [ebp - 0x10c], eax
pop ecx
pop ecx
test eax, eax
je 0x4aabe5
push str.ReadFileContents
lea ecx, [ebp - 0x74]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.00414449
mov byte [ebp - 4], 6
call fcn.0050c1bb
push eax
push str.__errno
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x2c]
push str.renaming_commit_file_path_to_file_path_failed__err
push eax
call fcn.004a98c1
add esp, 0x14
push 0x13e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push eax
push 1
lea ecx, [ebp - 0x108]
call fcn.00487fc4
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004a9c26
lea ecx, [ebp - 0x104]
call fcn.0041f96c
xor esi, esi
inc esi
jmp 0x4aaaef
push edi
call fcn.004a84e6
pop ecx
test al, al
jne 0x4aacf9
push 0x550335
lea ecx, [ebp - 0x74]
call fcn.00414449
push 0x550cc8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.00414449
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004abb20
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00416721
xor esi, esi
mov byte [ebp - 4], 0xd
push ebx
inc esi
lea ecx, [ebp - 0x74]
push esi
call fcn.00416721
cmp byte [ebp - 0x108], 0
je 0x4aace9
push str.ReadFileContents
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
push str.file_doesnt_exist_and_FileStore_failed
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.00414449
push 0x145
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x108]
call fcn.00488142
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004a9c26
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00416721
lea ecx, [ebp - 0x2c]
push ebx
push esi
call fcn.00416721
lea ecx, [ebp - 0x104]
call fcn.0041f96c
jmp 0x4aab10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0041f96c
jmp 0x4aacfc
xor esi, esi
inc esi
lea eax, [ebp - 0x118]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x108]
movlpd qword [ebp - 0x118], xmm0
push edi
push eax
call fcn.004a8505
add esp, 0xc
cmp byte [ebp - 0x108], 0
mov byte [ebp - 4], 0x11
je 0x4aada9
push str.ReadFileContents
lea ecx, [ebp - 0x44]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.00414449
mov byte [ebp - 4], 0x13
call fcn.0050c1bb
push eax
lea eax, [ebp - 0x5c]
push str.unable_to_get_file_size__errno
push eax
call fcn.004a992b
add esp, 0xc
push 0x14d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.00488142
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004a9c26
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416721
lea ecx, [ebp - 0x44]
jmp 0x4aacd2
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0041f96c
mov eax, dword [ebp - 0x118]
or eax, dword [ebp - 0x114]
jne 0x4aae50
push str.ReadFileContents
lea ecx, [ebp - 0x5c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00414449
push str.file_size_is_zero
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.00414449
push 0x150
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x108]
call fcn.00487fc4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x18
call fcn.004a9c26
lea ecx, [ebp - 0x104]
call fcn.0041f96c
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00416721
lea ecx, [ebp - 0x5c]
jmp 0x4aab09
push esi
lea ecx, [ebp - 0x1d8]
call fcn.004a82ee
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 0x19
jb 0x4aae68
mov edi, dword [edi]
push 0x40
push 0x21
push edi
lea ecx, [ebp - 0x1d8]
call fcn.004a9072
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1cc], 6
je 0x4aaf2f
push str.ReadFileContents
lea ecx, [ebp - 0x44]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00414449
mov byte [ebp - 4], 0x1b
call fcn.0050c1bb
push eax
lea eax, [ebp - 0x5c]
push str.file_open_failed__errno
push eax
call fcn.004a992b
add esp, 0xc
push 0x156
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push esi
lea ecx, [ebp - 0x108]
call fcn.00487fc4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004a9c26
lea ecx, [ebp - 0x104]
call fcn.0041f96c
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416721
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00416721
lea ecx, [ebp - 0x1d8]
call fcn.004a8423
jmp 0x4aab10
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], ebx
push 0xf
pop esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 0xf1], bl
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00424d29
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4aafd4
lea eax, [ebp - 0xf0]
push eax
call fcn.004a8a10
cmp dword [ebp - 0xe0], 0
pop ecx
jne 0x4aafb2
mov byte [ebp - 0xf1], 1
jmp 0x4aaf72
cmp byte [ebp - 0xf1], 0
lea eax, [ebp - 0xf0]
je 0x4ab0fc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00416900
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.00416721
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xc0], bl
push 0x550335
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0048c182
add esp, 0xc
lea ecx, [ebp - 0xc0]
push eax
call fcn.004143d5
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416721
cmp dword [ebp - 0xb0], 0
jne 0x4ab10d
push str.ReadFileContents
lea ecx, [ebp - 0x5c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x28
call fcn.00414449
push str.datastore_file_empty
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
call fcn.00414449
push 0x177
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x6c]
call fcn.00487fc4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x2b
call fcn.004a9c26
lea ecx, [ebp - 0x68]
call fcn.0041f96c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00416721
lea ecx, [ebp - 0x5c]
push ebx
push 1
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.00416721
lea ecx, [ebp - 0x104]
call fcn.00416614
lea ecx, [ebp - 0x1d8]
call fcn.004a8423
push ebx
push 1
jmp 0x4aab12
push eax
lea ecx, [ebp - 0x104]
call fcn.004141c2
jmp 0x4aaf72
cmp dword [ebp - 0xc8], 0
mov byte [ebp - 0xa8], 1
je 0x4ab204
lea eax, [ebp - 0xc0]
mov byte [ebp - 0xa8], bl
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004aa244
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0xd8]
call fcn.00414364
neg eax
sbb al, al
inc al
xor al, 1
je 0x4ab1f2
push str.ReadFileContents
lea ecx, [ebp - 0x5c]
call fcn.00414449
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2d
call fcn.00414449
push str.datastore_file_checksum_mismatch
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2e
call fcn.00414449
push 0x17f
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x2f
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x6c]
call fcn.00487fc4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x30
call fcn.004a9c26
lea ecx, [ebp - 0x68]
call fcn.0041f96c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00416721
lea ecx, [ebp - 0xa4]
jmp 0x4ab0ba
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x27
call fcn.00416721
mov edi, dword [ebp - 0xf8]
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
mov byte [edi + 0x1c], 1
call fcn.004ac331
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00416721
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.00416721
lea ecx, [ebp - 0x104]
call fcn.00416614
lea ecx, [ebp - 0x1d8]
call fcn.004a8423
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00416721
mov eax, edi
jmp 0x4ab345
call fcn.004e450b
ret