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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44efb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4664b0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00419340
add esp, 8
mov dword [ebp - 4], 0
push 0x4543f0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x168]
push eax
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00410ff0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x168]
call fcn.0041c700
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x164], 0xffffffff
je 0x419f3b
push 0x4543f4
lea edx, [ebp - 0x130]
push edx
call fcn.0041a240
add esp, 8
test eax, eax
je 0x419d09
push 0x4543f8
lea eax, [ebp - 0x130]
push eax
call fcn.0041a240
add esp, 8
test eax, eax
jne 0x419d0e
jmp 0x419e45
mov ecx, dword [ebp - 0x15c]
and ecx, 0x10
je 0x419d71
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18c]
call fcn.00410ff0
push eax
call fcn.00419c40
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.0041c700
jmp 0x419e45
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
call fcn.00410ff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x170]
call fcn.0041c700
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
push 3
call fcn.004262d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x419dd0
jmp 0x419e45
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x174]
push eax
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x198]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x45441c
push 0xd8
push 0x4543fc
push 3
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0041c700
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419cd9
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.004192b0
add esp, 8
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.00410ff0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x178]
call fcn.0041c700
push 3
call fcn.004262d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x419ec6
jmp 0x419f3b
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x454454
push 0xe0
push 0x454434
push 3
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.0041c700
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x180], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c700
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00430af0
mov esp, ebp
pop ebp
ret