Function at 0x420c60
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x483cec
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x49e058]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e058]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.0042e210
add esp, 8
push ebx
mov edi, 0xf
push 0x48b16b
lea ecx, [esp + 0x4c]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xe4], 1
call fcn.0042dcd0
add esp, 8
mov esi, 0x10
cmp dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 3
jb 0x420d11
mov eax, dword [esp + 0x48]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0xac], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x421104
cmp dword [esp + 0x74], ebx
je 0x421104
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042d250
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe8], 4
call fcn.004048d0
cmp dword [esp + 0x40], esi
mov byte [esp + 0xdc], 3
jb 0x420d7c
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042d250
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe8], 5
call fcn.004048d0
cmp dword [esp + 0x40], esi
mov byte [esp + 0xdc], 3
jb 0x420dbe
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x78], esi
mov eax, dword [esp + 0x64]
jae 0x420dcc
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
push ecx
push ebx
push eax
lea ecx, [esp + 0xa4]
call fcn.00411ad0
cmp eax, 0xffffffff
jne 0x420e1d
cmp dword [esp + 0x78], esi
jb 0x420df7
mov edx, dword [esp + 0x64]
push edx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x42113c
mov eax, dword [esp + 0x9c]
push eax
jmp 0x421134
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004048d0
cmp dword [esp + 0x94], esi
jb 0x420e62
mov edx, dword [esp + 0x80]
push edx
call fcn.0044d7d9
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004048d0
cmp dword [esp + 0x94], esi
jb 0x420ea4
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00419290
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, ebp
mov byte [esp + 0xe4], 6
call fcn.00420aa0
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
lea esi, [esp + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
cmp esi, ebx
mov ebp, dword [esp + 0x18]
je 0x420ee8
lea edx, [esp + 0x14]
cmp esi, edx
je 0x420eed
call fcn.0044dcd5
cmp edi, ebp
je 0x42108c
cmp esi, ebx
jne 0x420efe
call fcn.0044dcd5
cmp edi, dword [esi + 4]
jne 0x420f08
call fcn.0044dcd5
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0042d250
add esp, 8
mov eax, dword [esp + 0xb8]
mov esi, 0x10
cmp dword [esp + 0xcc], esi
mov byte [esp + 0xdc], 7
jae 0x420f40
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xac]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0xa8]
call fcn.00403760
test eax, eax
je 0x421049
push str._tencentdl.exe
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00411dd0
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0xe8], 8
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.004048d0
cmp dword [esp + 0x40], esi
jb 0x420fc2
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x94], esi
jb 0x421080
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x421010
cmp byte [eax], bl
je 0x421010
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x421010
test al, 0x10
jne 0x421010
cmp dword [esp + 0x94], esi
mov eax, dword [esp + 0x80]
jae 0x421005
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x421030
cmp dword [esp + 0xcc], esi
mov eax, dword [esp + 0xb8]
jae 0x421027
lea eax, [esp + 0xb8]
push eax
call fcn.0042c7a0
add esp, 4
cmp dword [esp + 0x94], esi
jb 0x421049
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0xcc], esi
mov byte [esp + 0xdc], 6
jb 0x42106a
mov edx, dword [esp + 0xb8]
push edx
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0043ad40
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x420ed8
lea eax, [esp + 0x80]
jmp 0x420fda
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
push esi
lea eax, [esp + 0x18]
push eax
push ecx
mov edx, eax
push edx
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0xf0], 3
call fcn.00417c40
mov eax, dword [esp + 0x18]
push eax
call fcn.0044d7d9
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jb 0x4210e1
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x42113c
mov edx, dword [esp + 0x9c]
push edx
jmp 0x421134
cmp dword [esp + 0x78], esi
jb 0x421117
mov eax, dword [esp + 0x64]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x42113c
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0044d7d9
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0044d7a0
add esp, 0xcc
ret