Function at 0x407320
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414e14
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x41e090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e8], ecx
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea esi, [ecx + 1]
jmp 0x407370
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x407370
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x30]
call fcn.00404cc0
mov dword [ebp - 4], ebx
mov edx, 0xf
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jbe 0x40749a
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x30]
jae 0x4073ae
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x40749a
mov edi, 1
mov eax, 0x41b1f0
lea esi, [ebp - 0x84]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00404cc0
mov edx, esi
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 2
call fcn.00404210
add esp, 0xc
mov esi, eax
lea edx, [ebp - 0x30]
cmp edx, esi
je 0x407452
cmp dword [ebp - 0x1c], 0x10
jb 0x40740f
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040b752
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], 0x10
jae 0x407437
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0040bab0
add esp, 0xc
jmp 0x40743e
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0x8c], 0x10
jb 0x40746e
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0040b752
add esp, 4
lea eax, [ebp - 0x30]
push eax
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x68]
call fcn.00404910
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], 0x10
jb 0x407498
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0040b752
add esp, 4
xor ebx, ebx
mov edi, 1
mov eax, 0x41b44c
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00404cc0
mov edx, esi
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 4
call fcn.00404210
add esp, 0xc
mov esi, eax
lea edx, [ebp - 0x30]
mov edi, 0x10
cmp edx, esi
je 0x407537
cmp dword [ebp - 0x1c], edi
jb 0x4074f2
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040b752
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x407518
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0040bab0
add esp, 0xc
jmp 0x40751f
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], edi
jb 0x407552
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0040b752
add esp, 4
push 0x13c
lea eax, [ebp - 0x1e0]
push ebx
push eax
mov dword [ebp - 0x1e4], ebx
call fcn.004128c0
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], edi
jae 0x407578
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x1e4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1ec], eax
cmp eax, 0xffffffff
jne 0x4075f0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x38], edi
jb 0x4075a9
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0040b752
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x4075c8
mov eax, dword [ebp - 0x68]
push eax
call fcn.0040b752
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x1c], edi
jb 0x4075e2
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0040b752
add esp, 4
xor eax, eax
jmp 0x40770a
test byte [ebp - 0x1e4], 0x10
jne 0x407698
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00403fd0
lea edx, [ebp - 0x84]
push edx
mov esi, eax
mov byte [ebp - 4], 6
call fcn.004072b0
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], edi
jb 0x407644
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0040b752
add esp, 4
mov esi, dword [ebp - 0x1e8]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407650
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x84]
push ecx
call fcn.00408990
cmp eax, 0xffffffff
je 0x407684
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x70], edi
jae 0x40767d
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x70], edi
jb 0x407698
mov edx, dword [ebp - 0x84]
push edx
call fcn.0040b752
add esp, 4
mov esi, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4075f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x38], edi
jb 0x4076cc
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0040b752
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x4076eb
mov edx, dword [ebp - 0x68]
push edx
call fcn.0040b752
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x1c], edi
jb 0x407705
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040b752
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b5e7
mov esp, ebp
pop ebp
ret