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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42534d
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x431074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_8146]
test al, al
jne 0x413929
push 0x427b5c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.0040b0d0
add esp, 0xc
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41391d
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
mov ecx, 0x4286a4
lea eax, [ebp - 0x13c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4137d0
test dl, dl
je 0x4137cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4137d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4137b0
xor eax, eax
jmp 0x4137d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4138f4
mov eax, 0x4286a8
lea ecx, [ebp - 0x13c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x413808
test dl, dl
je 0x413804
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x413808
add ecx, 2
add eax, 2
test dl, dl
jne 0x4137e8
xor eax, eax
jmp 0x41380d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4138f4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_1661]
mov edx, eax
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x413840
sub edx, esi
lea ecx, [ebp - 0x28]
push edx
push eax
call fcn.00403030
push 1
push 0x427b60
lea ecx, [ebp - 0x28]
call fcn.004077e0
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413870
sub ecx, edx
lea eax, [ebp - 0x13c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004077e0
test byte [ebp - 0x168], 0x10
lea eax, [ebp - 0x28]
je 0x4138b1
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413710
add esp, 4
jmp 0x4138c0
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4138f4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4138ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41394e
push edx
push ecx
call fcn.00421e33
add esp, 8
lea eax, [ebp - 0x168]
push eax
push edi
call ebx
test eax, eax
jne 0x4137a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421e64
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3