Function at 0x1002ed30
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a82dd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10102040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea esi, [ecx + 0x244]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x60], esi
call fcn.1007e568
add esp, 4
test eax, eax
jne 0x1002f0ac
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x1002f0b3
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x44]
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x20]
push eax
push 9
push str...txt
call fcn.100320b0
add esp, 0xc
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov ecx, 0xf
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 6
mov edi, dword [ebp + 0x20]
mov eax, edi
mov dword [ebp - 0x54], edi
test eax, eax
je 0x1002efcc
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x7c]
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
push eax
push 9
push str...txt
call fcn.100320b0
add esp, 0xc
lea ecx, [ebp - 0x44]
push eax
call fcn.10007f00
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1002ee67
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ee5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f0be
push ecx
push edx
call fcn.1007cee4
add esp, 8
cmp edi, 1
jne 0x1002ee85
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.1001fd90
jmp 0x1002eeef
cmp dword [ebp + 0x1c], 0xf
lea eax, [edi - 1]
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x5c]
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
push 9
push str...txt
call fcn.100320b0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.10007f00
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1002eeef
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eee5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f0c3
push ecx
push edx
call fcn.1007cee4
add esp, 8
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 0xf
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 4], 6
dec edi
mov ecx, dword [ebp - 0x18]
jmp 0x1002edf2
cmp ecx, 0xf
jbe 0x1002effd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eff3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f0c8
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1002f043
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f039
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f0c8
push ecx
push edx
call fcn.1007cee4
add esp, 8
push esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.1007e579
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, 0xf
jbe 0x1002f08e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f0c8
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007c8d3
mov esp, ebp
pop ebp
ret 0x1c
push 5
call fcn.1007e517
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1007e517
call fcn.100852de
call fcn.100852de
call fcn.100852de
int3