Function at 0x1010e60
Capabilities:
Copy file
Delete file
Get common file path
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22b8
call fcn.01011460
push 0x1002bc8
call fcn.0100e7b0
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0x1002bc4
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x21b4], eax
cmp dword [ebp - 0x21b4], 0xffffffff
jne 0x1010eff
push 1
call fcn.0100b7bd
push 0
push 0x1002ba0
mov ecx, dword [0x10149c4]
push ecx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
xor eax, eax
jmp 0x1011274
push 0
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.0100e9c0
test eax, eax
jne 0x1010f38
mov edx, dword [ebp - 0x21b4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1011274
mov dword [ebp - 0x1a4], 0
jmp 0x1010f53
mov eax, dword [ebp - 0x1a4]
add eax, 1
mov dword [ebp - 0x1a4], eax
push 0x200c
lea ecx, [ebp - 0x21b0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0100ec70
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x1a0], ecx
cmp dword [ebp - 0x1a0], 0
je 0x1010f8c
mov edx, dword [ebp - 0x1a4]
cmp edx, dword [ebp - 0x21b0]
je 0x1010fd2
push 1
call fcn.0100b7bd
push 0
push 0x1002b90
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov ecx, dword [ebp - 0x21b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x1011274
cmp dword [ebp - 0x21ac], 0
jne 0x1010fe9
lea eax, [ebp - 0x21a4]
mov dword [ebp - 4], eax
jmp 0x10110a8
xor ecx, ecx
test ecx, ecx
jne 0x1011001
mov edx, 1
test edx, edx
je 0x1011047
cmp dword [ebp - 0x21a8], 0
je 0x1011047
push 1
call fcn.0100b7bd
push 0
push 0x1002634
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov ecx, dword [ebp - 0x21b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x1011274
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x21ac]
push ecx
lea edx, [ebp - 0x21a4]
push edx
mov eax, dword [ebp - 0x21b4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x1011082
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x21ac]
je 0x10110a3
mov edx, dword [ebp - 0x21b4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x1011274
jmp 0x1010f44
mov ecx, dword [ebp - 0x21b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x20
lea edx, [ebp - 0x194]
push edx
lea eax, [ebp - 0x10c]
push eax
call sub.LZ32.dll_LZOpenFileA
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jge 0x1011104
push 1
call fcn.0100b7bd
push 0
push 0x1002b68
mov ecx, dword [0x10149c4]
push ecx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
jmp 0x10111ae
push 0x1042
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ebp + 0x10]
push eax
call sub.LZ32.dll_LZOpenFileA
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jge 0x1011183
mov ecx, dword [ebp + 0x10]
push ecx
push 0x100284c
lea edx, [ebp - 0x22b8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
call fcn.0100b7bd
push 1
lea eax, [ebp - 0x22b8]
push eax
mov ecx, dword [0x10149c4]
push ecx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
cmp dword [0x101523c], 0
jne 0x101117c
mov dword [0x1014afc], 1
xor eax, eax
jmp 0x1011274
mov edx, dword [ebp - 0x19c]
push edx
mov eax, dword [ebp - 0x198]
push eax
call sub.LZ32.dll_LZCopy
mov ecx, dword [ebp - 0x198]
push ecx
call sub.LZ32.dll_LZClose
mov edx, dword [ebp - 0x19c]
push edx
call sub.LZ32.dll_LZClose
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x21b4], eax
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x21b4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x1011228
push 1
call fcn.0100b7bd
push 0
push 0x10027e8
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov ecx, dword [ebp - 0x21b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x101126f
push 1
call fcn.0100b7bd
push 0
push 0x10027cc
mov edx, dword [0x10149c4]
push edx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc