Function at 0x4348c1
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2bc
mov eax, 0x4b345b
call fcn.0047a6c1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jne 0x4348e1
xor eax, eax
jmp 0x434b3e
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00411e48
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.004341aa
mov dword [esp], 0x250
lea eax, [ebp - 0x2c0]
push ebx
push eax
call fcn.0047bc10
push 0x4c0fd4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00414703
add esp, 0x18
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
mov esi, ebx
cmp eax, 0xffffffff
je 0x434ae5
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00414703
mov ebx, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x4349a0
mov ecx, eax
call fcn.00411fa2
push ebx
lea ecx, [ebp - 0x28]
call fcn.00411ee1
lea ecx, [ebp - 0x70]
call fcn.00411fa2
test byte [ebp - 0x2c0], 0x10
je 0x4349f2
lea eax, [ebp - 0x294]
push 0x4c0fdc
push eax
call fcn.00489d2e
pop ecx
pop ecx
test eax, eax
je 0x434a27
lea eax, [ebp - 0x294]
push 0x4c0dbc
push eax
call fcn.00489d2e
pop ecx
pop ecx
test eax, eax
je 0x434a27
push 1
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004348c1
add esp, 0xc
add esi, eax
jmp 0x434a27
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x434a27
test edi, edi
je 0x434a27
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x434a27
inc esi
mov ebx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434970
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x434a85
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x434a85
test edi, edi
je 0x434a85
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x434a85
inc esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x434ad4
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], ecx
cmp eax, 0x1000
jb 0x434acb
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2c8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c4]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x58]
call fcn.00411fa2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x434b3c
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x434b33
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2c4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
mov eax, esi
call fcn.0047a67f
ret