Function at 0x10ec24b
Capabilities:
Copy file
Delete file

Disassembly:
push 0x250
mov eax, 0x11bb162
call fcn.010aa6a4
lea eax, [ebp - 0x24c]
mov esi, ecx
push eax
mov dword [ebp - 0x22c], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esi + 0xa0]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
xor ebx, ebx
mov edi, 0x104
push edi
lea ecx, [ebp - 0x228]
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [ebp - 4], ebx
call fcn.01081fbb
push edi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.01081fbb
mov byte [ebp - 4], 2
cmp dword [esi + 0x2c], ebx
je 0x10ec362
xor edi, edi
inc edi
mov dword [esi + 0x98], edi
cmp byte [esi + 0x30], bl
je 0x10ec35b
push 0x101a5a0
push edi
push dword [esi + 0x20]
call fcn.010eb122
lea eax, [ebp - 0x228]
push eax
push 0x101a598
call fcn.010eaaff
lea eax, [ebp - 0x224]
push eax
push 0x101a590
call fcn.010eaaff
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x228]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea ecx, [ebp - 0x254]
call fcn.011b0d7f
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.010eb209
push 0x101a55c
push edi
push dword [esi + 0x20]
call fcn.010eb122
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.011b0b63
push 0x101a528
push edi
push dword [esi + 0x20]
call fcn.010eb122
jmp 0x10ec362
mov ecx, esi
call fcn.010eb209
cmp byte [esi + 0x31], bl
je 0x10ec3f7
push 0x101a4fc
push 1
push dword [esi + 0x20]
call fcn.010eb122
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x228]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea eax, [ebp - 0x25c]
push eax
call fcn.010ea618
lea edi, [esi + 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.010ea6a2
lea ecx, [ebp - 0x25c]
call fcn.010e9d33
push 0x101a4d4
push 1
push dword [esi + 0x20]
call fcn.010eb122
cmp byte [esi + 0x84], bl
je 0x10ec3f7
mov ecx, edi
call fcn.010e903d
test eax, eax
je 0x10ec3e8
mov ecx, edi
call fcn.010e8f67
cmp eax, ebx
jne 0x10ec3f7
cmp edx, ebx
jne 0x10ec3f7
push 0x101a468
push 1
push dword [esi + 0x20]
call fcn.010eb122
cmp byte [esi + 0x30], bl
je 0x10ec4b5
mov edi, dword [0x1232c10]
cmp dword [edi], ebx
je 0x10ec499
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call sub.msvcrt.dll_memset
push dword [edi + 0xc]
mov edi, 0x104
push 0x101a424
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0108e53d
add esp, 0x1c
test eax, eax
jl 0x10ec461
push ebx
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x224]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [0x1232c10]
push dword [eax + 0xc]
lea eax, [ebp - 0x21c]
push 0x101a3e0
push edi
push eax
call fcn.0108e53d
add esp, 0x10
test eax, eax
jl 0x10ec499
push ebx
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x228]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x224]
push dword [eax + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
mov eax, dword [ebp - 0x228]
push dword [eax + 0xc]
call edi
mov eax, dword [esi + 0x98]
sub eax, ebx
je 0x10ec4f1
sub eax, 4
je 0x10ec4e5
dec eax
je 0x10ec4d9
dec eax
je 0x10ec4d9
dec eax
je 0x10ec4f1
mov dword [ebp - 0x220], 0x54f
jmp 0x10ec4f7
mov dword [ebp - 0x220], 0x4c7
jmp 0x10ec4f7
mov dword [ebp - 0x220], 0x5b4
jmp 0x10ec4f7
mov dword [ebp - 0x220], ebx
push 0x101a3bc
push 1
push dword [esi + 0x20]
call fcn.010eb122
lea ecx, [ebp - 0x224]
call fcn.0107d6e4
lea ecx, [ebp - 0x228]
call fcn.0107d6e4
jmp 0x10ec9d7
cmp dword [ebp - 0x220], ebx
je 0x10ec9f4
cmp dword [ebp - 0x220], 0x4c7
je 0x10ec9f4
mov dword [esi + 0x18], 5
jmp 0x10ec9fb
mov dword [esi + 0x18], 6
mov esi, dword [esi + 0x134]
cmp esi, ebx
je 0x10eca0d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x220]
call fcn.010aa70f
ret