Function at 0x42e440
Capabilities:
Check if file exists
Delete file
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ab366
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4cf640]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cf640]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00443860
add esp, 8
push esi
mov edi, 7
push 0x4bc578
lea ecx, [esp + 0x30]
mov dword [esp + 0xc8], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
call fcn.0040244b
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0xc8], 1
call fcn.004430b0
add esp, 8
mov ebx, 8
cmp dword [esp + 0x40], ebx
mov byte [esp + 0xc0], 3
jb 0x42e4ef
mov eax, dword [esp + 0x2c]
push eax
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
je 0x42e7f5
cmp dword [esp + 0x58], esi
je 0x42e7f5
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00442480
add esp, 8
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 4
call fcn.0040216a
cmp dword [esp + 0x78], ebx
mov byte [esp + 0xc0], 3
jb 0x42e558
mov eax, dword [esp + 0x64]
push eax
call fcn.00478d09
add esp, 4
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00442480
add esp, 8
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 5
call fcn.0040216a
cmp dword [esp + 0x78], ebx
mov byte [esp + 0xc0], 3
jb 0x42e59a
mov eax, dword [esp + 0x64]
push eax
call fcn.00478d09
add esp, 4
mov esi, dword [esp + 0x5c]
cmp esi, ebx
mov edi, dword [esp + 0x48]
mov eax, edi
jae 0x42e5ac
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
push ecx
push 0
push eax
lea ecx, [esp + 0x88]
call fcn.00416dc0
cmp eax, 0xffffffff
jne 0x42e5ea
cmp esi, ebx
jb 0x42e5d2
push edi
call fcn.00478d09
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
jmp 0x42e815
lea ecx, [esp + 0x14]
call fcn.0042e050
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
mov byte [esp + 0xc8], 6
call fcn.0042e2a0
mov edx, dword [esp + 0x18]
mov edi, dword [edx]
lea esi, [esp + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov edi, edi
test esi, esi
mov ebp, dword [esp + 0x18]
je 0x42e630
lea eax, [esp + 0x14]
cmp esi, eax
je 0x42e635
call fcn.00479177
cmp edi, ebp
je 0x42e77f
test esi, esi
jne 0x42e646
call fcn.00479177
cmp edi, dword [esi + 4]
jne 0x42e650
call fcn.00479177
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.00442480
add esp, 8
cmp dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xc0], 7
jae 0x42e683
lea eax, [esp + 0x9c]
mov edx, dword [esp + 0xac]
push edx
push eax
mov eax, dword [esp + 0x98]
push eax
push 0
lea ecx, [esp + 0x8c]
call fcn.00416c10
test eax, eax
je 0x42e73f
push str._tencentdl.exe
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0040cba0
add esp, 0xc
cmp dword [esp + 0x78], ebx
mov byte [esp + 0xc0], bl
jb 0x42e776
mov eax, dword [esp + 0x64]
test eax, eax
je 0x42e70c
cmp word [eax], 0
je 0x42e70c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e70c
test al, 0x10
jne 0x42e70c
cmp dword [esp + 0x78], ebx
mov eax, dword [esp + 0x64]
jae 0x42e701
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42e72c
cmp dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x9c]
jae 0x42e723
lea eax, [esp + 0x9c]
push eax
call fcn.00441940
add esp, 4
cmp dword [esp + 0x78], ebx
jb 0x42e73f
mov eax, dword [esp + 0x64]
push eax
call fcn.00478d09
add esp, 4
cmp dword [esp + 0xb0], ebx
mov byte [esp + 0xc0], 6
jb 0x42e760
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00478d09
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004229c0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x42e620
lea eax, [esp + 0x64]
jmp 0x42e6dd
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
push esi
lea eax, [esp + 0x18]
push eax
mov edx, eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, edx
mov byte [esp + 0xd4], 3
call fcn.0042a440
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00478d09
xor esi, esi
add esp, 4
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jb 0x42e7d1
mov edx, dword [esp + 0x48]
push edx
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
jb 0x42e82e
mov eax, dword [esp + 0x80]
push eax
jmp 0x42e826
cmp dword [esp + 0x5c], ebx
jb 0x42e808
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00478d09
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
cmp dword [esp + 0x94], ebx
jb 0x42e82e
mov edx, dword [esp + 0x80]
push edx
call fcn.00478d09
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00478cd0
add esp, 0xb0
ret