Function at 0x4a2cf0
Capabilities:
Move file

Disassembly:
push 0x144
mov eax, 0x52d365
call fcn.004dad4b
mov ebx, dword [ebp + 8]
xor esi, esi
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], esi
je 0x4a2d3b
push 0x6cf8e4
mov ecx, ebx
call fcn.0043dc13
mov eax, ebx
jmp 0x4a317e
push str..temp
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.0042811a
push str..commit
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push edi
push eax
call fcn.0042811a
add esp, 0x18
xor ebx, ebx
lea ecx, [ebp - 0x150]
inc ebx
push ebx
mov byte [ebp - 4], bl
call fcn.004a1deb
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push 0x40
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x150]
push 0x32
push eax
mov byte [ebp - 4], 2
call fcn.004a3a23
cmp dword [ebp - 0x100], 0
jne 0x4a2e42
push str.FileStore
lea ecx, [ebp - 0x5c]
call fcn.004180bb
push str.C:Users_a.pritchardcodecode_psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004180bb
mov byte [ebp - 4], 4
call fcn.005029c0
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_not_f.is_open__errno
push eax
call fcn.004a1aa0
add esp, 0xc
push 0xb2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x94]
push eax
push ebx
call fcn.00488974
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.0041a391
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.0041a391
lea ecx, [ebp - 0x5c]
push esi
push ebx
call fcn.0041a391
lea ecx, [ebp - 0x150]
call fcn.004a2328
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041a391
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.0041a391
mov eax, dword [ebp - 0x94]
jmp 0x4a317e
push dword [ebp - 0x98]
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 6
push eax
call fcn.004a21c4
pop ecx
pop ecx
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 2
call fcn.004a384f
lea eax, [ebp - 0x2c]
push eax
call fcn.004a771f
pop ecx
test al, al
je 0x4a2f23
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00505b9f
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4a2f23
push str.FileStore
lea ecx, [ebp - 0x44]
call fcn.004180bb
push str.C:Users_a.pritchardcodecode_psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.004180bb
mov byte [ebp - 4], 0xc
call fcn.005029c0
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.004a1b02
add esp, 0x14
mov byte [ebp - 4], 0xd
push 0xc4
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x94]
push eax
push ebx
call fcn.00488974
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.0041a391
push esi
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0041a391
lea ecx, [ebp - 0x44]
jmp 0x4a2e11
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.00505bec
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4a2fa2
push str.FileStore
lea ecx, [ebp - 0x44]
call fcn.004180bb
push str.C:Users_a.pritchardcodecode_psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call fcn.004180bb
mov byte [ebp - 4], 0xf
call fcn.005029c0
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.004a1b02
add esp, 0x14
mov byte [ebp - 4], 0x10
push 0xc8
jmp 0x4a2eef
push edi
call fcn.004a771f
pop ecx
test al, al
je 0x4a3020
cmp dword [edi + 0x14], 0x10
jb 0x4a2fb7
mov eax, dword [edi]
jmp 0x4a2fb9
mov eax, edi
push eax
call fcn.00505b9f
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4a3020
push str.FileStore
lea ecx, [ebp - 0x44]
call fcn.004180bb
push str.C:Users_a.pritchardcodecode_psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
call fcn.004180bb
mov byte [ebp - 4], 0x12
call fcn.005029c0
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.004a1b02
add esp, 0x14
mov byte [ebp - 4], 0x13
push 0xd0
jmp 0x4a2eef
cmp dword [edi + 0x14], 0x10
jb 0x4a3028
mov edi, dword [edi]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push edi
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00505bec
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4a309c
push str.FileStore
lea ecx, [ebp - 0x44]
call fcn.004180bb
push str.C:Users_a.pritchardcodecode_psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call fcn.004180bb
mov byte [ebp - 4], 0x15
call fcn.005029c0
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.004a1b02
add esp, 0x14
mov byte [ebp - 4], 0x16
push 0xd4
jmp 0x4a2eef
mov ecx, dword [ebp - 0x94]
push 0x6cf8e4
call fcn.0043dc13
jmp 0x4a2e18
call fcn.004dac98
ret