Function at 0x41cda0
Capabilities:
Check os version
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x74]
call fcn.004063d0
add dword [edi + 0x68], eax
mov esi, 0x5b3144
cmp byte [edi + 0x54], 0
jne 0x41cdcc
cmp dword [edi + 0x9c], 3
je 0x41cddd
mov eax, dword [edi + 0x4c]
mov ecx, esi
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [edi + 0x8e], 0
je 0x41cf29
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 0x30]
push eax
call fcn.00416b00
push 0x114
lea eax, [ebp - 0x178]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x178], 0x114
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x174], 6
jb 0x41cf07
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00416ad0
push 0x34
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x60], 1
test eax, eax
je 0x41ce90
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
jmp 0x41ce9e
mov dword [ebp - 0x5c], 0x5b3144
mov dword [ebp - 0x58], 0x5b3144
mov eax, dword [edi + 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
push 0
cmovne esi, eax
mov dword [ebp - 0x44], 3
lea eax, [ebp - 0x64]
mov dword [ebp - 0x34], esi
push eax
call dword [sym.imp.ADVAPI32.dll_CredWriteW]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
jmp 0x41cf18
mov eax, dword [ebp - 0x28]
test eax, eax
push 1
cmovne esi, eax
push esi
call dword [sym.imp.credui.dll_CredUIConfirmCredentialsW]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
add eax, eax
push eax
push dword [ebp - 0x28]
call fcn.00420bb0
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x5c]
jne 0x41cfc9
mov eax, dword [edi + 0x90]
test eax, eax
je 0x41cf5a
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x41cf89
call fcn.00416a00
mov esi, dword [edi + 0x74]
test esi, esi
je 0x41cf82
mov ecx, esi
call fcn.004168d0
push 0x94
push esi
call fcn.005469bf
add esp, 8
mov dword [edi + 0x74], 0
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x41cfb5
call fcn.00405570
mov esi, dword [edi + 0x70]
test esi, esi
je 0x41cfae
mov ecx, esi
call fcn.00404870
push 0x70
push esi
call fcn.005469bf
add esp, 8
mov dword [edi + 0x70], 0
mov ecx, edi
mov dword [edi + 0x78], 0
call fcn.0041f240
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x90], 0
je 0x41cfd9
mov byte [edi + 0x98], 1
mov eax, dword [edi + 0x5c]
lea ecx, [edi + 0x44]
push dword [eax - 0x10]
push dword [eax - 8]
call fcn.00403040
add dword [edi + 0x5c], 0xfffffff0
mov esi, dword [edi + 0x5c]
mov eax, dword [esi + 4]
lea ecx, [esi + 0xc]
add eax, eax
push eax
push dword [esi + 8]
call fcn.00420bb0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov esi, dword [edi + 0x74]
mov byte [edi + 0x54], 1
test esi, esi
je 0x41d036
mov ecx, esi
call fcn.004168d0
push 0x94
push esi
call fcn.005469bf
add esp, 8
mov ecx, edi
mov dword [edi + 0x74], 0
call fcn.0041c210
pop edi
pop esi
mov esp, ebp
pop ebp
ret