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

Disassembly:
push 0xffffffffffffffff
push 0x101215b3
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
lea esi, [esp + 0x88]
call fcn.100331e0
push 6
xor ebx, ebx
push 0x1013af0c
mov ecx, esi
mov dword [esp + 0x268], ebx
call fcn.10006400
mov eax, dword [esp + 0x8c]
mov ebp, 0x10
cmp dword [esp + 0xa0], ebp
jae 0x100076ea
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10007720
cmp dword [esp + 0xa0], ebp
jb 0x10007b9c
mov edx, dword [esp + 0x8c]
push edx
jmp 0x10007b94
lea eax, [esp + 0x140]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10007740
sub eax, edx
push eax
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x58]
call fcn.10004290
mov byte [esp + 0x260], 1
mov esi, dword [esp + 0x64]
mov ecx, esi
cmp esi, 1
jb 0x10007773
mov ecx, 1
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
cmp edi, ebp
jae 0x10007783
lea eax, [esp + 0x54]
push ecx
push 0x1013af14
push eax
call fcn.10001070
add esp, 0xc
cmp eax, ebx
jne 0x100077ab
cmp esi, 1
jb 0x100077ab
xor eax, eax
cmp esi, 1
setne al
cmp eax, ebx
je 0x10007b47
mov ecx, esi
cmp esi, 2
jb 0x100077b7
mov ecx, 2
mov eax, dword [esp + 0x54]
cmp edi, ebp
jae 0x100077c3
lea eax, [esp + 0x54]
push ecx
push 0x1013af18
push eax
call fcn.10001070
add esp, 0xc
cmp eax, ebx
jne 0x100077eb
cmp esi, 2
jb 0x100077eb
xor eax, eax
cmp esi, 2
setne al
cmp eax, ebx
je 0x10007b47
test byte [esp + 0x114], 0x10
jne 0x10007b47
push 2
push ebx
push 0x1013af1c
lea ecx, [esp + 0x5c]
call fcn.10008220
add eax, 0xfffffffc
push eax
push 4
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x5c]
call fcn.100043c0
push 2
push 0xffffffffffffffff
push 0x1013af1c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x26c], 2
call fcn.100082e0
push 2
push ebx
push 0x1013af1c
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.10008220
push 2
push ebx
push 0x1013af1c
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.10008220
sub esi, edi
sub esi, 2
push esi
add eax, 2
push eax
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x5c]
call fcn.100043c0
push 1
push 0xffffffffffffffff
push 0x1013af24
lea ecx, [esp + 0x5c]
mov byte [esp + 0x26c], 3
call fcn.100082e0
push 2
push 0xffffffffffffffff
push 0x1013af1c
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.100082e0
push 2
push 0xffffffffffffffff
push 0x1013af1c
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.100082e0
sub esi, edi
sub esi, 2
push esi
add eax, 2
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x5c]
call fcn.100043c0
push 1
push 0xffffffffffffffff
push 0x1013af24
lea ecx, [esp + 0x5c]
mov byte [esp + 0x26c], 4
call fcn.100082e0
push 1
push 0xffffffffffffffff
push 0x1013af24
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.100082e0
mov ecx, dword [esp + 0x64]
sub ecx, esi
sub ecx, 5
push ecx
inc eax
push eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x5c]
call fcn.100043c0
lea eax, [esp + 0xf8]
push eax
mov byte [esp + 0x264], 5
call fcn.100323c0
add esp, 4
test al, al
je 0x10007aa5
lea ecx, [esp + 0xa4]
push ecx
call fcn.100323c0
add esp, 4
test al, al
je 0x10007aa5
lea edx, [esp + 0x6c]
push edx
call fcn.100323c0
add esp, 4
test al, al
je 0x10007aa5
lea esi, [esp + 0x34]
call fcn.100331e0
push 0x1013af20
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x26c], 6
call fcn.10008390
add esp, 0xc
lea ecx, [esp + 0x140]
push ecx
push eax
lea edx, [esp + 0xc8]
push edx
mov byte [esp + 0x26c], 7
call fcn.10008390
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.1002b8e0
mov ecx, esi
mov byte [esp + 0x260], 0xa
call fcn.1002b8e0
lea eax, [esp + 0xc0]
call fcn.10032120
test eax, eax
ja 0x100079fe
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0xd8], ebp
jae 0x100079f2
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10007a99
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], ebp
jae 0x10007a15
lea eax, [esp + 0xfc]
push eax
call fcn.100f39b6
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], ebp
jae 0x10007a31
lea eax, [esp + 0x70]
push eax
call fcn.100f39a0
add esp, 4
mov edi, eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xe0]
push ecx
push esi
call fcn.100184f0
push eax
call fcn.10018560
cmp eax, ebx
je 0x10007a7c
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0xd8], ebp
jae 0x10007a73
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10007a99
push edi
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0xe4]
push eax
push esi
call fcn.100184f0
push eax
call fcn.10018870
lea ecx, [esp + 0xc0]
call fcn.1002b8e0
cmp dword [esp + 0x84], ebp
jb 0x10007abb
mov ecx, dword [esp + 0x70]
push ecx
call fcn.100f4085
add esp, 4
mov esi, 0xf
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0xbc], ebp
jb 0x10007aeb
mov edx, dword [esp + 0xa8]
push edx
call fcn.100f4085
add esp, 4
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
cmp dword [esp + 0xf4], ebp
jb 0x10007b19
mov eax, dword [esp + 0xe0]
push eax
call fcn.100f4085
add esp, 4
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x110], ebp
jb 0x10007b47
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.100f4085
add esp, 4
mov byte [esp + 0x260], bl
cmp dword [esp + 0x68], ebp
jb 0x10007b61
mov edx, dword [esp + 0x54]
push edx
call fcn.100f4085
add esp, 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10007720
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xa0], ebp
jb 0x10007b9c
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100f30a6
add esp, 0x250
ret