Function at 0x1001a1a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056380
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10075098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1001a1d7
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1001a1e9
mov al, 1
jmp 0x1001a6b6
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x30], ebx
jb 0x1001a1f9
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
call fcn.1003d089
mov ecx, dword [ebp - 0x14]
add esp, 4
or edx, 0xffffffff
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x1001a25c
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
cmp ecx, 8
lea edi, [ebp - 0x28]
push esi
cmovae edi, dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
call fcn.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1001a349
cmp eax, 0x7ffffffe
ja 0x1001a6d2
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1001a27b
mov esi, SysReAllocString
jmp 0x1001a29c
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1001a291
mov esi, SysReAllocString
jmp 0x1001a299
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
or edx, 0xffffffff
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1001a2ae
or ecx, 0xffffffff
jmp 0x1001a2b6
cmp ecx, 0x1000
jb 0x1001a2da
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x1001a6d7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001a2ed
test ecx, ecx
je 0x1001a2eb
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x1001a2ed
xor edi, edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x30]
push edi
call fcn.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x1001a346
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a33c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a6d7
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1001a090
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001a39e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a6dc
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x1001a3be
xor al, al
jmp 0x1001a6b6
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x30], ebx
jb 0x1001a3ce
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
call fcn.1003d089
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp eax, ecx
ja 0x1001a42e
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
cmp ecx, 8
lea edi, [ebp - 0x28]
push esi
cmovae edi, dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
call fcn.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1001a51c
cmp eax, 0x7ffffffe
ja 0x1001a6e1
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1001a44d
mov esi, SysReAllocString
jmp 0x1001a46a
mov eax, ecx
mov edx, SysReAllocString
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x1001a463
mov esi, SysReAllocString
jmp 0x1001a46a
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1001a47c
or ecx, 0xffffffff
jmp 0x1001a484
cmp ecx, 0x1000
jb 0x1001a4ad
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x1001a6d7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001a4c0
test ecx, ecx
je 0x1001a4be
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x1001a4c0
xor edi, edi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x30]
push edi
call fcn.10033850
mov edx, dword [ebp - 0x34]
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
cmp edx, 8
jb 0x1001a519
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a50f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a6e6
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.10019f70
test al, al
sete al
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001a579
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a56c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a6eb
push edx
push ecx
call fcn.100321e9
mov al, byte [ebp - 0x29]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
test al, al
jne 0x1001a3b7
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1001a59f
mov eax, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
test eax, eax
jne 0x1001a1e2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.1001a9e0
test al, al
je 0x1001a5ef
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x1001a5ef
mov bl, 1
jmp 0x1001a663
cmp dword [ebx + 0x14], 8
jb 0x1001a5f7
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x54]
call fcn.1000197e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x3c]
call fcn.10019f70
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x1001a64d
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a643
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a6f0
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
xor bl, bl
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001a6a0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a696
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a6f5
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100321d8
mov esp, ebp
pop ebp
ret
call fcn.10001aa0
call fcn.1003d039
call fcn.1003d039
call fcn.10001aa0
call fcn.1003d039
call fcn.1003d039
call fcn.1003d039
call fcn.1003d039
int3