Function at 0x10001560
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1003a68c
mov eax, dword fs:[0]
push eax
sub esp, 0x8a8
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x8a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x8bc]
mov dword fs:[0], eax
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
push eax
push 0x1003e114
push 0x17
push edi
push 0x1003c2b0
mov dword [esp + 0x8d8], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jne 0x10001657
mov dword [esp + 0x1c], edi
mov byte [esp + 0x8c4], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x1003c2c0
push eax
mov eax, dword [ecx]
call eax
push 0x206
lea ecx, [esp + 0x4aa]
push edi
push ecx
mov word [esp + 0x4b0], di
call fcn.1002fb20
add esp, 0xc
push 0x1003ddcc
push ebx
lea edx, [esp + 0x4ac]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10001679
mov byte [esp + 0x8c4], 0
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10001657
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x8c4], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10001672
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x1000192a
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x4c]
push eax
push ebp
mov byte [esp + 0x8cc], 2
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000181c
lea eax, [esp + 0x78]
lea edx, [eax + 2]
jmp 0x100016b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100016b0
sub eax, edx
sar eax, 1
cmp eax, 4
jbe 0x10001808
lea eax, [esp + 0x78]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100016d0
sub eax, edx
sar eax, 1
lea ecx, [esp + eax*2 + 0x70]
push str..lnk
push ecx
call fcn.100397d1
add esp, 8
test eax, eax
jne 0x10001808
push 0x206
lea edx, [esp + 0x2a2]
push edi
push edx
mov word [esp + 0x2a8], di
call fcn.1002fb20
add esp, 0xc
lea eax, [esp + 0x78]
push eax
push ebx
push str._s_s
lea edx, [esp + 0x2a8]
call fcn.10001000
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add esp, 0xc
push edi
lea edx, [esp + 0x2a0]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, edi
jne 0x10001808
push 0x206
lea ecx, [esp + 0x6b2]
push edi
push ecx
mov word [esp + 0x6b8], di
call fcn.1002fb20
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
add esp, 0xc
push edi
push edi
push 0x103
lea ecx, [esp + 0x6b8]
push ecx
push eax
call edx
cmp eax, edi
jne 0x10001808
mov eax, dword [esp + 0x8cc]
lea ecx, [esp + 0x6ac]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100017c6
cmp dx, di
je 0x100017c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100017c6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100017a0
xor eax, eax
jmp 0x100017cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x10001808
lea edx, [esp + 0x29c]
lea eax, [esp + 0x30]
call fcn.10002c20
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x24]
mov byte [esp + 0x8c8], 3
call fcn.10002d30
lea esi, [esp + 0x30]
mov byte [esp + 0x8c4], 2
call fcn.10003e00
xor edi, edi
lea ecx, [esp + 0x4c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100016a1
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebp, ebp
jmp 0x10001830
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1000187a
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x1000187a
cmp dword [esi + ebp + 0x18], 8
jb 0x1000186b
mov esi, dword [esi + ebp + 4]
push esi
call ebx
add edi, 1
add ebp, 0x1c
jmp 0x10001830
lea esi, [esi + ebp + 4]
push esi
call ebx
add edi, 1
add ebp, 0x1c
jmp 0x10001830
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov eax, ecx
je 0x1000189c
mov dword [esp + 0x1c], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100018c0
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100018ec
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
push eax
mov eax, esi
call fcn.10003dc0
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.1002b322
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 4
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x8c4], dl
je 0x10001911
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x8c4], 0xffffffff
je 0x10001928
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x8bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8a0]
xor ecx, esp
call fcn.1002b6af
add esp, 0x8b4
ret