Function at 0x435ad3
Capabilities:
Delete file

Disassembly:
mov eax, 0x4cd3e0
call fcn.004ca860
sub esp, 0x544
push esi
push edi
mov edi, ecx
test edi, edi
je 0x435db2
mov eax, edi
call fcn.0047974d
test eax, eax
je 0x435db2
push ebx
mov ebx, 0x50bacc
mov ecx, ebx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x3c], vtable.KInstallLoader.0
call fcn.00402ab8
mov ecx, ebx
lea esi, [ebp - 0x30]
call fcn.00402ab8
mov ecx, ebx
lea esi, [ebp - 0x2c]
call fcn.00402ab8
mov ecx, ebx
lea esi, [ebp - 0x28]
call fcn.00402ab8
mov ecx, ebx
lea esi, [ebp - 0x24]
call fcn.00402ab8
mov ecx, ebx
lea esi, [ebp - 0x20]
call fcn.00402ab8
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], ebx
mov eax, 0x4e3e60
push 0x10
push eax
push eax
mov dword [ebp - 4], ebx
call fcn.004a8b97
add esp, 0xc
test eax, eax
jne 0x435b70
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x38], eax
push dword [edi + 0xc]
lea esi, [ebp - 0x140]
call fcn.00402e5d
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00403321
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x140], eax
je 0x435bab
push dword [ebp - 0x140]
call fcn.004a5e9d
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
call fcn.0042843c
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
cmp dword [edi + 0x60], ebx
je 0x435bef
mov eax, dword [0x50d7e8]
sub eax, ebx
je 0x435bdc
dec eax
je 0x435bd7
dec eax
dec eax
jne 0x435bef
push 2
pop eax
jmp 0x435bdf
xor eax, eax
inc eax
push eax
push str.__semtype:_d
lea ecx, [ebp + 8]
call fcn.004389ca
pop ecx
pop ecx
push dword [edi + 8]
lea esi, [ebp - 0x140]
call fcn.00402e5d
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00403321
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x140], eax
je 0x435c2a
push dword [ebp - 0x140]
call fcn.004a5e9d
pop ecx
mov eax, dword [0x50d820]
cmp dword [eax - 0xc], ebx
je 0x435c46
lea eax, [ebp - 0x14]
push eax
push 0x50d820
lea eax, [ebp + 8]
push eax
call fcn.00435dc9
push dword [edi + 0x20]
lea esi, [ebp - 0x550]
call fcn.00402e5d
mov ebx, eax
mov byte [ebp - 4], 8
push dword [edi + 0x1c]
lea esi, [ebp - 0x348]
call fcn.00402e5d
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 9
push dword [edi + 0x18]
lea esi, [ebp - 0x244]
call fcn.00402e5d
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
lea esi, [ebp - 0x44c]
call fcn.00402e5d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
mov edi, dword [edi + 0x4c]
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov edx, dword [edx]
mov eax, dword [eax]
push edi
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push eax
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x3c]
call fcn.0047fffd
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x448]
inc bl
cmp dword [ebp - 0x44c], eax
je 0x435cdc
push dword [ebp - 0x44c]
call fcn.004a5e9d
pop ecx
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x244], eax
je 0x435cf6
push dword [ebp - 0x244]
call fcn.004a5e9d
pop ecx
lea eax, [ebp - 0x344]
cmp dword [ebp - 0x348], eax
je 0x435d10
push dword [ebp - 0x348]
call fcn.004a5e9d
pop ecx
lea eax, [ebp - 0x54c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x550], eax
je 0x435d2e
push dword [ebp - 0x550]
call fcn.004a5e9d
pop ecx
test bl, bl
pop ebx
je 0x435d6c
push dword [ebp - 0x10]
mov esi, 0x12f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f4
lea ecx, [ebp - 0x3c]
call fcn.0047ffb2
jmp 0x435db7
push 0x4e3a20
push dword [ebp - 0x34]
call fcn.004a5e0c
test eax, eax
pop ecx
pop ecx
jne 0x435d8e
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
call fcn.00480138
mov esi, eax
jmp 0x435d41
push 0x4e3d8c
push dword [ebp - 0x34]
call fcn.004a5e0c
test eax, eax
pop ecx
pop ecx
jne 0x435dab
lea esi, [ebp - 0x3c]
call fcn.004800c4
jmp 0x435d8a
mov esi, 0x12e
jmp 0x435d41
mov esi, 0x130
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc