Function at 0x42ec70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b32
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5374e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x42ecac
xor eax, eax
jmp 0x42ef09
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049a810
add esp, 0xc
call fcn.0040db10
mov ecx, eax
test ecx, ecx
je 0x42ef24
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov eax, 0x5032c8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
test eax, 0xffff0000
jne 0x42ed03
movzx eax, ax
push eax
call fcn.00414690
jmp 0x42ed0d
push 0x5032c8
call fcn.004148f0
mov dword [ebp - 4], 1
call fcn.0040db10
mov ecx, eax
test ecx, ecx
je 0x42ef2e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.3Phz4sD4CsenmhhfG66uXbni65MtqowC
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x42ed52
movzx eax, ax
push eax
call fcn.00414690
jmp 0x42ed5c
push str.3Phz4sD4CsenmhhfG66uXbni65MtqowC
call fcn.004148f0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.0046be60
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eda5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0040c270
mov edx, dword [ebp - 0x23c]
or esi, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ede5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ee06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42ee25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
mov eax, dword [edi + 0x14]
push dword [eax + 0x1c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42eefa
lea eax, [ebp - 0x218]
push eax
call fcn.00462890
add esp, 4
test eax, eax
je 0x42eefa
lea eax, [ebp - 0x218]
push eax
call fcn.00416f90
mov ecx, eax
call fcn.00417030
push dword [ebp - 0x23c]
call fcn.00416f90
mov ecx, eax
call fcn.00416f40
push eax
lea ecx, [edi + 4]
call fcn.0042e670
mov ecx, dword [edi + 4]
push edi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 4]
push 0x5087d0
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x42eefc
push dword [ebp - 0x23c]
call fcn.00416f90
mov ecx, eax
call fcn.00416f40
push eax
lea ecx, [edi + 0xc]
call fcn.0042e670
mov ecx, dword [edi + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0xc]
push str.http:__www.ludashi.com_appstore_app_times.php
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
jmp 0x42eefc
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.00404a90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a581
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004034a0
push 0x80004005
call fcn.004034a0
int3