Function at 0x401c9a
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1a10]
mov eax, 0x1a90
call fcn.0040e980
mov eax, dword [0x4158c0]
xor eax, ebp
mov dword [ebp + 0x1a0c], eax
mov eax, dword [ebp + 0x1a18]
push ebx
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x5be]
push esi
push eax
mov word [ebp + 0x5bc], si
call fcn.00403a20
add esp, 0xc
lea ebx, [ebp + 0x5bc]
call fcn.004021ca
test eax, eax
je 0x4020cf
push edi
lea eax, [ebp + 0x1806]
push esi
push eax
mov word [ebp + 0x1804], si
call fcn.00403a20
lea eax, [ebp + 0x5bc]
push eax
push str._sTencentTXSSOBin_
push 0x208
mov ebx, 0x104
lea eax, [ebp + 0x1804]
push ebx
push eax
call fcn.0040321e
push edi
lea eax, [ebp + 0x1ae]
push esi
push eax
mov word [ebp + 0x1ac], si
call fcn.00403a20
mov eax, dword [ebp - 0x60]
push dword [eax]
lea eax, [ebp + 0x1ac]
push str._sBin_
push 0x208
push ebx
push eax
call fcn.0040321e
add esp, 0x40
lea eax, [ebp + 0x1804]
push eax
lea ecx, [ebp + 0x1ac]
call fcn.00402412
test eax, eax
jg 0x401d89
push str.Bin
call fcn.00401164
pop ecx
jmp 0x4020cc
push edi
lea eax, [ebp + 0x11ee]
push esi
push eax
mov word [ebp + 0x11ec], si
call fcn.00403a20
push edi
lea eax, [ebp + 0xbd6]
push esi
push eax
mov word [ebp + 0xbd4], si
call fcn.00403a20
push edi
lea eax, [ebp + 0x15fe]
push esi
push eax
mov word [ebp + 0x15fc], si
call fcn.00403a20
push edi
lea eax, [ebp + 0x9ce]
push esi
push eax
mov word [ebp + 0x9cc], si
call fcn.00403a20
push edi
lea eax, [ebp + 0xdde]
push esi
push eax
mov word [ebp + 0xddc], si
call fcn.00403a20
push edi
lea eax, [ebp + 0xfe6]
push esi
push eax
mov word [ebp + 0xfe4], si
call fcn.00403a20
add esp, 0x48
push edi
lea eax, [ebp + 0x13f6]
push esi
push eax
mov word [ebp + 0x13f4], si
call fcn.00403a20
push edi
lea eax, [ebp + 0x7c6]
push esi
push eax
mov word [ebp + 0x7c4], si
call fcn.00403a20
lea eax, [ebp + 0x1804]
push eax
push str._sSSOPlatform.dll
push 0x208
lea eax, [ebp + 0x11ec]
push ebx
push eax
call fcn.0040321e
lea eax, [ebp + 0x1804]
push eax
push str._sSSOCommon.dll
push 0x208
lea eax, [ebp + 0xbd4]
push ebx
push eax
call fcn.0040321e
add esp, 0x40
lea eax, [ebp + 0x1804]
push eax
push str._sSSOAxCtrlForPTLogin.dll
push 0x208
lea eax, [ebp + 0x15fc]
push ebx
push eax
call fcn.0040321e
lea eax, [ebp + 0x1804]
push eax
push str._sSSOLUIControl.dll
push 0x208
push ebx
lea eax, [ebp + 0x9cc]
push eax
call fcn.0040321e
add esp, 0x28
lea eax, [ebp + 0x11ec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401edf
lea eax, [ebp + 0x11ec]
push eax
lea esi, [ebp + 0xddc]
call fcn.004025cc
test eax, eax
je 0x40204c
xor esi, esi
lea eax, [ebp + 0xbd4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f0c
lea eax, [ebp + 0xbd4]
push eax
lea esi, [ebp + 0xfe4]
call fcn.004025cc
test eax, eax
je 0x40204c
xor esi, esi
lea eax, [ebp + 0x15fc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f39
lea eax, [ebp + 0x15fc]
push eax
lea esi, [ebp + 0x13f4]
call fcn.004025cc
test eax, eax
je 0x40204c
xor esi, esi
lea eax, [ebp + 0x9cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f66
lea eax, [ebp + 0x9cc]
push eax
lea esi, [ebp + 0x7c4]
call fcn.004025cc
test eax, eax
je 0x40204c
xor esi, esi
push edi
lea eax, [ebp - 0x5a]
push esi
push eax
mov word [ebp - 0x5c], si
call fcn.00403a20
mov eax, dword [ebp - 0x60]
push esi
push esi
push dword [eax]
lea eax, [ebp - 0x5c]
push str._sBin._c_c
push 0x208
push ebx
push eax
call fcn.0040321e
add esp, 0x28
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x1804]
push esi
push eax
push esi
mov word [ebp - 0x70], 0x414
mov dword [ebp - 0x6a], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x66], esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 2
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x402003
lea eax, [ebp + 0xddc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xfe4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x13f4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x7c4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
lea eax, [ebp + 0x3b6]
push esi
push eax
mov word [ebp + 0x3b4], si
call fcn.00403a20
lea eax, [ebp + 0x5bc]
push eax
push str._sTencentTXSSO_
push 0x208
lea eax, [ebp + 0x3b4]
push ebx
push eax
call fcn.0040321e
add esp, 0x20
push dword [ebp - 0x60]
lea ecx, [ebp + 0x3b4]
call fcn.0040263f
jmp 0x4020cc
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp + 0xddc]
push eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
je 0x402075
lea eax, [ebp + 0x11ec]
push eax
lea eax, [ebp + 0xddc]
push eax
call edi
lea eax, [ebp + 0xfe4]
push eax
call esi
test eax, eax
je 0x402092
lea eax, [ebp + 0xbd4]
push eax
lea eax, [ebp + 0xfe4]
push eax
call edi
lea eax, [ebp + 0x13f4]
push eax
call esi
test eax, eax
je 0x4020af
lea eax, [ebp + 0x15fc]
push eax
lea eax, [ebp + 0x13f4]
push eax
call edi
lea eax, [ebp + 0x7c4]
push eax
call esi
test eax, eax
je 0x4020cc
lea eax, [ebp + 0x9cc]
push eax
lea eax, [ebp + 0x7c4]
push eax
call edi
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1a0c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a9a
add ebp, 0x1a10
leave
ret 4