Function at 0x4abf06
Capabilities:
Move file

Disassembly:
push 0x148
mov eax, 0x538e1b
call fcn.004e4a40
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.0042502e
push str..commit
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], esi
push edi
push eax
call fcn.0042502e
add esp, 0x18
xor ebx, ebx
lea ecx, [ebp - 0x154]
inc ebx
push ebx
mov byte [ebp - 4], bl
call fcn.004aa04b
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.004aca60
cmp dword [ebp - 0x104], esi
jne 0x4ac047
push str.WriteFileContents
lea ecx, [ebp - 0x44]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004147d9
mov byte [ebp - 4], 4
call fcn.0050c630
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_not_f.is_open__errno
push eax
call fcn.004a9ca9
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.00488424
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00416ab1
lea ecx, [ebp - 0x44]
push esi
push ebx
call fcn.00416ab1
lea ecx, [ebp - 0x154]
call fcn.004aa558
push esi
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00416ab1
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.00416ab1
mov eax, dword [ebp - 0x94]
jmp 0x4ac3e8
push dword [ebp - 0x9c]
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 6
push eax
call fcn.004198b6
pop ecx
pop ecx
push 0x53ef7c
push eax
call fcn.00419540
pop ecx
pop ecx
push dword [ebp - 0x98]
push eax
call fcn.004198b6
pop ecx
pop ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 2
call fcn.004ac7c3
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x148], 6
je 0x4ac118
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004147d9
mov byte [ebp - 4], 0xc
call fcn.0050c630
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_close_failed__errno
push eax
call fcn.004a9ca9
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.00488424
push esi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00416ab1
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.00416ab1
lea ecx, [ebp - 0x2c]
jmp 0x4ac016
lea eax, [ebp - 0x5c]
push eax
call fcn.004a8875
pop ecx
test al, al
je 0x4ac198
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.00510109
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4ac198
push str.WriteFileContents
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
mov byte [ebp - 4], 0xf
call fcn.0050c630
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.004a9d0b
add esp, 0x14
mov byte [ebp - 4], 0x10
push 0xe9
jmp 0x4ac0e4
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.00510156
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4ac217
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.004147d9
mov byte [ebp - 4], 0x12
call fcn.0050c630
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.004a9d0b
add esp, 0x14
mov byte [ebp - 4], 0x13
push 0xed
jmp 0x4ac0e4
push edi
call fcn.004a8875
pop ecx
test al, al
je 0x4ac295
cmp dword [edi + 0x14], 0x10
jb 0x4ac22c
mov eax, dword [edi]
jmp 0x4ac22e
mov eax, edi
push eax
call fcn.00510109
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4ac295
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call fcn.004147d9
mov byte [ebp - 4], 0x15
call fcn.0050c630
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.004a9d0b
add esp, 0x14
mov byte [ebp - 4], 0x16
push 0xf5
jmp 0x4ac0e4
cmp dword [edi + 0x14], 0x10
jb 0x4ac29d
mov edi, dword [edi]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push edi
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.00510156
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4ac311
push str.WriteFileContents
lea ecx, [ebp - 0x2c]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibdatastore.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
call fcn.004147d9
mov byte [ebp - 4], 0x18
call fcn.0050c630
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.004a9d0b
add esp, 0x14
mov byte [ebp - 4], 0x19
push 0xf9
jmp 0x4ac0e4
mov ecx, dword [ebp - 0x94]
push 0x5e5d98
call fcn.0043acea
jmp 0x4ac01d
call fcn.004e498d
ret