Function at 0x435a9c
Capabilities:
Delete file

Disassembly:
mov eax, 0x4d0029
call fcn.004cc790
sub esp, 0x544
push esi
push edi
mov edi, ecx
test edi, edi
je 0x435d83
mov eax, edi
call fcn.0047a406
test eax, eax
je 0x435d83
push ebx
mov ebx, 0x50ec24
mov ecx, ebx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x3c], vtable.KInstallLoader.0
call fcn.004014d2
mov ecx, ebx
lea esi, [ebp - 0x30]
call fcn.004014d2
mov ecx, ebx
lea esi, [ebp - 0x2c]
call fcn.004014d2
mov ecx, ebx
lea esi, [ebp - 0x28]
call fcn.004014d2
mov ecx, ebx
lea esi, [ebp - 0x24]
call fcn.004014d2
mov ecx, ebx
lea esi, [ebp - 0x20]
call fcn.004014d2
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], ebx
mov eax, 0x4e6010
push 0x10
push eax
push eax
mov dword [ebp - 4], ebx
call fcn.00498354
add esp, 0xc
test eax, eax
jne 0x435b39
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x38], eax
push dword [edi + 0xc]
lea esi, [ebp - 0x140]
call fcn.0041dae5
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0043288d
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x140], eax
je 0x435b74
push dword [ebp - 0x140]
call fcn.00496058
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00426e53
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
cmp dword [edi + 0x60], ebx
je 0x435bc0
mov eax, dword [0x5109a8]
sub eax, ebx
je 0x435bad
dec eax
je 0x435ba9
dec eax
dec eax
je 0x435ba9
dec eax
dec eax
jne 0x435bc0
push 6
pop eax
jmp 0x435bb0
push 2
jmp 0x435ba6
xor eax, eax
inc eax
push eax
push str.__semtype:_d
lea ecx, [ebp + 8]
call fcn.00438a2e
pop ecx
pop ecx
push dword [edi + 8]
lea esi, [ebp - 0x140]
call fcn.0041dae5
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.0043288d
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x140], eax
je 0x435bfb
push dword [ebp - 0x140]
call fcn.00496058
pop ecx
mov eax, dword [0x5109e4]
cmp dword [eax - 0xc], ebx
je 0x435c17
lea eax, [ebp - 0x14]
push eax
push 0x5109e4
lea eax, [ebp + 8]
push eax
call fcn.00435d9a
push dword [edi + 0x20]
lea esi, [ebp - 0x550]
call fcn.0041dae5
mov ebx, eax
mov byte [ebp - 4], 8
push dword [edi + 0x1c]
lea esi, [ebp - 0x348]
call fcn.0041dae5
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 9
push dword [edi + 0x18]
lea esi, [ebp - 0x244]
call fcn.0041dae5
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
lea esi, [ebp - 0x44c]
call fcn.0041dae5
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.0048136c
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x448]
inc bl
cmp dword [ebp - 0x44c], eax
je 0x435cad
push dword [ebp - 0x44c]
call fcn.00496058
pop ecx
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x244], eax
je 0x435cc7
push dword [ebp - 0x244]
call fcn.00496058
pop ecx
lea eax, [ebp - 0x344]
cmp dword [ebp - 0x348], eax
je 0x435ce1
push dword [ebp - 0x348]
call fcn.00496058
pop ecx
lea eax, [ebp - 0x54c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x550], eax
je 0x435cff
push dword [ebp - 0x550]
call fcn.00496058
pop ecx
test bl, bl
pop ebx
je 0x435d3d
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.00481321
jmp 0x435d88
push 0x4e5bcc
push dword [ebp - 0x34]
call fcn.00497c14
test eax, eax
pop ecx
pop ecx
jne 0x435d5f
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
call fcn.004814a7
mov esi, eax
jmp 0x435d12
push 0x4e5f3c
push dword [ebp - 0x34]
call fcn.00497c14
test eax, eax
pop ecx
pop ecx
jne 0x435d7c
lea esi, [ebp - 0x3c]
call fcn.00481433
jmp 0x435d5b
mov esi, 0x12e
jmp 0x435d12
mov esi, 0x130
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc