Function at 0x1003b610
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x6f0], 0
mov dword [ebp - 0x6f4], 0
mov dword [ebp - 0x6ec], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x1003ba15
push dword [esi + 0x131c]
call fcn.1003dc30
test eax, eax
jne 0x1003ba15
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.100567e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x6e8], ax
push 0x206
push eax
lea eax, [ebp - 0x6e6]
push eax
call fcn.100567e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x2f
push esi
call fcn.10056bd6
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b70a
push 0x5c
push esi
call fcn.10056bd6
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b70a
push 0xbba
push 0x100e744c
mov byte [ebp - 0x18], al
xorps xmm0, xmm0
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x18]
push 0x14
push eax
movdqu xmmword [ebp - 0x17], xmm0
call fcn.10057e03
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
jmp 0x1003b9fb
push str._apk_
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.1003ca70
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1003b804
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x4e0], ax
lea eax, [ebp - 0x4de]
push eax
call fcn.100567e0
add esp, 0xc
lea eax, [ebp - 0x4e0]
lea ecx, [ebp - 0x220]
push eax
call fcn.1003de90
test eax, eax
je 0x1003b7f7
lea eax, [esi + 0x1250]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.10056d04
add esp, 8
test eax, eax
jne 0x1003b7f7
push 0x104
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x1003b7e0
lea eax, [ebp - 0x6e8]
push eax
push 0x824
push esi
call fcn.10055fa4
add esp, 0xc
jmp 0x1003b804
lea eax, [ebp - 0x220]
push eax
push 0x824
push esi
call fcn.10055fa4
add esp, 0xc
jmp 0x1003b804
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.http:__
push esi
call fcn.100560be
add esp, 8
test eax, eax
jne 0x1003b83a
push str.https:__
push esi
call fcn.100560be
add esp, 8
test eax, eax
jne 0x1003b83a
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x6ec]
push eax
push ecx
push esi
jmp 0x1003b8a1
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.10042160
test eax, eax
je 0x1003b990
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x104
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
jne 0x1003b88b
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x6e8]
push 0x104
push eax
call fcn.10055fa4
add esp, 0xc
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x6ec]
push eax
push ecx
lea eax, [ebp - 0x6e8]
push eax
call fcn.10040720
mov edi, dword [ebp - 0x6ec]
test eax, eax
je 0x1003b8e1
push edi
push 1
push dword [esi + 0x131c]
call fcn.10041e50
cmp dword [esi + 0x1318], 0
je 0x1003b8da
lea eax, [ebp - 0x6f4]
push eax
lea eax, [esi + 0x1048]
push eax
call fcn.10040820
push 1
jmp 0x1003b964
test edi, edi
jne 0x1003b954
push 0x3e8
call fcn.10055db0
mov edi, eax
add esp, 4
test edi, edi
je 0x1003ba15
push 0x1f3
lea eax, [ebp - 0x417]
mov byte [ebp - 0x418], 0
push 0
push eax
call fcn.100567e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1003b934
push eax
push 0x1f4
lea ecx, [ebp - 0x418]
call fcn.1003cbd0
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x6f0]
push str._d___s
push 0x3e8
push edi
call fcn.10057e03
add esp, 0x14
push edi
push 0
push dword [esi + 0x131c]
call fcn.10041e50
push 0
push dword [esi + 0x131c]
call fcn.1003dd30
test edi, edi
je 0x1003ba15
push edi
call fcn.10055d78
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret
push 0x3e8
call fcn.10055db0
mov edi, eax
add esp, 4
test edi, edi
je 0x1003ba15
push 0x1f3
lea eax, [ebp - 0x417]
mov byte [ebp - 0x418], 0
push 0
push eax
call fcn.100567e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1003b9db
push eax
push 0x1f4
lea ecx, [ebp - 0x418]
call fcn.1003cbd0
lea eax, [ebp - 0x418]
push eax
push 0xbb9
push str._d___s
push 0x3e8
push edi
call fcn.10057e03
add esp, 0x14
push edi
push 0
push dword [esi + 0x131c]
call fcn.10041e50
push 0
push dword [esi + 0x131c]
call fcn.1003dd30
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10056351
mov esp, ebp
pop ebp
ret