Function at 0x447030
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd178
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x7b2214]
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
mov dword [ebp - 0x188], edx
mov ebx, ecx
push 0x140
lea eax, [ebp - 0x180]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 2
cmp dword [ebp + 0x18], 0
je 0x447307
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0042fd80
call fcn.00447450
add esp, 0x18
test eax, eax
jne 0x4470d7
lea esi, [eax + 1]
jmp 0x447309
lea ecx, [ebp + 8]
call fcn.00446bb0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
call fcn.00430430
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push 2
push 0x76a03c
cmp eax, 2
jb 0x44712d
cmp edx, 0x10
lea esi, [ebp - 0x40]
lea eax, [ecx + 2]
cmovae esi, dword [ebp - 0x40]
add esi, ecx
mov dword [ebp - 0x30], eax
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x447144
mov byte [ebp - 0x184], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x184]
push 2
call fcn.00431100
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x184], eax
cmp eax, 0xffffffff
je 0x447307
mov esi, eax
nop
cmp byte [ebp - 0x154], 0x2e
mov al, byte [ebp - 0x153]
jne 0x447187
test al, al
je 0x4472aa
cmp al, 0x2e
jne 0x447198
cmp byte [ebp - 0x152], 0
je 0x4472aa
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
call fcn.00430430
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 1
push 0x769a64
cmp eax, 1
jb 0x4471e6
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x4471fd
mov byte [ebp - 0x190], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x190]
push 1
call fcn.00431100
lea edi, [ebp - 0x154]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x447206
mov edx, dword [ebp - 0x14]
sub edi, ecx
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x447246
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x154]
add esi, ecx
push eax
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x447263
lea eax, [ebp - 0x154]
mov byte [ebp - 0x18c], 0
push eax
push dword [ebp - 0x18c]
lea ecx, [ebp - 0x28]
push edi
call fcn.00431100
sub esp, 0x18
lea eax, [ebp - 0x28]
test byte [ebp - 0x180], 0x10
mov ecx, esp
push eax
je 0x447289
call fcn.0042fd80
mov edx, dword [ebp - 0x188]
mov ecx, ebx
call fcn.00447030
jmp 0x447299
call fcn.0042fd80
mov ecx, dword [ebp - 0x188]
call fcn.00447720
add esp, 0x18
test eax, eax
jne 0x4472a4
test ebx, ebx
je 0x4472fb
mov esi, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x447170
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x447307
mov esi, 1
jmp 0x447309
push dword [ebp - 0x184]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44733d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447333
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4473df
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x44737f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447375
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4473e4
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4473c1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4473b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4473e9
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
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.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
int3