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

Disassembly:
push 0x24
mov eax, 0x1013fb2a
call fcn.101018b2
lea eax, [ebp - 0x28]
mov esi, 0x1019e718
mov ebx, 0x80004005
push eax
mov ecx, esi
mov dword [ebp - 0x20], ebx
call fcn.10036f1c
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp dword [eax - 8], edi
mov dword [ebp - 4], edi
jne 0x10075787
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.10036e78
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10001ada
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.1000584b
mov ecx, esi
call fcn.100365cc
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.10036eca
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10001ada
push dword [ebp - 0x18]
call edi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.1000584b
mov ecx, esi
call fcn.10035d03
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.100015d9
xor edi, edi
call fcn.10073121
call fcn.100731be
call fcn.100731f2
lea eax, [ebp - 0x24]
push eax
call fcn.100de590
pop ecx
mov esi, 0x1015c6c8
push esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.100058db
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.100015d9
lea eax, [ebp - 0x2c]
push eax
call fcn.100deb14
pop ecx
push esi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.100058db
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.100015d9
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.100dd1dc
test eax, eax
pop ecx
pop ecx
je 0x10075803
call fcn.1007503a
mov dword [ebp - 0x20], edi
jmp 0x10075913
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
call fcn.100dd692
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
call fcn.100dd692
lea eax, [ebp - 0x1c]
push eax
call fcn.100df876
push dword [eax]
mov byte [ebp - 4], 9
call fcn.100dd5dc
add esp, 0x18
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.100015d9
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
ja 0x100758ff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
push eax
xor ebx, ebx
call fcn.100df876
pop ecx
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xa
call fcn.100058db
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.100015d9
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.100dd1dc
test eax, eax
pop ecx
pop ecx
je 0x1007588c
inc ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100758cf
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100758cf
cmp ebx, edi
jne 0x100758c8
push 3
call fcn.10073295
pop ecx
call fcn.10073121
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100758f5
call fcn.10074087
jmp 0x100758f5
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100758f5
cmp ebx, edi
je 0x100758e9
call fcn.100732f8
push 1
push dword [ebp - 0x10]
call fcn.100da694
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.100015d9
jmp 0x10075913
push 1
push dword [ebp - 0x10]
call fcn.100da694
push 3
call fcn.10073295
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x28]
call fcn.100015d9
mov eax, dword [ebp - 0x20]
call fcn.1010198a
ret