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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f8db
mov eax, dword fs:[0]
push eax
sub esp, 0xb4c
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4330df
mov eax, dword [ebp + 8]
push eax
call fcn.00409c50
add esp, 8
test eax, eax
jne 0x4272c7
xor eax, eax
jmp 0x427710
push 0x104
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004097d0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.00409b50
add esp, 8
push 0x43bb58
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00409b60
add esp, 8
push 0xfde9
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x364]
push eax
call fcn.00425280
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.004015c0
mov byte [ebp - 4], 1
push 0xfde9
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0xb48]
push edx
call fcn.00425280
add esp, 0xc
mov dword [ebp - 0xb54], eax
mov eax, dword [ebp - 0xb54]
mov dword [ebp - 0xb58], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb58]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00401690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb48]
call fcn.00401670
lea edx, [ebp - 0x5b4]
push edx
lea ecx, [ebp - 0x138]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x5b8], eax
cmp dword [ebp - 0x5b8], 0xffffffff
jne 0x4273e2
mov dword [ebp - 0xb4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00401670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x364]
call fcn.00401670
mov eax, dword [ebp - 0xb4c]
jmp 0x427710
mov dword [ebp - 0x348], 1
cmp dword [ebp - 0x348], 0
je 0x427676
lea eax, [ebp - 0x588]
push eax
lea ecx, [ebp - 0x5d4]
call fcn.004015f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5d4]
push ecx
push 0x43bb5c
call fcn.004027c0
add esp, 8
movzx edx, al
test edx, edx
jne 0x427445
lea eax, [ebp - 0x5d4]
push eax
push 0x43bb60
call fcn.004027c0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x427473
lea edx, [ebp - 0x5b4]
push edx
mov eax, dword [ebp - 0x5b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5d4]
call fcn.00401670
jmp 0x4273ec
mov ecx, dword [ebp - 0x5b4]
and ecx, 0x10
je 0x4275b6
xor edx, edx
mov word [ebp - 0x7dc], dx
push 0x206
push 0
lea eax, [ebp - 0x7da]
push eax
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x364]
call fcn.004016b0
push eax
lea ecx, [ebp - 0x7dc]
push ecx
call fcn.00409b27
add esp, 8
lea edx, [ebp - 0x588]
push edx
lea eax, [ebp - 0x7dc]
push eax
call fcn.00409af9
add esp, 8
push 0x43bb68
lea ecx, [ebp - 0x7dc]
push ecx
call fcn.00409af9
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xfde9
lea edx, [ebp - 0x7dc]
push edx
lea eax, [ebp - 0x900]
push eax
call fcn.004250d0
add esp, 0xc
mov byte [ebp - 4], 4
mov byte [ebp - 0x8e4], 0
push 0x103
push 0
lea ecx, [ebp - 0x8e3]
push ecx
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x900]
call fcn.004014a0
push eax
lea edx, [ebp - 0x8e4]
push edx
call fcn.00409b50
add esp, 8
lea eax, [ebp - 0x8e4]
push eax
call fcn.00427280
add esp, 4
test eax, eax
jne 0x427571
lea ecx, [ebp - 0x900]
call fcn.004014a0
push eax
push str.Delete_File_:_s
call fcn.0042a070
add esp, 8
lea ecx, [ebp - 0x7dc]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4275a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x904], eax
mov edx, dword [ebp - 0x904]
push edx
push str.RemoveDirectory__Error_Code:_d
call fcn.0042a070
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x900]
call fcn.00401360
jmp 0x427648
xor eax, eax
mov word [ebp - 0xb2c], ax
push 0x206
push 0
lea ecx, [ebp - 0xb2a]
push ecx
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x364]
call fcn.004016b0
push eax
lea edx, [ebp - 0xb2c]
push edx
call fcn.00409b27
add esp, 8
lea eax, [ebp - 0x588]
push eax
lea ecx, [ebp - 0xb2c]
push ecx
call fcn.00409af9
add esp, 8
push 0xfde9
lea edx, [ebp - 0xb2c]
push edx
lea eax, [ebp - 0x920]
push eax
call fcn.004250d0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x920]
call fcn.004014a0
push eax
call fcn.00425fe0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x920]
call fcn.00401360
lea ecx, [ebp - 0x5b4]
push ecx
mov edx, dword [ebp - 0x5b8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5d4]
call fcn.00401670
jmp 0x4273ec
mov eax, dword [ebp - 0x5b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
mov word [ebp - 0x344], cx
push 0x206
push 0
lea edx, [ebp - 0x342]
push edx
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x364]
call fcn.004016b0
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.00409b27
add esp, 8
lea ecx, [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4276df
mov edx, dword [ebp + 8]
push edx
push str.INF:_Remove_dir__SUC__Name:__s...
call fcn.0042a0d0
add esp, 8
mov dword [ebp - 0xb50], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00401670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x364]
call fcn.00401670
mov eax, dword [ebp - 0xb50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret