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

Disassembly:
sub esp, 0x354
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x364]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x433f28
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x104
xor ebx, ebx
lea eax, [esp + 0x25c]
push ebx
push eax
call fcn.00460a00
lea eax, [esp + 0x264]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433f50
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433f62
mov ecx, 0x103
sub eax, esi
sub ecx, edx
cmp ecx, eax
jae 0x433f98
lea eax, [esp + 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433f82
sub eax, edx
mov ecx, eax
mov eax, 0x103
sub eax, ecx
jmp 0x433fab
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433fa0
sub eax, edx
push eax
lea edx, [esp + 0x25c]
push edi
push edx
call fcn.00461caf
lea eax, [esp + 0x264]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433fc7
sub eax, edx
cmp eax, 0x103
jae 0x433ff0
lea eax, [esp + 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x433fe3
sub eax, edx
jmp 0x433ff5
mov eax, 0x103
mov byte [esp + eax + 0x258], bl
lea eax, [esp + 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434006
sub eax, edx
mov ecx, 0x103
sub ecx, eax
cmp ecx, 1
jae 0x43403b
lea eax, [esp + 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434027
sub eax, edx
mov edx, 0x103
sub edx, eax
jmp 0x434040
mov edx, 1
lea eax, [esp + 0x258]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434050
sub eax, esi
je 0x4340d9
lea eax, [esp + 0x258]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434067
sub eax, esi
cmp byte [esp + eax + 0x257], 0x5c
je 0x4340d9
push edx
lea edx, [esp + 0x25c]
push 0x49a4f0
push edx
call fcn.00461caf
lea eax, [esp + 0x264]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4340a0
sub eax, edx
cmp eax, 0x103
jae 0x4340cd
lea eax, [esp + 0x258]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4340c0
sub eax, edx
jmp 0x4340d2
mov eax, 0x103
mov byte [esp + eax + 0x258], bl
lea eax, [esp + 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4340e3
sub eax, edx
mov ecx, 0x103
sub ecx, eax
cmp ecx, 3
jae 0x434118
lea eax, [esp + 0x258]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434104
sub eax, edx
mov ecx, 0x103
sub ecx, eax
jmp 0x43411d
mov ecx, 3
push ecx
lea edx, [esp + 0x25c]
push 0x49b0a0
push edx
call fcn.00461caf
lea eax, [esp + 0x264]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434140
sub eax, edx
cmp eax, 0x103
jae 0x43416d
lea eax, [esp + 0x258]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434160
sub eax, edx
jmp 0x434172
mov eax, 0x103
mov byte [esp + eax + 0x258], bl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4341ad
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.004604af
add esp, 0x354
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x18], 0x10
je 0x43444c
push 0x104
lea edx, [esp + 0x15c]
push ebx
push edx
call fcn.00460a00
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4341e0
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x10]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4341f4
mov ecx, 0x103
sub eax, esi
sub ecx, edx
cmp ecx, eax
jae 0x43422a
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434214
sub eax, edx
mov ecx, eax
mov eax, 0x103
sub eax, ecx
jmp 0x43423c
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434231
sub eax, edx
mov edx, dword [esp + 0x10]
push eax
push edx
lea eax, [esp + 0x160]
push eax
call fcn.00461caf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434260
sub eax, edx
cmp eax, 0x103
jae 0x43428d
lea eax, [esp + 0x158]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434280
sub eax, edx
jmp 0x434292
mov eax, 0x103
mov byte [esp + eax + 0x158], bl
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4342a3
sub eax, edx
mov ecx, 0x103
sub ecx, eax
cmp ecx, 1
jae 0x4342d8
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4342c4
sub eax, edx
mov edx, 0x103
sub edx, eax
jmp 0x4342dd
mov edx, 1
lea eax, [esp + 0x158]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4342e7
sub eax, esi
je 0x43436a
lea eax, [esp + 0x158]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434300
sub eax, esi
cmp byte [esp + eax + 0x157], 0x5c
je 0x43436a
push edx
lea edx, [esp + 0x15c]
push 0x49a4f0
push edx
call fcn.00461caf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434335
sub eax, edx
cmp eax, 0x103
jae 0x43435e
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434351
sub eax, edx
jmp 0x434363
mov eax, 0x103
mov byte [esp + eax + 0x158], bl
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434374
sub eax, edx
mov edx, eax
lea eax, [esp + 0x44]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434388
mov ecx, 0x103
sub eax, esi
sub ecx, edx
cmp ecx, eax
jae 0x4343be
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4343a8
sub eax, edx
mov ecx, eax
mov eax, 0x103
sub eax, ecx
jmp 0x4343d0
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4343c5
sub eax, edx
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x160]
push eax
call fcn.00461caf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4343f0
sub eax, edx
cmp eax, 0x103
jae 0x434431
lea eax, [esp + 0x158]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434410
lea ecx, [esp + 0x158]
sub eax, edx
push ecx
mov byte [esp + eax + 0x15c], bl
call ebp
jmp 0x4346f9
lea ecx, [esp + 0x158]
mov eax, 0x103
push ecx
mov byte [esp + eax + 0x15c], bl
call ebp
jmp 0x4346f9
lea edx, [esp + 0x44]
push 0x49b09c
push edx
call fcn.00461fd8
add esp, 8
test eax, eax
je 0x4346f9
lea eax, [esp + 0x44]
push 0x49b098
push eax
call fcn.00461fd8
add esp, 8
test eax, eax
je 0x4346f9
push 0x104
lea ecx, [esp + 0x15c]
push ebx
push ecx
call fcn.00460a00
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4344a0
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x10]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4344b4
mov ecx, 0x103
sub eax, esi
sub ecx, edx
cmp ecx, eax
jae 0x4344ea
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4344d4
sub eax, edx
mov ecx, eax
mov eax, 0x103
sub eax, ecx
jmp 0x4344fc
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4344f1
sub eax, edx
mov edx, dword [esp + 0x10]
push eax
push edx
lea eax, [esp + 0x160]
push eax
call fcn.00461caf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434520
sub eax, edx
cmp eax, 0x103
jae 0x43454d
lea eax, [esp + 0x158]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434540
sub eax, edx
jmp 0x434552
mov eax, 0x103
mov byte [esp + eax + 0x158], bl
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434563
sub eax, edx
mov ecx, 0x103
sub ecx, eax
cmp ecx, 1
jae 0x434598
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434584
sub eax, edx
mov edx, 0x103
sub edx, eax
jmp 0x43459d
mov edx, 1
lea eax, [esp + 0x158]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4345a7
sub eax, esi
je 0x43462a
lea eax, [esp + 0x158]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4345c0
sub eax, esi
cmp byte [esp + eax + 0x157], 0x5c
je 0x43462a
push edx
lea edx, [esp + 0x15c]
push 0x49a4f0
push edx
call fcn.00461caf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4345f5
sub eax, edx
cmp eax, 0x103
jae 0x43461e
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434611
sub eax, edx
jmp 0x434623
mov eax, 0x103
mov byte [esp + eax + 0x158], bl
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434634
sub eax, edx
mov edx, eax
lea eax, [esp + 0x44]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434648
mov ecx, 0x103
sub eax, esi
sub ecx, edx
cmp ecx, eax
jae 0x43467e
lea eax, [esp + 0x158]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434668
sub eax, edx
mov ecx, eax
mov eax, 0x103
sub eax, ecx
jmp 0x434690
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x434685
sub eax, edx
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x160]
push eax
call fcn.00461caf
lea eax, [esp + 0x164]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4346b0
sub eax, edx
cmp eax, 0x103
jae 0x4346dd
lea eax, [esp + 0x158]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4346d0
sub eax, edx
jmp 0x4346e2
mov eax, 0x103
lea ecx, [esp + 0x158]
push ecx
mov byte [esp + eax + 0x15c], bl
call fcn.00433ef0
add esp, 4
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4341b4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x360]
pop ebp
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.004604af
add esp, 0x354
ret