Function at 0x41cd30
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0041ab50
test eax, eax
jne 0x41cd61
mov esi, 0x8000ffff
jmp 0x41ce93
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ecx], ebx
mov eax, dword [edi + 0x3c]
cmp eax, ebx
jne 0x41cd7c
mov esi, 0x80004003
jmp 0x41ce93
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [ebp - 0x18]
push ecx
push eax
call edx
cmp dword [ebp - 0x18], 6
jne 0x41ce93
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
push eax
call fcn.00419fe0
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
add esp, 4
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41ce93
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41ce93
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00419fe0
add esp, 4
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x10], ebx
jbe 0x41ce8c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [ebp - 4]
push ecx
push 1
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x41ce93
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x41cf1e
cmp esi, ebx
jne 0x41cf1e
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41ce93
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
jne 0x41ce4f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push eax
push edx
call fcn.0041cc10
mov esi, eax
cmp esi, ebx
jl 0x41ce93
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x41ce6a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x41ce7c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x10]
jb 0x41cdf0
mov eax, edi
call fcn.0041b9e0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x41cea7
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x41ceb6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x41cec8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0xc], ebx
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x41cef9
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov edi, dword [edi + 0x10]
cmp edi, ebx
je 0x41cef3
mov ecx, edi
mov dword [edi], 0x4058b4
call fcn.0041d8e0
push edi
call fcn.0042061d
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
push esi
call fcn.00419fe0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push edx
push ecx
call fcn.00419fe0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, 0x8000ffff
jmp 0x41ce96