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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bba7
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5e9db0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x27c], ecx
xor esi, esi
push 0x5b3628
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x26c], esi
call fcn.00401d50
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x274]
push edi
push ecx
mov dword [ebp - 4], esi
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.00405080
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4270f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x264]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x288], eax
nop
call fcn.00469967
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4275ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x274], eax
mov ecx, 0x5b250c
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x427165
mov edx, ecx
movzx esi, dx
push esi
call fcn.004636d7
test eax, eax
je 0x427177
push esi
push eax
lea ecx, [ebp - 0x274]
call fcn.00401f60
jmp 0x427177
push 1
push 0x5b250c
lea ecx, [ebp - 0x274]
call fcn.00402180
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x274]
or dword [ebp - 0x26c], 1
lea ecx, [ebp - 0x238]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4271b6
test dx, dx
je 0x4271b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4271b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x427190
xor eax, eax
jmp 0x4271bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427213
push 0x5b3630
lea ecx, [ebp - 0x28c]
call fcn.00401d50
or dword [ebp - 0x26c], 2
mov eax, dword [eax]
lea ecx, [ebp - 0x238]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427206
test dx, dx
je 0x427202
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427206
add eax, 4
add ecx, 4
test dx, dx
jne 0x4271e0
xor eax, eax
jmp 0x42720b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427213
mov bl, 1
jmp 0x427215
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x26c], 2
je 0x42724e
mov eax, dword [ebp - 0x28c]
and dword [ebp - 0x26c], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42724e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
test byte [ebp - 0x26c], 1
je 0x427281
and dword [ebp - 0x26c], 0xfffffffe
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427281
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4275ca
test byte [ebp - 0x264], 0x10
je 0x42751f
mov esi, dword [edi]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x4272be
cmp eax, dword [esi - 0x10]
jne 0x4272be
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4272f6
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4275f7
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x268], edi
push 0x5afbc8
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x298]
push edx
mov byte [ebp - 4], 5
call fcn.0041bb50
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov esi, dword [ebp - 0x268]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42737f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42736f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42736f
push eax
call fcn.004052f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x427364
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x268], ebx
jmp 0x42737f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.00402180
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x298]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4273a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x294]
call fcn.00401d50
push eax
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 7
call fcn.0041ba90
add esp, 0xc
push 0x5af97c
push eax
lea ecx, [ebp - 0x278]
push ecx
mov byte [ebp - 4], 8
call fcn.0041bb50
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov esi, dword [ebp - 0x268]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42744c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42743c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42743c
push eax
call fcn.004052f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x427431
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x268], ebx
jmp 0x42744c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.00402180
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4274be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp - 0x27c]
call fcn.00427050
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x4275f7
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4275ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4275ca
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x280]
push edi
push edx
call fcn.0041bb50
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
mov esi, dword [ebp - 0x270]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x427597
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x427587
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x427587
push eax
call fcn.004052f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42757c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x270], ebx
jmp 0x427597
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x270]
call fcn.00402180
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4275bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x288]
lea edx, [ebp - 0x264]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4275fc
mov edi, dword [ebp - 0x290]
jmp 0x427110
push 0x80004005
call fcn.00401090
call fcn.00402290
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42762c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret 4