Function at 0x402458
Capabilities:
Delete file

Disassembly:
mov eax, 0x4afa8b
call fcn.004acfc0
sub esp, 0x648
push esi
push edi
mov edi, ecx
test edi, edi
je 0x4026b7
mov eax, edi
call fcn.0045b244
test eax, eax
je 0x4026b7
push ebx
mov ebx, 0x4df350
mov ecx, ebx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x3c], vtable.KInstallLoader.0
call fcn.004079e9
mov ecx, ebx
lea esi, [ebp - 0x30]
call fcn.004079e9
mov ecx, ebx
lea esi, [ebp - 0x2c]
call fcn.004079e9
mov ecx, ebx
lea esi, [ebp - 0x28]
call fcn.004079e9
mov ecx, ebx
lea esi, [ebp - 0x24]
call fcn.004079e9
mov ecx, ebx
lea esi, [ebp - 0x20]
call fcn.004079e9
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov eax, 0x4ba8d4
push 0x10
push eax
push eax
call fcn.0048cefb
add esp, 0xc
test eax, eax
jne 0x4024f5
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x38], eax
push dword [edi + 0xc]
lea esi, [ebp - 0x140]
call fcn.00407751
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00408124
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x140], eax
je 0x402530
push dword [ebp - 0x140]
call fcn.0048c7af
pop ecx
push dword [edi + 0x1c]
lea esi, [ebp - 0x654]
call fcn.00407751
mov ebx, eax
mov byte [ebp - 4], 4
push dword [edi + 0x18]
lea esi, [ebp - 0x44c]
call fcn.00407751
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
push dword [edi + 0x14]
lea esi, [ebp - 0x244]
call fcn.00407751
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
push dword [edi + 0x10]
lea esi, [ebp - 0x550]
call fcn.00407751
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
push dword [edi + 8]
lea esi, [ebp - 0x348]
call fcn.00407751
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 8
mov edi, dword [edi + 0x3c]
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov edx, dword [edx]
mov esi, dword [esi]
mov eax, dword [eax]
push edi
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push esi
lea esi, [ebp - 0x3c]
call fcn.004618ea
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x344]
inc bl
cmp dword [ebp - 0x348], eax
je 0x4025dd
push dword [ebp - 0x348]
call fcn.0048c7af
pop ecx
lea eax, [ebp - 0x54c]
cmp dword [ebp - 0x550], eax
je 0x4025f7
push dword [ebp - 0x550]
call fcn.0048c7af
pop ecx
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x244], eax
je 0x402611
push dword [ebp - 0x244]
call fcn.0048c7af
pop ecx
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x44c], eax
je 0x40262b
push dword [ebp - 0x44c]
call fcn.0048c7af
pop ecx
lea eax, [ebp - 0x650]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x654], eax
je 0x402649
push dword [ebp - 0x654]
call fcn.0048c7af
pop ecx
test bl, bl
pop ebx
je 0x402671
push dword [ebp - 0x10]
mov esi, 0x12f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405148
lea ecx, [ebp - 0x3c]
call fcn.0046189f
jmp 0x4026bc
push 0x4c20c8
push dword [ebp - 0x34]
call fcn.0048e991
test eax, eax
pop ecx
pop ecx
jne 0x402693
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
call fcn.004619eb
mov esi, eax
jmp 0x40265c
push 0x4c20c0
push dword [ebp - 0x34]
call fcn.0048e991
test eax, eax
pop ecx
pop ecx
jne 0x4026b0
lea esi, [ebp - 0x3c]
call fcn.00461977
jmp 0x40268f
mov esi, 0x12e
jmp 0x40265c
mov esi, 0x130
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8