Function at 0x434050
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4675c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 8]
jne 0x4340b2
cmp dword [esi + 0x14], 8
jb 0x434091
mov eax, dword [esi]
jmp 0x434093
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x4340a9
mov eax, dword [esi]
jmp 0x4340ab
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 0x5c
push eax
mov ecx, esi
call fcn.00436a10
mov edi, eax
test edi, edi
je 0x4343cd
cmp edi, 0xffffffff
je 0x4343cd
push edi
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00411160
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
cmp word [edx + eax*2 - 2], 0x5c
jne 0x434137
lea eax, [edi - 1]
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00411160
push eax
lea ecx, [ebp - 0x28]
call fcn.00403bb0
cmp dword [ebp - 0x44], 8
jb 0x434137
push dword [ebp - 0x58]
call fcn.004396bb
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ecx]
push 0x472fdc
lea eax, [ebp - 0x28]
xor bh, bh
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004119d0
add esp, 0xc
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 esi, eax
cmp esi, 0xffffffff
je 0x4343ab
mov bl, 1
lea ecx, [ebp - 0x294]
mov edx, 0x472fe8
lea esp, [esp]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4341b6
test ax, ax
je 0x4341b2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4341b6
add ecx, 4
add edx, 4
test ax, ax
jne 0x434190
xor eax, eax
jmp 0x4341bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x434203
mov ecx, 0x472fec
lea eax, [ebp - 0x294]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4341f6
test dx, dx
je 0x4341f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4341f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4341d0
xor eax, eax
jmp 0x4341fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434295
lea eax, [ebp - 0x2c0]
push eax
push esi
call edi
test eax, eax
je 0x434295
mov ecx, 0x472fe8
lea eax, [ebp - 0x294]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434246
test dx, dx
je 0x434242
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434246
add eax, 4
add ecx, 4
test dx, dx
jne 0x434220
xor eax, eax
jmp 0x43424b
sbb eax, eax
or eax, 1
test eax, eax
je 0x434203
mov eax, 0x472fec
lea ecx, [ebp - 0x294]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x434286
test dx, dx
je 0x434282
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x434286
add ecx, 4
add eax, 4
test dx, dx
jne 0x434260
xor eax, eax
jmp 0x43428b
sbb eax, eax
or eax, 1
test eax, eax
je 0x434203
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x43438c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x43438c
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 0x5c
push eax
lea ecx, [ebp - 0x28]
call fcn.00436a10
mov esi, eax
cmp esi, 0xffffffff
je 0x43438c
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411160
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 2
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x434369
lea eax, [esi - 1]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411160
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x434358
cmp dword [ebp - 0x2c], 8
jb 0x43433b
push dword [ebp - 0x40]
call fcn.004396bb
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403e80
cmp dword [ebp - 0x5c], 8
jb 0x434369
push dword [ebp - 0x70]
call fcn.004396bb
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404320
cmp dword [ebp - 0x2c], 8
mov bh, 1
jb 0x43438c
push dword [ebp - 0x40]
call fcn.004396bb
add esp, 4
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 0
jb 0x4343a1
push dword [ebp - 0x58]
call fcn.004396bb
add esp, 4
test bh, bh
jne 0x434140
jmp 0x4343bc
cmp dword [ebp - 0x44], 8
jb 0x4343bc
push dword [ebp - 0x58]
call fcn.004396bb
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x4343cd
push dword [ebp - 0x28]
call fcn.004396bb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e07
mov esp, ebp
pop ebp
ret