Function at 0x10094a54
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0x24
mov eax, 0x1018761b
call fcn.10145d80
lea eax, [ebp - 0x28]
mov esi, 0x101f84e8
mov ebx, 0x80004005
push eax
mov ecx, esi
mov dword [ebp - 0x20], ebx
call fcn.10050dbe
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp dword [eax - 8], edi
mov dword [ebp - 4], edi
jne 0x10094b09
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.10050d1a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10004076
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
call edi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.10007ade
mov ecx, esi
call fcn.1004fc4a
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.10050d6c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10004076
push dword [ebp - 0x18]
call edi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.10007ade
mov ecx, esi
call fcn.1004eec9
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.10003b75
xor edi, edi
call fcn.10092443
call fcn.100924e0
call fcn.10092514
lea eax, [ebp - 0x24]
push eax
call fcn.1011dcfe
pop ecx
mov esi, str.BaiduBarX.dll
push esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.10007b6e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.10003b75
lea eax, [ebp - 0x2c]
push eax
call fcn.1011e282
pop ecx
push esi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.10007b6e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10003b75
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.1011c82a
test eax, eax
pop ecx
pop ecx
je 0x10094b85
call fcn.10094386
mov dword [ebp - 0x20], edi
jmp 0x10094c95
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
call fcn.1011ccdb
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
call fcn.1011ccdb
lea eax, [ebp - 0x1c]
push eax
call fcn.1011f42c
push dword [eax]
mov byte [ebp - 4], 9
call fcn.1011cc25
add esp, 0x18
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.10003b75
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
ja 0x10094c81
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
push eax
xor ebx, ebx
call fcn.1011f42c
pop ecx
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xa
call fcn.10007b6e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.10003b75
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.1011c82a
test eax, eax
pop ecx
pop ecx
je 0x10094c0e
inc ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10094c51
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10094c51
cmp ebx, edi
jne 0x10094c4a
push 3
call fcn.100925b7
pop ecx
call fcn.10092443
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10094c77
call fcn.100933a9
jmp 0x10094c77
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10094c77
cmp ebx, edi
je 0x10094c6b
call fcn.1009261a
push 1
push dword [ebp - 0x10]
call fcn.101193b1
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.10003b75
jmp 0x10094c95
push 1
push dword [ebp - 0x10]
call fcn.101193b1
push 3
call fcn.100925b7
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x28]
call fcn.10003b75
mov eax, dword [ebp - 0x20]
call fcn.10145e58
ret