Function at 0x528500
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aedcc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x7e2670]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x7dde08]
push eax
push 0x75b5f4
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dbe0
mov dword [ebp - 4], 0
push 0x755513
lea ecx, [ebp - 0x14]
call fcn.0040dbe0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push str._scombine.txt
lea edx, [ebp - 0x14]
push edx
call fcn.004017f0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00489570
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x528a06
lea ecx, [ebp - 0x2c]
call fcn.0054ac10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.0054ac10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0054ac10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00455110
lea ecx, [ebp - 0x54]
call fcn.00455110
lea ecx, [ebp - 0x44]
call fcn.00455110
lea ecx, [ebp - 0x1c]
call fcn.00401490
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00401490
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
push eax
push str._sPAX_Android_scatter_ppq.slp
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004017f0
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.004014b0
mov dword [ebp - 0xa0], eax
call fcn.00528a40
add esp, 8
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x528695
push str.errormsgPAX_Android_scatter_ppq.slp_File_is_Missing__please_get_file_again__r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x60], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004014d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00454ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00454ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00454ee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x60]
jmp 0x528a31
mov ecx, dword [ebp - 0x10]
push ecx
push str._sPAX_Modem_scatter_ppq.slp
lea edx, [ebp - 0x30]
push edx
call fcn.004017f0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004014b0
mov dword [ebp - 0xa8], eax
call fcn.00528a40
add esp, 8
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xffffffff
jne 0x52874d
push str.errormsgPAX_Modem_scatter_ppq.slp_File_is_Missing__r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x68], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004014d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00454ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00454ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00454ee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x68]
jmp 0x528a31
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004e04e0
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x54]
call fcn.004e04e0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00454f40
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00469260
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004e04e0
mov edx, dword [eax]
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004e04e0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x44]
call fcn.00454f40
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00469260
push str.paydroidboot_reboot
lea ecx, [ebp - 0x8c]
call fcn.0040dbe0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00454fa0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.004014d0
push 0x75b6e4
lea ecx, [ebp - 0x1c]
call fcn.00489570
push eax
call fcn.00669fd1
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x52888b
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00454f40
jmp 0x528833
lea ecx, [ebp - 0x58]
call fcn.00455700
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004e04e0
push eax
lea ecx, [ebp - 0x58]
call fcn.004866e0
movzx edx, al
test edx, edx
je 0x528870
lea ecx, [ebp - 0x58]
call fcn.00406590
mov ecx, eax
call fcn.00489570
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0066b880
add esp, 8
jmp 0x52882b
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00669ba2
add esp, 4
push str.update_PAX_Android_scatter_ppq.slp_file_finish__r_n
call fcn.0066610b
add esp, 4
jmp 0x528904
push str.errormsgupdate_PAX_Android_scatter_ppq.slp_file_error__r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x94], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004014d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00454ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00454ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00454ee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x94]
jmp 0x528a31
push 0x75b758
lea ecx, [ebp - 0x14]
call fcn.00489570
push eax
call fcn.00669fd1
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x52894f
push str.this_is_for_mark_scatter_file_and_modem_scatter_combine_flag.
mov edx, dword [ebp - 0x34]
push edx
call fcn.0066b880
add esp, 8
push str.create_combine.txt_file_finish__r_n
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.00669ba2
add esp, 4
jmp 0x5289ca
push 0x75b7c0
push 0x75b7c8
call fcn.004a4410
add esp, 8
mov dword [ebp - 0x98], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004014d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00454ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00454ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00454ee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x98]
jmp 0x528a31
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004014d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00454ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00454ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00454ee0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret