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

Disassembly:
push 0xffffffffffffffff
push 0x4ac566
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4d1644]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d1644]
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.004440e0
add esp, 8
push esi
mov edi, 7
push 0x4be620
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.00402467
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0xc8], 1
call fcn.00443930
add esp, 8
mov ebx, 8
cmp dword [esp + 0x40], ebx
mov byte [esp + 0xc0], 3
jb 0x42ef2f
mov eax, dword [esp + 0x2c]
push eax
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
je 0x42f235
cmp dword [esp + 0x58], esi
je 0x42f235
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00442ef0
add esp, 8
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 4
call fcn.00402186
cmp dword [esp + 0x78], ebx
mov byte [esp + 0xc0], 3
jb 0x42ef98
mov eax, dword [esp + 0x64]
push eax
call fcn.00479e49
add esp, 4
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00442ef0
add esp, 8
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 5
call fcn.00402186
cmp dword [esp + 0x78], ebx
mov byte [esp + 0xc0], 3
jb 0x42efda
mov eax, dword [esp + 0x64]
push eax
call fcn.00479e49
add esp, 4
mov esi, dword [esp + 0x5c]
cmp esi, ebx
mov edi, dword [esp + 0x48]
mov eax, edi
jae 0x42efec
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
push ecx
push 0
push eax
lea ecx, [esp + 0x88]
call fcn.00416fe0
cmp eax, 0xffffffff
jne 0x42f02a
cmp esi, ebx
jb 0x42f012
push edi
call fcn.00479e49
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
jmp 0x42f255
lea ecx, [esp + 0x14]
call fcn.0042ea90
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
mov byte [esp + 0xc8], 6
call fcn.0042ece0
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 0x42f070
lea eax, [esp + 0x14]
cmp esi, eax
je 0x42f075
call fcn.0047a2b7
cmp edi, ebp
je 0x42f1bf
test esi, esi
jne 0x42f086
call fcn.0047a2b7
cmp edi, dword [esi + 4]
jne 0x42f090
call fcn.0047a2b7
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.00442ef0
add esp, 8
cmp dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xc0], 7
jae 0x42f0c3
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.00416e30
test eax, eax
je 0x42f17f
push str._tencentdl.exe
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0040cbf0
add esp, 0xc
cmp dword [esp + 0x78], ebx
mov byte [esp + 0xc0], bl
jb 0x42f1b6
mov eax, dword [esp + 0x64]
test eax, eax
je 0x42f14c
cmp word [eax], 0
je 0x42f14c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f14c
test al, 0x10
jne 0x42f14c
cmp dword [esp + 0x78], ebx
mov eax, dword [esp + 0x64]
jae 0x42f141
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42f16c
cmp dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x9c]
jae 0x42f163
lea eax, [esp + 0x9c]
push eax
call fcn.00442380
add esp, 4
cmp dword [esp + 0x78], ebx
jb 0x42f17f
mov eax, dword [esp + 0x64]
push eax
call fcn.00479e49
add esp, 4
cmp dword [esp + 0xb0], ebx
mov byte [esp + 0xc0], 6
jb 0x42f1a0
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00479e49
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0041a440
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x42f060
lea eax, [esp + 0x64]
jmp 0x42f11d
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.0042ae80
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00479e49
xor esi, esi
add esp, 4
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jb 0x42f211
mov edx, dword [esp + 0x48]
push edx
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
jb 0x42f26e
mov eax, dword [esp + 0x80]
push eax
jmp 0x42f266
cmp dword [esp + 0x5c], ebx
jb 0x42f248
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00479e49
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
cmp dword [esp + 0x94], ebx
jb 0x42f26e
mov edx, dword [esp + 0x80]
push edx
call fcn.00479e49
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.00479e10
add esp, 0xb0
ret