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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f252f
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x521284]
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 - 0xc0], xmm0
push 0x2c
mov dword [ebp - 0x3a8], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
call fcn.004cc236
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 - 0xc0], eax
mov dword [ebp - 4], edi
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], eax
push 0x50cdf8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00402a90
add esi, 0x4c
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0xd8]
call fcn.00402eb0
lea edx, [ebp - 0x150]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.00425dc0
lea ecx, [ebp - 0xd8]
call fcn.00425b70
xor esi, esi
mov dword [ebp - 0x3cc], esi
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0xb8], 0
push eax
push 0x50cdf8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00402a90
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov edx, esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.00425890
mov ecx, dword [ebp - 0x78]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41dfc5
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
push 1
push 0x50cda0
push ecx
push dword [ebp - 0x3ac]
lea ecx, [ebp - 0xf0]
call fcn.00402c40
or edi, 1
mov dword [ebp - 0x3a8], edi
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xd8]
cmp dword [ebp - 0xc4], 8
push dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0xd8]
push eax
push ecx
lea ecx, [ebp - 0xf0]
call fcn.0041ed40
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c0], xmm0
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0xb8]
movq qword [ebp - 0x3b0], xmm0
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x3c0]
xor eax, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0xb8], xmm0
mov word [ebp - 0x58], ax
movq xmm0, qword [ebp - 0x3b0]
movq qword [ebp - 0xa8], xmm0
call fcn.00402a30
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.00402a30
xor eax, eax
mov dword [ebp - 0x108], 0
push eax
push 0x50cdf8
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
call fcn.00402a90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x3ac]
cmp dword [ebp - 0xa4], 8
mov esi, dword [ebp - 0xa8]
mov edx, esi
cmovae ecx, dword [ebp - 0xb8]
push 1
push 0x50cd8c
push ecx
call fcn.0041ea30
add esp, 0x10
mov dword [ebp - 0x3ac], eax
cmp esi, eax
mov dword [ebp - 0x3c8], 0
mov edx, eax
mov dword [ebp - 0x3b8], 0
cmovb edx, esi
mov dword [ebp - 0x3b4], 7
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xb8]
push edx
cmovae ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x3c8]
call fcn.00402a90
lea ecx, [ebp - 0x70]
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x3c8]
xor eax, eax
lea ecx, [ebp - 0x3c8]
mov word [ebp - 0x3c8], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x3b8]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 7
call fcn.00402a30
mov edx, dword [ebp - 0x3ac]
mov eax, dword [ebp - 0xa8]
inc edx
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 7
cmp eax, edx
jb 0x41dfc0
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x3c8]
lea eax, [eax + edx*2]
push eax
call fcn.00402a90
lea ecx, [ebp - 0x108]
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x3c8]
xor eax, eax
lea ecx, [ebp - 0x3c8]
mov word [ebp - 0x3c8], ax
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [ebp - 0x3b8]
movq qword [ebp - 0xf8], xmm0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 7
call fcn.00402a30
push dword [ebp - 0x3ac]
mov edi, dword [ebp - 0xc4]
lea ecx, [ebp - 0xd8]
mov esi, dword [ebp - 0xc8]
cmp edi, 8
push 1
cmovae ecx, dword [ebp - 0xd8]
mov edx, esi
push 0x50cd8c
push ecx
call fcn.0041ea30
add esp, 0x10
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 7
lea edx, [eax + 1]
cmp esi, edx
jb 0x41dfc0
sub esi, edx
lea eax, [ebp - 0xd8]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0x3c8]
lea eax, [eax + edx*2]
push eax
call fcn.00402a90
mov edi, dword [ebp - 0x3a8]
lea ecx, [ebp - 0xa0]
or edi, 0x1e
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x3c8]
xor eax, eax
lea ecx, [ebp - 0x3c8]
mov word [ebp - 0x3c8], ax
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [ebp - 0x3b8]
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 7
call fcn.00402a30
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x108]
push ecx
cmp eax, dword [ebp - 0x20]
je 0x41d8c7
mov ecx, eax
call fcn.00402eb0
add dword [ebp - 0x24], 0x18
jmp 0x41d8d0
push eax
lea ecx, [ebp - 0x28]
call fcn.00403940
lea ecx, [ebp - 0x108]
call fcn.00402a30
lea ecx, [ebp - 0x88]
call fcn.00402a30
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.00402a30
mov esi, dword [ebp - 0x3cc]
dec esi
mov dword [ebp - 0x3cc], esi
cmp esi, 0xfffffffe
jg 0x41d4b0
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x120]
push eax
call fcn.00402a90
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x120]
call fcn.00425bf0
mov ecx, dword [ebp - 0x60]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41dfc5
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 1
cmovae eax, dword [ebp - 0x70]
push 0x50cd8c
push ecx
push eax
push ecx
push dword [ebp - 0x3ac]
lea ecx, [ebp - 0x3e4]
call fcn.00402c40
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x3e4]
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.00403260
mov dword [ebp - 0x3c8], 0
xor ecx, ecx
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3b8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x50cd90
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], 0xe
call fcn.00403260
mov dword [ebp - 0x138], 0
xor ecx, ecx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x3c8]
call fcn.00402a30
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 0x11
call fcn.00402a30
cmp dword [ebp - 0x124], 8
lea ecx, [ebp - 0x3a0]
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3ac], eax
cmp eax, 0xffffffff
jne 0x41daa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41df3f
lea ecx, [ebp - 0x374]
mov byte [ebp - 0x3a1], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dab0
sub ecx, edx
lea eax, [ebp - 0x374]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00402a90
mov ecx, 0x50cd94
lea eax, [ebp - 0x374]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41db06
test dx, dx
je 0x41db02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41db06
add eax, 4
add ecx, 4
test dx, dx
jne 0x41dae0
xor eax, eax
jmp 0x41db0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41de5e
mov ecx, 0x50cd98
lea eax, [ebp - 0x374]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41db46
test dx, dx
je 0x41db42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41db46
add eax, 4
add ecx, 4
test dx, dx
jne 0x41db20
xor eax, eax
jmp 0x41db4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41de5e
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41dc89
xor ecx, ecx
mov dword [ebp - 0x3a8], ecx
nop dword [eax]
cmp eax, edi
jbe 0x41dfca
lea eax, [esi + ecx]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402eb0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x2c], 8
mov esi, dword [ebp - 0x30]
mov edx, esi
cmovae ecx, dword [ebp - 0x40]
push eax
push 0
call fcn.00402bb0
add esp, 0xc
test eax, eax
jne 0x41dc3d
mov ecx, dword [ebp - 0x48]
cmp esi, ecx
mov dword [ebp - 0x88], eax
cmovb ecx, esi
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 0x3a1], 1
mov dword [ebp - 0x74], 7
call fcn.00402a90
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.00402a30
test esi, esi
je 0x41dc7d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.00402a30
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
inc edi
add dword [ebp - 0x3a8], 0x18
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41dd53
mov ecx, dword [ebp - 0x3a8]
jmp 0x41db80
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.00402a30
mov al, byte [ebp - 0x3a1]
cmp al, 1
jne 0x41de5e
mov ecx, dword [ebp - 0x60]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41dfc5
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 1
cmovae eax, dword [ebp - 0x70]
push 0x50cd8c
push ecx
push eax
push ecx
push dword [ebp - 0x3ac]
lea ecx, [ebp - 0x58]
call fcn.00402c40
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae edx, dword [ebp - 0x40]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dce1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00403260
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 - 0x58]
mov byte [ebp - 4], 0x16
call fcn.00402a30
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xf0]
push ecx
cmp eax, dword [ebp - 0x14]
je 0x41de46
mov ecx, eax
call fcn.00402eb0
add dword [ebp - 0x18], 0x18
jmp 0x41de4f
mov al, byte [ebp - 0x3a1]
cmp al, 1
jne 0x41de5e
cmp dword [ebp - 0x10c], 8
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41dc89
mov ecx, dword [ebp - 0x60]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41dfc5
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 1
cmovae eax, dword [ebp - 0x70]
push 0x50cd8c
push ecx
push eax
push ecx
push dword [ebp - 0x3ac]
lea ecx, [ebp - 0x88]
call fcn.00402c40
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae edx, dword [ebp - 0x40]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dde0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00403260
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x88]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov byte [ebp - 4], 0x11
call fcn.00402a30
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x58]
jmp 0x41de59
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403940
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xf0]
call fcn.00402a30
lea eax, [ebp - 0x3a0]
push eax
push dword [ebp - 0x3ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41daa0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
mov byte [ebp - 0x3ac], al
mov eax, 0x2aaaaaab
push dword [ebp - 0x3ac]
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
push eax
call fcn.0041ef60
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
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 0x41df3f
xor edx, edx
mov dword [ebp - 0x3a8], edx
lea eax, [esi - 3]
cmp ecx, eax
jbe 0x41dfca
lea eax, [edi + edx]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00402eb0
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.00402a30
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
inc esi
add dword [ebp - 0x3a8], 0x18
sub ecx, edi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x3a8]
cmp esi, ecx
jb 0x41ded4
lea ecx, [ebp - 0x138]
call fcn.00402a30
lea ecx, [ebp - 0xd8]
call fcn.00402a30
lea ecx, [ebp - 0x70]
call fcn.00402a30
lea ecx, [ebp - 0x150]
call fcn.00402a30
lea ecx, [ebp - 0x120]
call fcn.00402a30
lea ecx, [ebp - 0xa0]
call fcn.00402a30
lea ecx, [ebp - 0x40]
call fcn.00402a30
lea ecx, [ebp - 0x1c]
call fcn.00403850
lea ecx, [ebp - 0x28]
call fcn.00403850
lea ecx, [ebp - 0xc0]
call fcn.0041e750
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.004cc21a
mov esp, ebp
pop ebp
ret 4
call fcn.00402ba0
call fcn.004020e0
call fcn.0041ea20
int3