Function at 0x4062f0
Capabilities:
Access peb ldr_data
Check if file exists
Copy file
Delete file
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4461e3
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4555b4]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push edi
mov eax, dword [0x4555b4]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor edi, edi
push 0x206
mov dword [esp + 0x240], edi
lea eax, [esp + 0x2e]
push edi
mov dword [esp + 0x24], edi
push eax
mov dword [esp + 0x30], esi
mov word [esp + 0x34], di
call fcn.004315d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.004030d0
mov edi, 1
push edi
push 0x44c470
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x248], edi
call fcn.00406b00
push 0xc
push 0x44c474
lea edx, [esp + 0x18]
push edx
call fcn.00406b00
push 4
push str..dll
lea eax, [esp + 0x18]
push eax
call fcn.00406b00
push esi
lea ecx, [esp + 0x2c]
call fcn.004030d0
mov edx, dword [0x4577bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4577bc
mov dword [esp + 0x1c], edi
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x11d02
push str.QQPCDetector__d.dll
lea edi, [esp + 0x20]
mov byte [esp + 0x244], 2
call fcn.00406b90
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx - 0xc]
add esp, 8
push eax
push ebx
push esi
call fcn.00406b00
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4064e3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4064e3
mov edx, dword [0x4577bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4577bc
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x23c], 3
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x105
or eax, ecx
jge 0x406474
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.004040a0
mov ebp, dword [esp + 0x14]
push ebp
push 0
push 0x44bcf4
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edi, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00406c30
cmp dword [esp + 0x20], 0
jne 0x4064ac
mov edx, edi
push edx
mov edx, str..tmp
call fcn.00406ac0
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
push ebp
push eax
call fcn.0042af17
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebx - 0x10]
mov byte [esp + 0x23c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406517
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x23c], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40653f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00429d78
add esp, 0x230
ret