Function at 0x4aadc9
Capabilities:
Move file

Disassembly:
push 0x1cc
mov eax, 0x538adf
call fcn.004e4a40
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.0042502e
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push eax
call fcn.004a8875
add esp, 0x10
test al, al
je 0x4aafcb
push edi
call fcn.004a8875
pop ecx
test al, al
je 0x4aaf0e
cmp dword [edi + 0x14], 0x10
jb 0x4aae37
mov eax, dword [edi]
jmp 0x4aae39
mov eax, edi
push eax
call fcn.00510109
mov dword [ebp - 0x10c], eax
pop ecx
test eax, eax
je 0x4aaf0e
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.0050c630
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.004a9d0b
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.00488424
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 4
call fcn.004aa00e
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 0x4ab72b
cmp dword [edi + 0x14], 0x10
jb 0x4aaf18
mov ecx, dword [edi]
jmp 0x4aaf1a
mov ecx, edi
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push ecx
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00510156
mov dword [ebp - 0x10c], eax
pop ecx
pop ecx
test eax, eax
je 0x4aafcb
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.0050c630
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.004a9d0b
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.00488424
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004aa00e
lea ecx, [ebp - 0x104]
call fcn.0041fcfc
xor esi, esi
inc esi
jmp 0x4aaed5
push edi
call fcn.004a8875
pop ecx
test al, al
jne 0x4ab0df
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.004abf06
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 0x4ab0cf
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.004885a2
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004aa00e
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 0x4aaef6
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0041fcfc
jmp 0x4ab0e2
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.004a8894
add esp, 0xc
cmp byte [ebp - 0x108], 0
mov byte [ebp - 4], 0x11
je 0x4ab18f
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.0050c630
push eax
lea eax, [ebp - 0x5c]
push str.unable_to_get_file_size__errno
push eax
call fcn.004a9ca9
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.004885a2
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004aa00e
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 0x4ab0b8
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0041fcfc
mov eax, dword [ebp - 0x118]
or eax, dword [ebp - 0x114]
jne 0x4ab236
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.00488424
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x18
call fcn.004aa00e
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 0x4aaeef
push esi
lea ecx, [ebp - 0x1d8]
call fcn.004a867d
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 0x19
jb 0x4ab24e
mov edi, dword [edi]
push 0x40
push 0x21
push edi
lea ecx, [ebp - 0x1d8]
call fcn.004a9401
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1cc], 6
je 0x4ab315
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.0050c630
push eax
lea eax, [ebp - 0x5c]
push str.file_open_failed__errno
push eax
call fcn.004a9ca9
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.00488424
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004aa00e
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.004a87b2
jmp 0x4aaef6
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.004250d8
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4ab3ba
lea eax, [ebp - 0xf0]
push eax
call fcn.004a8d9f
cmp dword [ebp - 0xe0], 0
pop ecx
jne 0x4ab398
mov byte [ebp - 0xf1], 1
jmp 0x4ab358
cmp byte [ebp - 0xf1], 0
lea eax, [ebp - 0xf0]
je 0x4ab4e2
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.0048c5ff
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 0x4ab4f3
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.00488424
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x2b
call fcn.004aa00e
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.004a87b2
push ebx
push 1
jmp 0x4aaef8
push eax
lea ecx, [ebp - 0x104]
call fcn.00414552
jmp 0x4ab358
cmp dword [ebp - 0xc8], 0
mov byte [ebp - 0xa8], 1
je 0x4ab5ea
lea eax, [ebp - 0xc0]
mov byte [ebp - 0xa8], bl
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004aa62a
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 0x4ab5d8
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.00488424
mov ecx, dword [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x30
call fcn.004aa00e
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 0x4ab4a0
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.004ac7f5
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.004a87b2
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
mov eax, edi
jmp 0x4ab72b
call fcn.004e498d
ret