Function at 0x5d8850
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d8b40
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0xa8], xmm0
push 0x2c
mov dword [ebp - 0x3c4], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
call fcn.00650ded
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], edi
xorps xmm0, xmm0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x108]
push eax
push 0x71a27c
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
call fcn.004271d0
add esi, 0x4c
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0xc0]
call fcn.00427050
lea edx, [ebp - 0x168]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.00605b20
lea ecx, [ebp - 0xc0]
call fcn.004f9c50
xor esi, esi
mov dword [ebp - 0x3c0], esi
xor eax, eax
mov dword [ebp - 0x78], 0
push eax
push 0x71a27c
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.004271d0
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov edx, esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd8]
call fcn.00605840
lea eax, [ebp - 0xd8]
mov edx, 0x71a2e0
push eax
lea ecx, [ebp - 0xf0]
call fcn.00431170
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xc0]
push ecx
push ecx
mov ecx, eax
call fcn.0042fed0
xor ecx, ecx
or edi, 1
mov dword [ebp - 0x3c4], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x88]
movq qword [ebp - 0x3cc], xmm0
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00427170
movups xmm0, xmmword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
movups xmmword [ebp - 0x88], xmm0
mov word [ebp - 0xa0], ax
movq xmm0, qword [ebp - 0x3cc]
movq qword [ebp - 0x78], xmm0
call fcn.00427170
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.00427170
xor eax, eax
mov dword [ebp - 0x110], 0
push eax
push 0x71a27c
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
call fcn.004271d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
push dword [ebp - 0x3c8]
cmp dword [ebp - 0x74], 8
mov esi, dword [ebp - 0x78]
mov edx, esi
cmovae ecx, dword [ebp - 0x88]
push 1
push 0x71b0d0
push ecx
call fcn.005d9b20
xor ecx, ecx
mov dword [ebp - 0x3c8], eax
add esp, 0x10
mov word [ebp - 0x28], cx
cmp esi, eax
mov dword [ebp - 0x18], 0
mov ecx, eax
mov dword [ebp - 0x14], 7
cmovb ecx, esi
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x28]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x108]
call fcn.00427170
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0xf8], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00427170
mov edx, dword [ebp - 0x3c8]
xor eax, eax
inc edx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, edx
jb 0x5d939e
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x28]
lea eax, [eax + edx*2]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x120]
call fcn.00427170
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x110], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00427170
push dword [ebp - 0x3c8]
mov edi, dword [ebp - 0xac]
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0xb0]
cmp edi, 8
push 1
cmovae ecx, dword [ebp - 0xc0]
mov edx, esi
push 0x71b0d0
push ecx
call fcn.005d9b20
add esp, 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [eax + 1]
xor eax, eax
mov word [ebp - 0x28], ax
cmp esi, edx
jb 0x5d939e
sub esi, edx
lea eax, [ebp - 0xc0]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
lea eax, [eax + edx*2]
push eax
call fcn.004271d0
mov edi, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x70]
or edi, 0xe
call fcn.00427170
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00427170
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x120]
push ecx
cmp eax, dword [ebp - 0x38]
je 0x5d8d00
mov ecx, eax
call fcn.00427050
add dword [ebp - 0x3c], 0x18
jmp 0x5d8d09
push eax
lea ecx, [ebp - 0x40]
call fcn.004409f0
lea ecx, [ebp - 0x120]
call fcn.00427170
lea ecx, [ebp - 0xd8]
call fcn.00427170
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00427170
mov esi, dword [ebp - 0x3c0]
dec esi
mov dword [ebp - 0x3c0], esi
cmp esi, 0xfffffffe
jg 0x5d8993
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x138]
push eax
call fcn.004271d0
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x138]
call fcn.004f9cd0
push 0x71b0d0
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x3e4]
call fcn.00431250
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.004272f0
mov dword [ebp - 0xc8], 0
xor ecx, ecx
mov dword [ebp - 0xc4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x726514
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.004272f0
mov dword [ebp - 0x140], 0
xor ecx, ecx
mov dword [ebp - 0x13c], 0
or edi, 0x30
mov dword [ebp - 0x3c4], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x150], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x140], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xd8]
call fcn.00427170
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 0x11
call fcn.00427170
cmp dword [ebp - 0x13c], 8
lea ecx, [ebp - 0x3b8]
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x3c8], eax
cmp eax, 0xffffffff
jne 0x5d8e90
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x5d931d
lea ecx, [ebp - 0x38c]
mov byte [ebp - 0x3b9], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d8ea0
sub ecx, edx
lea eax, [ebp - 0x38c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004271d0
mov ecx, 0x71a2d8
lea eax, [ebp - 0x38c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8ef6
test dx, dx
je 0x5d8ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x5d8ed0
xor eax, eax
jmp 0x5d8efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x5d9242
mov ecx, 0x78a2cc
lea eax, [ebp - 0x38c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8f36
test dx, dx
je 0x5d8f32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8f36
add eax, 4
add ecx, 4
test dx, dx
jne 0x5d8f10
xor eax, eax
jmp 0x5d8f3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5d9242
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x40]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5d907b
xor ecx, ecx
mov dword [ebp - 0x3c0], ecx
nop dword [eax]
cmp eax, edi
jbe 0x5d93a3
lea eax, [esi + ecx]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00427050
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 8
mov esi, dword [ebp - 0x48]
mov edx, esi
cmovae ecx, dword [ebp - 0x58]
push eax
push 0
call fcn.0042fe40
add esp, 0xc
test eax, eax
jne 0x5d9029
mov ecx, dword [ebp - 0x90]
cmp esi, ecx
mov dword [ebp - 0x18], eax
cmovb ecx, esi
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 0x3b9], 1
mov dword [ebp - 0x14], 7
call fcn.004271d0
or dword [ebp - 0x3c4], 0x40
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00427170
test esi, esi
je 0x5d906c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.00427170
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x40]
inc edi
add dword [ebp - 0x3c0], 0x18
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x5d913e
mov ecx, dword [ebp - 0x3c0]
jmp 0x5d8f70
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.00427170
mov al, byte [ebp - 0x3b9]
cmp al, 1
jne 0x5d9242
push 0x71b0d0
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0xa0]
call fcn.00431250
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae edx, dword [ebp - 0x58]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d90c0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004272f0
or dword [ebp - 0x3c4], 0x100
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
call fcn.00427170
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xf0]
push ecx
cmp eax, dword [ebp - 0x2c]
je 0x5d922a
mov ecx, eax
call fcn.00427050
add dword [ebp - 0x30], 0x18
jmp 0x5d9233
mov al, byte [ebp - 0x3b9]
cmp al, 1
jne 0x5d9242
cmp dword [ebp - 0x124], 8
lea ecx, [ebp - 0x138]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x138]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5d907b
push 0x71b0d0
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0xa0]
call fcn.00431250
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae edx, dword [ebp - 0x58]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d91b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004272f0
or dword [ebp - 0x3c4], 0x80
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xa0]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov byte [ebp - 4], 0x11
call fcn.00427170
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x28]
jmp 0x5d923d
push eax
lea ecx, [ebp - 0x34]
call fcn.004409f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xf0]
call fcn.00427170
lea eax, [ebp - 0x3b8]
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x5d8e90
mov esi, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x34]
sub esi, ecx
push dword [ebp - 0x3c8]
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x30]
push eax
call fcn.005d9cc0
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x34]
mov esi, 3
sub ecx, edi
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
jbe 0x5d931d
xor edx, edx
mov dword [ebp - 0x3c0], edx
lea eax, [esi - 3]
cmp ecx, eax
jbe 0x5d93a3
lea eax, [edx + edi]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00427050
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0xf0]
call fcn.00427170
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x34]
inc esi
add dword [ebp - 0x3c0], 0x18
sub ecx, edi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x3c0]
cmp esi, ecx
jb 0x5d92b2
lea ecx, [ebp - 0x150]
call fcn.00427170
lea ecx, [ebp - 0xc0]
call fcn.00427170
lea ecx, [ebp - 0x108]
call fcn.00427170
lea ecx, [ebp - 0x168]
call fcn.00427170
lea ecx, [ebp - 0x138]
call fcn.00427170
lea ecx, [ebp - 0x70]
call fcn.00427170
lea ecx, [ebp - 0x58]
call fcn.00427170
lea ecx, [ebp - 0x34]
call fcn.0043f150
lea ecx, [ebp - 0x40]
call fcn.0043f150
lea ecx, [ebp - 0xa8]
call fcn.005d9ad0
xor al, al
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.00650ddc
mov esp, ebp
pop ebp
ret 4
call fcn.0042f400
call fcn.004c5f20
int3