Function at 0x10017b80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056510
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10076098]
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 0x10017bb7
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10017bc9
mov al, 1
jmp 0x10018096
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x30], ebx
jb 0x10017bd9
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.1003d469
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 0x10017c3c
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.100341b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10017d29
cmp eax, 0x7ffffffe
ja 0x100180b2
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10017c5b
mov esi, SysReAllocString
jmp 0x10017c7c
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10017c71
mov esi, SysReAllocString
jmp 0x10017c79
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 0x10017c8e
or ecx, 0xffffffff
jmp 0x10017c96
cmp ecx, 0x1000
jb 0x10017cba
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.100325e6
add esp, 4
test eax, eax
je 0x100180b7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10017ccd
test ecx, ecx
je 0x10017ccb
push ecx
call fcn.100325e6
add esp, 4
mov edi, eax
jmp 0x10017ccd
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.10033c30
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x10017d26
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017d1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180b7
push edx
push ecx
call fcn.100325d8
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10017a70
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10017d7e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017d74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180bc
push edx
push ecx
call fcn.100325d8
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 0x10017d9e
xor al, al
jmp 0x10018096
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x30], ebx
jb 0x10017dae
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.1003d469
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp eax, ecx
ja 0x10017e0e
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.100341b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10017efc
cmp eax, 0x7ffffffe
ja 0x100180c1
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10017e2d
mov esi, SysReAllocString
jmp 0x10017e4a
mov eax, ecx
mov edx, SysReAllocString
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x10017e43
mov esi, SysReAllocString
jmp 0x10017e4a
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10017e5c
or ecx, 0xffffffff
jmp 0x10017e64
cmp ecx, 0x1000
jb 0x10017e8d
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100325e6
add esp, 4
test eax, eax
je 0x100180b7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10017ea0
test ecx, ecx
je 0x10017e9e
push ecx
call fcn.100325e6
add esp, 4
mov edi, eax
jmp 0x10017ea0
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.10033c30
mov edx, dword [ebp - 0x34]
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
cmp edx, 8
jb 0x10017ef9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017eef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180c6
push edx
push ecx
call fcn.100325d8
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.10017950
test al, al
sete al
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10017f59
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017f4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180cb
push edx
push ecx
call fcn.100325d8
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 0x10017d97
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10017f7f
mov eax, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
test eax, eax
jne 0x10017bc2
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.100183c0
test al, al
je 0x10017fcf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x10017fcf
mov bl, 1
jmp 0x10018043
cmp dword [ebx + 0x14], 8
jb 0x10017fd7
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x54]
call fcn.1000198e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x3c]
call fcn.10017950
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x1001802d
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180d0
push edx
push ecx
call fcn.100325d8
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 0x10018080
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018076
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100180d5
push edx
push ecx
call fcn.100325d8
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.100325c7
mov esp, ebp
pop ebp
ret
call fcn.10001ab0
call fcn.1003d419
call fcn.1003d419
call fcn.10001ab0
call fcn.1003d419
call fcn.1003d419
call fcn.1003d419
call fcn.1003d419
int3