Function at 0x4aac19
Capabilities:
Move file

Disassembly:
push 0x1cc
mov eax, 0x5387ef
call fcn.004e47f3
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.00425011
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push eax
call fcn.004a877f
add esp, 0x10
test al, al
je 0x4aae1b
push edi
call fcn.004a877f
pop ecx
test al, al
je 0x4aad5e
cmp dword [edi + 0x14], 0x10
jb 0x4aac87
mov eax, dword [edi]
jmp 0x4aac89
mov eax, edi
push eax
call fcn.0050fef9
mov dword [ebp - 0x10c], eax
pop ecx
test eax, eax
je 0x4aad5e
push str.ReadFileContents
lea ecx, [ebp - 0x74]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.004147d9
mov byte [ebp - 4], 2
call fcn.0050c40b
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.004a9b5a
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.004881f4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 4
call fcn.004a9e5d
lea ecx, [ebp - 0x104]
call fcn.0041fcfc
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00416ab1
lea ecx, [ebp - 0x74]
push ebx
push esi
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
mov eax, dword [ebp - 0xf8]
jmp 0x4ab57b
cmp dword [edi + 0x14], 0x10
jb 0x4aad68
mov ecx, dword [edi]
jmp 0x4aad6a
mov ecx, edi
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push ecx
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.0050ff46
mov dword [ebp - 0x10c], eax
pop ecx
pop ecx
test eax, eax
je 0x4aae1b
push str.ReadFileContents
lea ecx, [ebp - 0x74]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.004147d9
mov byte [ebp - 4], 6
call fcn.0050c40b
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.004a9b5a
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.004881f4
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004a9e5d
lea ecx, [ebp - 0x104]
call fcn.0041fcfc
xor esi, esi
inc esi
jmp 0x4aad25
push edi
call fcn.004a877f
pop ecx
test al, al
jne 0x4aaf2f
push 0x550335
lea ecx, [ebp - 0x74]
call fcn.004147d9
push 0x550cc8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.004147d9
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.004abd56
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00416ab1
xor esi, esi
mov byte [ebp - 4], 0xd
push ebx
inc esi
lea ecx, [ebp - 0x74]
push esi
call fcn.00416ab1
cmp byte [ebp - 0x108], 0
je 0x4aaf1f
push str.ReadFileContents
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
push str.file_doesnt_exist_and_FileStore_failed
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.004147d9
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.00488372
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004a9e5d
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00416ab1
lea ecx, [ebp - 0x2c]
push ebx
push esi
call fcn.00416ab1
lea ecx, [ebp - 0x104]
call fcn.0041fcfc
jmp 0x4aad46
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0041fcfc
jmp 0x4aaf32
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.004a879e
add esp, 0xc
cmp byte [ebp - 0x108], 0
mov byte [ebp - 4], 0x11
je 0x4aafdf
push str.ReadFileContents
lea ecx, [ebp - 0x44]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.004147d9
mov byte [ebp - 4], 0x13
call fcn.0050c40b
push eax
lea eax, [ebp - 0x5c]
push str.unable_to_get_file_size__errno
push eax
call fcn.004ad490
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.00488372
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004a9e5d
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
lea ecx, [ebp - 0x44]
jmp 0x4aaf08
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0041fcfc
mov eax, dword [ebp - 0x118]
or eax, dword [ebp - 0x114]
jne 0x4ab086
push str.ReadFileContents
lea ecx, [ebp - 0x5c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.004147d9
push str.file_size_is_zero
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.004147d9
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.004881f4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x18
call fcn.004a9e5d
lea ecx, [ebp - 0x104]
call fcn.0041fcfc
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00416ab1
lea ecx, [ebp - 0x5c]
jmp 0x4aad3f
push esi
lea ecx, [ebp - 0x1d8]
call fcn.004a8587
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 0x19
jb 0x4ab09e
mov edi, dword [edi]
push 0x40
push 0x21
push edi
lea ecx, [ebp - 0x1d8]
call fcn.004a930b
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1cc], 6
je 0x4ab165
push str.ReadFileContents
lea ecx, [ebp - 0x44]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.004147d9
mov byte [ebp - 4], 0x1b
call fcn.0050c40b
push eax
lea eax, [ebp - 0x5c]
push str.file_open_failed__errno
push eax
call fcn.004ad490
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.004881f4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004a9e5d
lea ecx, [ebp - 0x104]
call fcn.0041fcfc
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00416ab1
lea ecx, [ebp - 0x1d8]
call fcn.004a86bc
jmp 0x4aad46
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.004250bb
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4ab20a
lea eax, [ebp - 0xf0]
push eax
call fcn.004a8ca9
cmp dword [ebp - 0xe0], 0
pop ecx
jne 0x4ab1e8
mov byte [ebp - 0xf1], 1
jmp 0x4ab1a8
cmp byte [ebp - 0xf1], 0
lea eax, [ebp - 0xf0]
je 0x4ab332
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00416c90
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.00416ab1
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.0048c3d1
add esp, 0xc
lea ecx, [ebp - 0xc0]
push eax
call fcn.00414765
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
cmp dword [ebp - 0xb0], 0
jne 0x4ab343
push str.ReadFileContents
lea ecx, [ebp - 0x5c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x28
call fcn.004147d9
push str.datastore_file_empty
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
call fcn.004147d9
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.004881f4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x2b
call fcn.004a9e5d
lea ecx, [ebp - 0x68]
call fcn.0041fcfc
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00416ab1
lea ecx, [ebp - 0x5c]
push ebx
push 1
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.00416ab1
lea ecx, [ebp - 0x104]
call fcn.004169a4
lea ecx, [ebp - 0x1d8]
call fcn.004a86bc
push ebx
push 1
jmp 0x4aad48
push eax
lea ecx, [ebp - 0x104]
call fcn.00414552
jmp 0x4ab1a8
cmp dword [ebp - 0xc8], 0
mov byte [ebp - 0xa8], 1
je 0x4ab43a
lea eax, [ebp - 0xc0]
mov byte [ebp - 0xa8], bl
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004aa479
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0xd8]
call fcn.004146f4
neg eax
sbb al, al
inc al
xor al, 1
je 0x4ab428
push str.ReadFileContents
lea ecx, [ebp - 0x5c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2d
call fcn.004147d9
push str.datastore_file_checksum_mismatch
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2e
call fcn.004147d9
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.004881f4
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x30
call fcn.004a9e5d
lea ecx, [ebp - 0x68]
call fcn.0041fcfc
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00416ab1
lea ecx, [ebp - 0xa4]
jmp 0x4ab2f0
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x27
call fcn.00416ab1
mov edi, dword [ebp - 0xf8]
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
mov byte [edi + 0x1c], 1
call fcn.004ac645
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.00416ab1
lea ecx, [ebp - 0x104]
call fcn.004169a4
lea ecx, [ebp - 0x1d8]
call fcn.004a86bc
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
mov eax, edi
jmp 0x4ab57b
call fcn.004e4740
ret