Function at 0x435a26
Capabilities:
Delete file

Disassembly:
mov eax, 0x4cfde2
call fcn.004cc470
sub esp, 0x544
push esi
push edi
mov edi, ecx
test edi, edi
je 0x435d0d
mov eax, edi
call fcn.0047a4e7
test eax, eax
je 0x435d0d
push ebx
mov ebx, 0x50dc24
mov ecx, ebx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x3c], vtable.KInstallLoader.0
call fcn.004014c8
mov ecx, ebx
lea esi, [ebp - 0x30]
call fcn.004014c8
mov ecx, ebx
lea esi, [ebp - 0x2c]
call fcn.004014c8
mov ecx, ebx
lea esi, [ebp - 0x28]
call fcn.004014c8
mov ecx, ebx
lea esi, [ebp - 0x24]
call fcn.004014c8
mov ecx, ebx
lea esi, [ebp - 0x20]
call fcn.004014c8
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], ebx
mov eax, 0x4e5f98
push 0x10
push eax
push eax
mov dword [ebp - 4], ebx
call fcn.00498034
add esp, 0xc
test eax, eax
jne 0x435ac3
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x38], eax
push dword [edi + 0xc]
lea esi, [ebp - 0x140]
call fcn.0041dc1e
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0043295b
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x140], eax
je 0x435afe
push dword [ebp - 0x140]
call fcn.00495d38
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00426ff3
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
cmp dword [edi + 0x60], ebx
je 0x435b4a
mov eax, dword [0x50f9a8]
sub eax, ebx
je 0x435b37
dec eax
je 0x435b33
dec eax
dec eax
je 0x435b33
dec eax
dec eax
jne 0x435b4a
push 6
pop eax
jmp 0x435b3a
push 2
jmp 0x435b30
xor eax, eax
inc eax
push eax
push str.__semtype:_d
lea ecx, [ebp + 8]
call fcn.00438a9e
pop ecx
pop ecx
push dword [edi + 8]
lea esi, [ebp - 0x140]
call fcn.0041dc1e
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.0043295b
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x140], eax
je 0x435b85
push dword [ebp - 0x140]
call fcn.00495d38
pop ecx
mov eax, dword [0x50f9e4]
cmp dword [eax - 0xc], ebx
je 0x435ba1
lea eax, [ebp - 0x14]
push eax
push 0x50f9e4
lea eax, [ebp + 8]
push eax
call fcn.00435d24
push dword [edi + 0x20]
lea esi, [ebp - 0x550]
call fcn.0041dc1e
mov ebx, eax
mov byte [ebp - 4], 8
push dword [edi + 0x1c]
lea esi, [ebp - 0x348]
call fcn.0041dc1e
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 9
push dword [edi + 0x18]
lea esi, [ebp - 0x244]
call fcn.0041dc1e
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
lea esi, [ebp - 0x44c]
call fcn.0041dc1e
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.00481516
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x448]
inc bl
cmp dword [ebp - 0x44c], eax
je 0x435c37
push dword [ebp - 0x44c]
call fcn.00495d38
pop ecx
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x244], eax
je 0x435c51
push dword [ebp - 0x244]
call fcn.00495d38
pop ecx
lea eax, [ebp - 0x344]
cmp dword [ebp - 0x348], eax
je 0x435c6b
push dword [ebp - 0x348]
call fcn.00495d38
pop ecx
lea eax, [ebp - 0x54c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x550], eax
je 0x435c89
push dword [ebp - 0x550]
call fcn.00495d38
pop ecx
test bl, bl
pop ebx
je 0x435cc7
push dword [ebp - 0x10]
mov esi, 0x12f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
lea ecx, [ebp - 0x3c]
call fcn.004814cb
jmp 0x435d12
push 0x4e5b54
push dword [ebp - 0x34]
call fcn.004978f4
test eax, eax
pop ecx
pop ecx
jne 0x435ce9
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
call fcn.00481651
mov esi, eax
jmp 0x435c9c
push 0x4e5ec4
push dword [ebp - 0x34]
call fcn.004978f4
test eax, eax
pop ecx
pop ecx
jne 0x435d06
lea esi, [ebp - 0x3c]
call fcn.004815dd
jmp 0x435ce5
mov esi, 0x12e
jmp 0x435c9c
mov esi, 0x130
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc