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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x310], eax
xor eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
push 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0055f301
add esp, 4
test eax, eax
jne 0x549d5c
call fcn.005768fe
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
xor esi, esi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push edi
mov byte [ebp - 4], 3
call fcn.0054a9c0
add esp, 4
test al, al
jne 0x549dbb
mov byte [ebp - 0x2ed], al
jmp 0x54a4b2
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 4
cmp word [edi], ax
jne 0x549ddc
xor ecx, ecx
jmp 0x549df0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x549de1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.00413c10
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.004139c0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
call fcn.004147c0
lea eax, [ebp - 0x30]
xor edi, edi
push eax
push edi
push edi
mov dword [ebp - 0x38], edi
call fcn.004147c0
add esp, 0x18
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x30]
push eax
call fcn.00413510
cmp dword [ebp - 0x14], edi
sete al
test al, al
jne 0x54a403
mov edi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
nop dword [eax]
push 1
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004097d0
mov ecx, eax
call fcn.00413e80
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x549e79
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x54]
cmp ecx, eax
je 0x549e97
push 0xffffffffffffffff
push 0
push eax
call fcn.00414130
push 0x5c0e8c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004146b0
push 0x5c0e88
push eax
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 5
push eax
call fcn.00414650
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x6c]
cmp eax, esi
je 0x549f00
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x549ee3
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.004140a0
xor eax, eax
mov dword [ebp - 0x58], 7
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.00413e10
mov eax, dword [ebp - 0x2f4]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x549f5d
mov ecx, dword [ebp - 0x308]
inc eax
cmp eax, 0x7fffffff
ja 0x549d57
add eax, eax
cmp eax, 0x1000
jb 0x549f54
test cl, 0x1f
jne 0x549d57
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x549d57
sub ecx, eax
cmp ecx, 4
jb 0x549d57
cmp ecx, 0x23
ja 0x549d57
mov ecx, eax
push ecx
call fcn.0047e070
add esp, 4
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x549fd7
mov ecx, dword [ebp - 0x9c]
inc eax
cmp eax, 0x7fffffff
ja 0x549d57
add eax, eax
cmp eax, 0x1000
jb 0x549fce
test cl, 0x1f
jne 0x549d57
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x549d57
sub ecx, eax
cmp ecx, 4
jb 0x549d57
cmp ecx, 0x23
ja 0x549d57
mov ecx, eax
push ecx
call fcn.0047e070
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x54a03e
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x549d57
add eax, eax
cmp eax, 0x1000
jb 0x54a035
test cl, 0x1f
jne 0x549d57
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x549d57
sub ecx, eax
cmp ecx, 4
jb 0x549d57
cmp ecx, 0x23
ja 0x549d57
mov ecx, eax
push ecx
call fcn.0047e070
add esp, 4
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x54a054
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
cmove eax, ecx
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2ec]
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x54a517
nop
mov edx, 0x5c0e90
lea ecx, [ebp - 0x2c0]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x54a0c6
test ax, ax
je 0x54a0c2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x54a0c6
add ecx, 4
add edx, 4
test ax, ax
jne 0x54a0a0
xor eax, eax
jmp 0x54a0cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x54a2bb
mov eax, 0x5c0e94
lea ecx, [ebp - 0x2c0]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x54a106
test dx, dx
je 0x54a102
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x54a106
add ecx, 4
add eax, 4
test dx, dx
jne 0x54a0e0
xor eax, eax
jmp 0x54a10b
sbb eax, eax
or eax, 1
test eax, eax
je 0x54a2bb
test byte [ebp - 0x2ec], 0x10
je 0x54a2c8
push 0x5c0e8c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004146b0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00414650
add esp, 0x18
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00413a80
mov eax, dword [ebp - 0x2f4]
cmp eax, 8
jb 0x54a17b
inc eax
lea ecx, [ebp - 0x308]
push eax
push dword [ebp - 0x308]
call fcn.004140a0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x54a1b7
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004140a0
push 0x5c0e8c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004146b0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00414650
add esp, 0x18
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00413650
mov eax, dword [ebp - 0x2f4]
cmp eax, 8
jb 0x54a212
inc eax
lea ecx, [ebp - 0x308]
push eax
push dword [ebp - 0x308]
call fcn.004140a0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x54a24e
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004140a0
push 0x5c0e8c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004146b0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00414650
mov eax, dword [ebp - 0x70]
add esp, 0x18
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x54a29d
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004140a0
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x54a2bb
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004140a0
test byte [ebp - 0x2ec], 0x10
jne 0x54a3cf
push 0x5c0e8c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004146b0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00414650
add esp, 0x18
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.00413650
mov eax, dword [ebp - 0x2f4]
cmp eax, 8
jb 0x54a323
inc eax
lea ecx, [ebp - 0x308]
push eax
push dword [ebp - 0x308]
call fcn.004140a0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x54a362
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004140a0
push 0x5c0e8c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004146b0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00414650
mov eax, dword [ebp - 0x88]
add esp, 0x18
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x54a3b4
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004140a0
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x54a3cf
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004140a0
lea eax, [ebp - 0x2ec]
push eax
push esi
call edi
test eax, eax
jne 0x54a090
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
cmp eax, 0x12
jne 0x54a411
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [ebp - 0x14], 0
jne 0x549e50
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
cmp esi, edi
je 0x54a438
cmp dword [esi + 0x14], 8
jb 0x54a420
mov eax, dword [esi]
jmp 0x54a422
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov byte [ebp - 0x2ed], 0
jmp 0x54a489
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x54a517
add esi, 0x18
cmp esi, edi
jne 0x54a407
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 0x314], 0
push dword [ebp - 0x314]
push edi
push esi
call fcn.00414c40
add esp, 0xc
cmp esi, edi
je 0x54a482
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x54a46a
mov eax, dword [esi]
jmp 0x54a46c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
je 0x54a517
add esi, 0x18
cmp esi, edi
jne 0x54a460
mov byte [ebp - 0x2ed], 1
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x54a49e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.004140a0
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
lea ecx, [ebp - 0x30]
call fcn.00413600
lea ecx, [ebp - 0x3c]
call fcn.00413600
lea ecx, [ebp - 0x24]
call fcn.00413910
push 1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x309]
call fcn.0040a0e0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x24], 0
cmp ecx, 8
jb 0x54a4f6
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.004140a0
mov al, byte [ebp - 0x2ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x310]
mov byte [ebp - 0x2ed], 0
mov dword [ecx], eax
jmp 0x54a489