Function at 0x416060
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x50f00b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, edx
call fcn.00406c40
mov dword [esp + 0x278], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x4160ee
lea ecx, [eax - 1]
test ecx, ecx
jl 0x416511
cmp ecx, eax
jg 0x416511
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4160ee
cmp ax, 0x2f
je 0x4160ee
mov edx, 0x51eac0
lea edi, [esp + 0x14]
call fcn.004179a0
test esi, esi
jne 0x4160f6
xor eax, eax
jmp 0x41610f
mov eax, esi
lea edx, [eax + 2]
jmp 0x416100
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416100
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
call fcn.00418990
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x416157
lea ecx, [eax - 1]
test ecx, ecx
jl 0x416511
cmp ecx, eax
jg 0x416511
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x416157
cmp ax, 0x2f
je 0x416157
mov edx, 0x51eac0
lea edi, [esp + 0x14]
call fcn.004179a0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.data.zip
call fcn.00417ae0
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
push eax
call esi
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41619d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4161f2
mov dword [esp + 0x278], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4161c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004ea10a
add esp, 0x268
ret
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.image.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41622f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4161a1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.video.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4161a1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.audio.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4162b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
test edi, edi
jne 0x4162ea
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.contact.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
je 0x4162f4
lea ecx, [esp + 0x14]
call fcn.00406cf0
jmp 0x4161c5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.sms.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
jne 0x4162e6
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.call.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
lea ecx, [esp + 0x14]
test edi, edi
jne 0x4162ea
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.alarm.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
jne 0x4162e6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.wifi.db
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
jne 0x4162e6
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.contacts.zip
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
lea ecx, [esp + 0x14]
test edi, edi
jne 0x4162ea
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.smses.zip
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
jne 0x4162e6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.calllogs.zip
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
jne 0x4162e6
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.efs.zip
call fcn.00417ae0
mov eax, dword [eax]
add esp, 8
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00406cf0
test edi, edi
jne 0x4162e6
mov edx, 0x51ed20
lea edi, [esp + 0x14]
xor ebp, ebp
call fcn.004179a0
mov ecx, dword [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x416501
mov edx, edi
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str..apk
call fcn.00417ae0
mov edx, dword [esp + 0x20]
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4164c6
lea ecx, [esp + 0x18]
call fcn.00406cf0
mov ecx, edi
call fcn.00406cf0
xor eax, eax
jmp 0x4161ca
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov bl, 0x10
mov edi, edi
cmp word [esp + 0x48], 0x2e
je 0x4164de
test byte [esp + 0x1c], bl
je 0x4164ec
lea eax, [esp + 0x1c]
push eax
push esi
call edi
test eax, eax
jne 0x4164d0
jmp 0x4164f1
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
call fcn.00406cf0
lea ecx, [esp + 0x14]
call fcn.00406cf0
mov eax, ebp
jmp 0x4161ca
push 0x80070057
call fcn.004029f0
int3