Function at 0x41a0a0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], eax
call fcn.0041a670
mov dword [edi + 0x1c], eax
call fcn.0041a6d0
mov dword [edi + 0x20], eax
cmp word [0x626ae0], 0
jne 0x41a133
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x5ee6b0
push closesocket
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a129
mov ebx, dword [ebp - 8]
push str.logFile
lea ecx, [ebp - 8]
push ecx
lea edi, [ebp - 0xc]
mov esi, 0x626ae0
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0x105
call fcn.00409590
test ebx, ebx
je 0x41a126
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
cmp word [0x626ae0], 0
je 0x41a14c
push 0x104
lea esi, [edi + 0x24]
push 0x626ae0
push esi
call dword [sym.imp.MSVCR80.dll_wcsncpy]
jmp 0x41a1fd
push 0x208
lea esi, [edi + 0x24]
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41a19c
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a177
sub eax, edx
sar eax, 1
mov edx, 0x103
sub edx, eax
push edx
push str.TencentQQPlayerQQPlayer.tlg
push esi
call dword [sym.imp.MSVCR80.dll_wcsncat]
jmp 0x41a1fd
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x2e
push esi
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x41a200
mov ecx, esi
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41a1c0
sub ecx, edi
sar ecx, 1
mov edi, ecx
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41a1d6
sub ecx, ebx
sar ecx, 1
sub ecx, edi
add ecx, 0x103
push ecx
push str..tlg
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy]
mov edi, dword [ebp + 8]
add esp, 0xc
push str.NoTXLog
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a228
mov byte [edi + 0x23f], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x464]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x41a330
cmp dword [ebp - 0x448], 0
jne 0x41a25b
cmp dword [ebp - 0x444], 0x500000
jbe 0x41a329
push 0x104
lea ecx, [ebp - 0x214]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov word [ebp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x1a
div ecx
push 0x103
push esi
add edx, 0x61
mov word [ebp + 8], dx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy]
lea eax, [ebp - 0x214]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a2b0
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR80.dll_wcsncat]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
xor edi, edi
lea ecx, [ebp - 0x214]
push ecx
call ebx
lea edx, [ebp - 0x214]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x41a31a
push esi
call ebx
test eax, eax
jne 0x41a31a
cmp edi, 2
jge 0x41a312
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 3
jl 0x41a2e3
lea eax, [ebp - 0x214]
push eax
call ebx
push esi
call ebx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4