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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101227ce
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push eax
call fcn.1000d6b0
push eax
call fcn.1000e910
test al, al
je 0x100081bf
lea esi, [esp + 0xe0]
call fcn.100331e0
mov ecx, esi
xor ebx, ebx
push ecx
mov dword [esp + 0x28c], ebx
call fcn.10032350
add esp, 4
test al, al
jne 0x10007c70
cmp dword [esp + 0xf8], 0x10
jmp 0x100081ad
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe8]
mov edi, 0xf
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.100057a0
push 6
push 0x1013af0c
lea ecx, [esp + 0x78]
mov byte [esp + 0x290], 1
call fcn.10006400
mov eax, dword [esp + 0x74]
mov esi, 0x10
cmp dword [esp + 0x88], esi
jae 0x10007ccc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x134]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10007d35
cmp dword [esp + 0x88], esi
jb 0x10007cfa
mov edx, dword [esp + 0x74]
push edx
call fcn.100f4085
add esp, 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0xf8], esi
jb 0x100081bf
mov eax, dword [esp + 0xe4]
push eax
jmp 0x100081b7
mov edi, 0xf
lea eax, [esp + 0x160]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
jmp 0x10007d50
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10007d50
sub eax, edx
push eax
lea ecx, [esp + 0x164]
push ecx
lea ecx, [esp + 0x5c]
call fcn.10004290
push 1
mov byte [esp + 0x28c], 2
mov edx, dword [esp + 0x6c]
push 0x1013af14
push edx
push ebx
lea ecx, [esp + 0x64]
call fcn.10005970
test eax, eax
je 0x1000813d
mov eax, dword [esp + 0x68]
push 2
push 0x1013af18
push eax
push ebx
lea ecx, [esp + 0x64]
call fcn.10005970
test eax, eax
je 0x1000813d
test byte [esp + 0x134], 0x10
jne 0x1000813d
push 2
push ebx
push 0x1013af1c
lea ecx, [esp + 0x60]
call fcn.10008220
add eax, 0xfffffffc
push eax
push 4
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x60]
call fcn.100043c0
push 2
push 0xffffffffffffffff
push 0x1013af1c
lea ecx, [esp + 0x60]
mov byte [esp + 0x294], 3
call fcn.100082e0
push 2
push ebx
push 0x1013af1c
lea ecx, [esp + 0x60]
mov esi, eax
call fcn.10008220
push 2
push ebx
push 0x1013af1c
lea ecx, [esp + 0x60]
mov edi, eax
call fcn.10008220
sub esi, edi
sub esi, 2
push esi
add eax, 2
push eax
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x60]
call fcn.100043c0
push 1
push 0xffffffffffffffff
push 0x1013af24
lea ecx, [esp + 0x60]
mov byte [esp + 0x294], 4
call fcn.100082e0
push 2
push 0xffffffffffffffff
push 0x1013af1c
lea ecx, [esp + 0x60]
mov esi, eax
call fcn.100082e0
push 2
push 0xffffffffffffffff
push 0x1013af1c
lea ecx, [esp + 0x60]
mov edi, eax
call fcn.100082e0
sub esi, edi
sub esi, 2
push esi
add eax, 2
push eax
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x60]
call fcn.100043c0
push 1
push 0xffffffffffffffff
push 0x1013af24
lea ecx, [esp + 0x60]
mov byte [esp + 0x294], 5
call fcn.100082e0
push 1
push 0xffffffffffffffff
push 0x1013af24
lea ecx, [esp + 0x60]
mov esi, eax
call fcn.100082e0
mov ecx, dword [esp + 0x68]
sub ecx, esi
sub ecx, 5
push ecx
inc eax
push eax
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x60]
call fcn.100043c0
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x28c], 6
call fcn.100323c0
add esp, 4
test al, al
je 0x1000808b
lea ecx, [esp + 0xc4]
push ecx
call fcn.100323c0
add esp, 4
test al, al
je 0x1000808b
lea edx, [esp + 0x8c]
push edx
call fcn.100323c0
add esp, 4
test al, al
je 0x1000808b
mov eax, dword [esp + 0x100]
mov esi, 0x10
cmp dword [esp + 0x114], esi
jae 0x10007f54
lea eax, [esp + 0x100]
push eax
call fcn.100f39b6
mov edi, dword [ebp + 8]
add esp, 4
cmp eax, edi
jne 0x10008090
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.10006bb0
add esp, 8
test al, al
je 0x10008090
lea esi, [esp + 0x38]
call fcn.100331e0
push 0x1013af20
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x294], 7
call fcn.10008390
add esp, 0xc
lea ecx, [esp + 0x160]
push ecx
push eax
lea edx, [esp + 0x120]
push edx
mov byte [esp + 0x294], 8
call fcn.10008390
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.1002b8e0
mov ecx, esi
mov byte [esp + 0x288], 0xb
call fcn.1002b8e0
lea eax, [esp + 0x118]
call fcn.10032120
test eax, eax
ja 0x10008013
cmp dword [esp + 0x130], 0x10
mov eax, dword [esp + 0x11c]
jae 0x1000800a
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1000807f
cmp dword [esp + 0xa4], 0x10
mov eax, dword [esp + 0x90]
jae 0x1000802b
lea eax, [esp + 0x90]
push eax
call fcn.100f39a0
add esp, 4
mov esi, eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xac]
push ecx
push edi
call fcn.100184f0
push eax
call fcn.10018560
cmp eax, ebx
jne 0x1000807f
push esi
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0xb0]
push eax
push edi
call fcn.100184f0
push eax
call fcn.10018870
mov esi, eax
call fcn.100177f0
call fcn.10017820
lea ecx, [esp + 0x118]
call fcn.1002b8e0
mov esi, 0x10
cmp dword [esp + 0xa4], esi
jb 0x100080a9
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100f4085
add esp, 4
mov edi, 0xf
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
cmp dword [esp + 0xdc], esi
jb 0x100080dc
mov edx, dword [esp + 0xc8]
push edx
call fcn.100f4085
add esp, 4
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
cmp dword [esp + 0xc0], esi
jb 0x1000810a
mov eax, dword [esp + 0xac]
push eax
call fcn.100f4085
add esp, 4
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
cmp dword [esp + 0x114], esi
jb 0x10008138
mov ecx, dword [esp + 0x100]
push ecx
call fcn.100f4085
add esp, 4
mov esi, 0x10
mov byte [esp + 0x288], 1
cmp dword [esp + 0x6c], esi
jb 0x10008158
mov edx, dword [esp + 0x58]
push edx
call fcn.100f4085
add esp, 4
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x134]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10007d30
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x88], esi
jb 0x10008190
mov ecx, dword [esp + 0x74]
push ecx
call fcn.100f4085
add esp, 4
cmp dword [esp + 0xf8], esi
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x100081bf
mov edx, dword [esp + 0xe4]
push edx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.100f30a6
mov esp, ebp
pop ebp
ret 8