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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494726
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040db90
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0
push 0x4a5740
mov edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00446520
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.004230d0
push 0x250
push 0
lea ecx, [ebp - 0x3b8]
push ecx
call fcn.00459400
add esp, 0xc
lea edx, [ebp - 0x108]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x446031
mov dword [ebp - 0x48], 1
jmp 0x446038
mov dword [ebp - 0x48], 0
mov dl, byte [ebp - 0x48]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x44605a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
lea eax, [ebp - 0x3b8]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4464e6
push 0x4a5748
lea edx, [ebp - 0x38c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44634b
push 0x4a574c
lea eax, [ebp - 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44634b
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x150]
call fcn.0040db90
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.00446520
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x108]
call fcn.00403df0
lea ecx, [ebp - 0x138]
call fcn.004230d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.004230d0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x446160
mov eax, dword [ebp - 0x18]
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x18]
and ecx, 2
je 0x446178
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffd
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
je 0x4461ee
lea eax, [ebp - 0x108]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x44619f
mov dword [ebp - 0x50], 1
jmp 0x4461a6
mov dword [ebp - 0x50], 0
mov al, byte [ebp - 0x50]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x4461c8
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x3b8]
and eax, 0x10
je 0x4462df
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x44621e
mov dword [ebp - 0x58], 1
jmp 0x446225
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x446247
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00445f90
add esp, 0xc
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x446292
mov dword [ebp - 0x60], 1
jmp 0x446299
mov dword [ebp - 0x60], 0
mov cl, byte [ebp - 0x60]
mov byte [ebp - 0x10], cl
movzx edx, byte [ebp - 0x10]
test edx, edx
je 0x4462bb
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x44634b
lea eax, [ebp - 0x108]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x14], 8
jb 0x446300
mov dword [ebp - 0x68], 1
jmp 0x446307
mov dword [ebp - 0x68], 0
mov al, byte [ebp - 0x68]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x446329
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x3b8]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446090
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x4464c2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x4463a4
mov ecx, dword [ebp - 0x1c]
and ecx, 0xfffffffe
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x1c]
and edx, 2
je 0x4463bc
mov eax, dword [ebp - 0x1c]
and eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0
je 0x446432
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x4463e3
mov dword [ebp - 0x70], 1
jmp 0x4463ea
mov dword [ebp - 0x70], 0
mov cl, byte [ebp - 0x70]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
test edx, edx
je 0x44640c
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.004466c0
add esp, 8
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x14], 8
jb 0x44646c
mov dword [ebp - 0x78], 1
jmp 0x446473
mov dword [ebp - 0x78], 0
mov al, byte [ebp - 0x78]
mov byte [ebp - 0x13], al
movzx ecx, byte [ebp - 0x13]
test ecx, ecx
je 0x446495
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x168]
call fcn.004230d0
mov dword [ebp - 0xec], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.004230d0
mov eax, dword [ebp - 0xec]
jmp 0x446508
mov dword [ebp - 0xf0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.004230d0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret