Function at 0x1002eba0
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052761
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x100e8018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x2a0], esi
mov eax, dword [ebp + 8]
push 0x44
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x2f4]
push 0
push eax
mov dword [ebp - 0x29c], 0xdeaddead
call fcn.100346a0
add esp, 0xc
mov dword [ebp - 0x278], 0
xorps xmm0, xmm0
mov dword [ebp - 0x268], 0
xor eax, eax
mov dword [ebp - 0x264], 7
lea ecx, [ebp - 0x278]
mov word [ebp - 0x278], ax
push 0x1c
push str..exploit_detection_test.exe
movups xmmword [ebp - 0x2b0], xmm0
call fcn.1000ff20
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1002ec79
push str.Could_not_retrieve_temp_path_n
push dword [0x100ee8a4]
call fcn.1000f610
mov byte [ebp - 0x291], 0
jmp 0x1002f0d7
xor eax, eax
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x260], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ecb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.1000ff20
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ece0
sub ecx, edx
mov esi, SysReAllocString
mov edx, dword [ebp - 0x250]
mov eax, esi
sar ecx, 1
sub eax, edx
cmp eax, ecx
jb 0x1002f137
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push ecx
push dword [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x260]
push edx
push eax
push ecx
push dword [ebp - 0x298]
lea ecx, [ebp - 0x230]
call fcn.1002fe50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push str.Copying_in_path:__S_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
push 1
cmovae ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1002ee06
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.Could_not_copy_to__S_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
mov byte [ebp - 0x291], 0
jmp 0x1002f041
mov ecx, dword [ebp - 0x220]
sub esi, ecx
cmp esi, 1
jb 0x1002f13c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 1
cmovae eax, dword [ebp - 0x230]
push 0x100d78dc
push ecx
push eax
push ecx
push dword [ebp - 0x298]
lea ecx, [ebp - 0x290]
call fcn.1002fe50
mov ecx, edi
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ee50
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x290]
call fcn.100182e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x1002eed6
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eecc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f141
push edx
push ecx
call fcn.1003140a
add esp, 8
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.Running__S_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
mov dword [ebp - 0x2f4], 0x44
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x2b0]
mov eax, 5
mov dword [ebp - 0x2c8], 1
mov word [ebp - 0x2c4], ax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x2f4]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1002ef67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_:_CreateProcessW_failed__lastError___d_n
jmp 0x1002efb8
push 0xea60
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1002ef99
call esi
push eax
push str.Error_:_WaitForSingleObject_failed__lastError___d_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1002efcf
call esi
push eax
push str.Error_:_GetExitCodeProcess_failed__lastError___d_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
mov byte [ebp - 0x291], 0
jmp 0x1002efe4
mov ecx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x29c]
mov byte [ebp - 0x291], 1
mov dword [ecx], eax
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1002f024
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f01a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f146
push edx
push ecx
call fcn.1003140a
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1002f081
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f077
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f146
push edx
push ecx
call fcn.1003140a
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x1002f0da
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f0d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f146
push edx
push ecx
call fcn.1003140a
add esp, 8
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x1002f116
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f10c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f146
push edx
push ecx
call fcn.1003140a
add esp, 8
mov al, byte [ebp - 0x291]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
call fcn.10001a90
call fcn.10001a90
call fcn.100397bd
call fcn.100397bd
int3