Function at 0x41ce40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b833
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5e1040]
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, edx
mov edi, ecx
mov dword [ebp - 0xc0], edi
test edi, edi
je 0x41d30d
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ce82
sub ecx, edx
je 0x41d30d
test esi, esi
je 0x41cee7
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cea0
sub ecx, edx
sar ecx, 1
je 0x41cee7
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
xorps xmm0, xmm0
push 0
push esi
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41cee7
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x41d109
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00547c40
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
xor eax, eax
mov dword [ebp - 0xa4], 0xf
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0xb8], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x8c], 0xf
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
add esp, 8
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xb8]
call fcn.00401610
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41cfc7
push 1
push 0x63
push eax
call fcn.004bb6b0
push 0x12c
push 0xd
push dword [ebp - 0x88]
call fcn.004bb6b0
push 0x3c
push 0x4e
push dword [ebp - 0x88]
call fcn.004bb6b0
add esp, 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov ecx, esi
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d000
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403c10
mov ecx, edi
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d040
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0xdc]
call fcn.004040d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401e40
mov byte [ebp - 4], 2
mov edi, eax
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0xf
jbe 0x41d0b8
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d0ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d32a
push ecx
push edx
call fcn.004224f3
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
cmp ecx, 7
jbe 0x41d11a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d32a
jmp 0x41d110
mov al, 1
jmp 0x41d30f
push ecx
push edx
call fcn.004224f3
add esp, 8
cmp edi, 0xc8
jl 0x41d12a
cmp edi, 0x12c
jle 0x41d131
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
test eax, eax
je 0x41d15c
push eax
call fcn.004b7180
add esp, 4
mov dword [ebp - 0x88], 0
test esi, esi
je 0x41d1a5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d165
sub ecx, edx
sar ecx, 1
je 0x41d1a5
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
xorps xmm0, xmm0
push 0
push esi
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41d1a5
mov byte [ebp - 0xb9], 1
jmp 0x41d2b8
mov ecx, dword [ebp - 0xc0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d1c3
sub ecx, edx
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
call fcn.004040d0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xc0], 0xfb
call fcn.00405fb0
cmp dword [eax + 0x14], 7
jbe 0x41d1ff
mov eax, dword [eax]
push edi
push esi
push eax
push 0x5d4000
lea eax, [ebp - 0xc0]
push eax
push 0x5d4020
push 0x5e2278
call fcn.00409c80
mov ecx, dword [ebp - 0xc8]
add esp, 0x1c
cmp ecx, 7
jbe 0x41d260
mov edx, dword [ebp - 0xdc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d32f
push ecx
push edx
call fcn.004224f3
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
cmp ecx, 0xf
jbe 0x41d2b1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d2a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d32f
push ecx
push edx
call fcn.004224f3
add esp, 8
mov byte [ebp - 0xb9], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x41d2e8
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d2de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d334
push ecx
push edx
call fcn.004224f3
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.004014c0
mov al, byte [ebp - 0xb9]
jmp 0x41d30f
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.004224b5
mov esp, ebp
pop ebp
ret
call fcn.0054c0bc
call fcn.0054c0bc
call fcn.0054c0bc
int3