Function at 0x4abd56
Capabilities:
Move file

Disassembly:
push 0x148
mov eax, 0x538b2b
call fcn.004e47f3
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.00425011
push str..commit
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], esi
push edi
push eax
call fcn.00425011
add esp, 0x18
xor ebx, ebx
lea ecx, [ebp - 0x154]
inc ebx
push ebx
mov byte [ebp - 4], bl
call fcn.004a9e9a
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.004ac797
cmp dword [ebp - 0x104], esi
jne 0x4abe97
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.0050c40b
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_not_f.is_open__errno
push eax
call fcn.004ad490
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.004881f4
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.004aa3a7
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 0x4ac238
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.004ac613
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x148], 6
je 0x4abf68
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.0050c40b
push eax
lea eax, [ebp - 0x8c]
push str.temp_file_path_close_failed__errno
push eax
call fcn.004ad490
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.004881f4
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 0x4abe66
lea eax, [ebp - 0x5c]
push eax
call fcn.004a877f
pop ecx
test al, al
je 0x4abfe8
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0050fef9
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4abfe8
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.0050c40b
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.004a9b5a
add esp, 0x14
mov byte [ebp - 4], 0x10
push 0xe9
jmp 0x4abf34
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.0050ff46
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4ac067
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.0050c40b
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.004a9b5a
add esp, 0x14
mov byte [ebp - 4], 0x13
push 0xed
jmp 0x4abf34
push edi
call fcn.004a877f
pop ecx
test al, al
je 0x4ac0e5
cmp dword [edi + 0x14], 0x10
jb 0x4ac07c
mov eax, dword [edi]
jmp 0x4ac07e
mov eax, edi
push eax
call fcn.0050fef9
mov dword [ebp - 0x90], eax
pop ecx
test eax, eax
je 0x4ac0e5
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.0050c40b
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.004a9b5a
add esp, 0x14
mov byte [ebp - 4], 0x16
push 0xf5
jmp 0x4abf34
cmp dword [edi + 0x14], 0x10
jb 0x4ac0ed
mov edi, dword [edi]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push edi
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0050ff46
mov dword [ebp - 0x90], eax
pop ecx
pop ecx
test eax, eax
je 0x4ac161
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.0050c40b
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.004a9b5a
add esp, 0x14
mov byte [ebp - 4], 0x19
push 0xf9
jmp 0x4abf34
mov ecx, dword [ebp - 0x94]
push 0x5e2d98
call fcn.0043aca7
jmp 0x4abe6d
call fcn.004e4740
ret