Function at 0x1000aaa0
Capabilities:
Create thread
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x1004123e
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x10050fc0]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10050fc0]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x208]
mov edi, dword [esp + 0x20c]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
push str..
push eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x20c], ebx
call fcn.10008520
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x20c], 1
call fcn.10006290
mov ebp, 0x10
mov byte [esp + 0x200], bl
cmp dword [esp + 0x54], ebp
jb 0x1000ab56
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1001b206
add esp, 4
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], ebp
jae 0x1000ab67
lea eax, [esp + 0x78]
lea edx, [esp + 0x90]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x1000b18f
jmp 0x1000ab90
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov eax, dword [esp + 0x18]
push 0x10043700
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x20c], 2
call fcn.10008520
lea edx, [esp + 0xc8]
push edx
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x218], 3
call fcn.10008520
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x20c], 4
call fcn.10006b30
cmp dword [esp + 0x54], ebp
jb 0x1000ac03
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1001b206
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x200], 2
cmp dword [esp + 0x38], ebp
jb 0x1000ac2a
mov edx, dword [esp + 0x24]
push edx
call fcn.1001b206
add esp, 4
test byte [esp + 0x90], 0x10
je 0x1000adf5
cmp byte [esp + 0xbc], 0x2e
je 0x1000b149
mov esi, dword [esp + 0x210]
push esi
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.1000aaa0
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
push 0x10043700
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x218], 5
call fcn.10008520
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x20c], 6
call fcn.10006290
mov byte [esp + 0x200], 5
cmp dword [esp + 0x38], ebp
jb 0x1000acb8
mov eax, dword [esp + 0x24]
push eax
call fcn.1001b206
add esp, 4
xor eax, eax
mov dword [esp + 0x1d1], eax
mov dword [esp + 0x1d5], eax
mov dword [esp + 0x1d9], eax
mov dword [esp + 0x1dd], eax
mov dword [esp + 0x1e1], eax
mov dword [esp + 0x1e5], eax
mov dword [esp + 0x1e9], eax
mov dword [esp + 0x1ed], eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x1d0], bl
cmp dword [esp + 0x54], ebp
jae 0x1000ad07
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x1d0]
push ecx
push edx
push eax
call fcn.1001a2a0
mov eax, esi
add esp, 0xc
sub eax, 1
je 0x1000ada8
sub eax, 1
jne 0x1000add9
lea eax, [esp + 0x1d0]
lea edx, [eax + 1]
jmp 0x1000ad40
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000ad40
sub eax, edx
push eax
lea eax, [esp + 0x1d4]
push eax
mov ecx, edi
call fcn.10006d20
mov ecx, edi
call fcn.10004820
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1000ad65
sub ecx, esi
push ecx
push ebx
push eax
mov ecx, 0x10050060
call fcn.10004230
cmp eax, 0xffffffff
jne 0x1000add9
mov ecx, edi
call fcn.10004820
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1000ad90
sub ecx, esi
push ecx
push ebx
push eax
mov ecx, 0x1005007c
call fcn.10004230
jmp 0x1000add9
lea eax, [esp + 0x1d0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000adb2
sub eax, edx
push eax
lea ecx, [esp + 0x1d4]
push ecx
mov ecx, edi
call fcn.10006c10
push 1
push 0x10043808
mov ecx, edi
call fcn.10006c10
mov byte [esp + 0x200], 2
cmp dword [esp + 0x54], ebp
jb 0x1000b149
mov edx, dword [esp + 0x40]
push edx
jmp 0x1000b141
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x20], 0x5c
call fcn.100042f0
push eax
push ebx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x64]
call fcn.10007ff0
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x20c], 7
mov byte [esp + 0x20], 0x5c
call fcn.100042f0
push eax
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.10007ff0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x20c], 8
call fcn.10006b30
mov byte [esp + 0x200], 7
cmp dword [esp + 0x38], ebp
jb 0x1000ae7b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1001b206
add esp, 4
mov edx, dword [esp + 0x50]
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x1d5], eax
mov dword [esp + 0x1d9], eax
mov dword [esp + 0x1dd], eax
mov dword [esp + 0x1e1], eax
mov dword [esp + 0x1e5], eax
mov dword [esp + 0x1e9], eax
mov dword [esp + 0x1ed], eax
mov dword [esp + 0x1f1], eax
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x1dc], bl
call fcn.10007ff0
mov byte [esp + 0x200], 9
cmp dword [eax + 0x18], ebp
jb 0x1000aee3
mov edx, dword [eax + 4]
jmp 0x1000aee6
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
jmp 0x1000aef0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000aef0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.10006d20
mov byte [esp + 0x200], 7
cmp dword [esp + 0x38], ebp
jb 0x1000af1f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1001b206
add esp, 4
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x1000af2d
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x1d0]
push edx
push ecx
push eax
call fcn.1001a2a0
mov eax, dword [esp + 0x21c]
add esp, 0xc
sub eax, 1
je 0x1000b0fd
sub eax, 1
jne 0x1000b12e
lea eax, [esp + 0x1d0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000af66
sub eax, edx
push eax
lea edx, [esp + 0x1d4]
push edx
mov ecx, edi
call fcn.10006d20
push 0x10044438
call fcn.10009a60
mov eax, dword [esp + 0x60]
add esp, 4
cmp dword [esp + 0x70], ebp
jae 0x1000af9a
lea eax, [esp + 0x5c]
push eax
call fcn.10009a60
push 0x1004441c
call fcn.10009a60
add esp, 8
mov ecx, edi
call fcn.10004820
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1000afc0
sub ecx, esi
push ecx
push ebx
push eax
mov ecx, 0x10050060
call fcn.10004230
cmp eax, 0xffffffff
jne 0x1000b12e
mov ecx, edi
call fcn.10004820
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x1000aff0
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1000aff0
sub ecx, esi
push ecx
push ebx
push eax
mov ecx, 0x1005007c
call fcn.10004230
cmp eax, 0xffffffff
jne 0x1000b12e
push 0x10044400
call fcn.10009a60
mov eax, dword [esp + 0x60]
add esp, 4
cmp dword [esp + 0x70], ebp
jae 0x1000b02a
lea eax, [esp + 0x5c]
push eax
call fcn.10009a60
push 0x10044400
call fcn.10009a60
mov ecx, dword [esp + 0x20]
add esp, 8
call fcn.10004820
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x1000b050
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1000b050
sub ecx, esi
push ecx
push ebx
push eax
lea ecx, [esp + 0x64]
call fcn.10004230
cmp eax, 0xffffffff
je 0x1000b12e
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x1000b07c
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000b12e
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x1000b099
lea edx, [esp + 0x5c]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000b0a0
sub eax, esi
push eax
push ebx
push edx
mov ecx, 0x10050098
call fcn.10004230
cmp eax, 0xffffffff
jne 0x1000b12e
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x1000b0c9
lea eax, [esp + 0x5c]
push eax
mov ecx, 0x10050098
call fcn.100083a0
push 0x10043808
mov ecx, 0x10050098
call fcn.100083a0
push ebx
push ebx
push ebx
push 0x10008830
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000b12e
lea eax, [esp + 0x1d0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000b107
sub eax, edx
push eax
lea eax, [esp + 0x1d4]
push eax
mov ecx, edi
call fcn.10006c10
push 1
push 0x10043808
mov ecx, edi
call fcn.10006c10
mov byte [esp + 0x200], 2
cmp dword [esp + 0x54], ebp
jb 0x1000b149
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1001b206
add esp, 4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x90]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000b17c
cmp dword [esp + 0x70], ebp
jb 0x1000ab90
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1001b206
add esp, 4
jmp 0x1000ab90
cmp dword [esp + 0x70], ebp
jb 0x1000b18f
mov edx, dword [esp + 0x5c]
push edx
call fcn.1001b206
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1000b19e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x8c], ebp
jb 0x1000b1b4
mov eax, dword [esp + 0x78]
push eax
call fcn.1001b206
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.1002742c
add esp, 0x1f0
ret