Function at 0x436157
Capabilities:
Delete file

Disassembly:
mov eax, 0x598c19
call fcn.00595190
sub esp, 0x544
push esi
push edi
mov edi, ecx
test edi, edi
je 0x43643e
mov esi, edi
call fcn.0047e1ec
test eax, eax
je 0x43643e
push ebx
mov ebx, 0x61b884
mov ecx, ebx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x3c], vtable.KInstallLoader.0
call fcn.004014bd
mov ecx, ebx
lea esi, [ebp - 0x30]
call fcn.004014bd
mov ecx, ebx
lea esi, [ebp - 0x2c]
call fcn.004014bd
mov ecx, ebx
lea esi, [ebp - 0x28]
call fcn.004014bd
mov ecx, ebx
lea esi, [ebp - 0x24]
call fcn.004014bd
mov ecx, ebx
lea esi, [ebp - 0x20]
call fcn.004014bd
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], ebx
mov eax, 0x5e91c0
push 0x10
push eax
push eax
mov dword [ebp - 4], ebx
call fcn.0049edc4
add esp, 0xc
test eax, eax
jne 0x4361f4
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x38], eax
push dword [edi + 0xc]
lea esi, [ebp - 0x140]
call fcn.0041da4c
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00432a8a
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x140], eax
je 0x43622f
push dword [ebp - 0x140]
call fcn.0049cabd
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00427088
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
cmp dword [edi + 0x60], ebx
je 0x43627b
mov eax, dword [0x61f5c0]
sub eax, ebx
je 0x436268
dec eax
je 0x436264
dec eax
dec eax
je 0x436264
dec eax
dec eax
jne 0x43627b
push 6
pop eax
jmp 0x43626b
push 2
jmp 0x436261
xor eax, eax
inc eax
push eax
push str.__semtype:_d
lea ecx, [ebp + 8]
call fcn.00439bbb
pop ecx
pop ecx
push dword [edi + 8]
lea esi, [ebp - 0x140]
call fcn.0041da4c
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00432a8a
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x140], eax
je 0x4362b6
push dword [ebp - 0x140]
call fcn.0049cabd
pop ecx
mov eax, dword [0x61f5fc]
cmp dword [eax - 0xc], ebx
je 0x4362d2
lea eax, [ebp - 0x14]
push eax
push 0x61f5fc
lea eax, [ebp + 8]
push eax
call fcn.00436455
push dword [edi + 0x20]
lea esi, [ebp - 0x550]
call fcn.0041da4c
mov ebx, eax
mov byte [ebp - 4], 8
push dword [edi + 0x1c]
lea esi, [ebp - 0x348]
call fcn.0041da4c
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 9
push dword [edi + 0x18]
lea esi, [ebp - 0x244]
call fcn.0041da4c
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
lea esi, [ebp - 0x44c]
call fcn.0041da4c
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.00485440
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x448]
inc bl
cmp dword [ebp - 0x44c], eax
je 0x436368
push dword [ebp - 0x44c]
call fcn.0049cabd
pop ecx
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x244], eax
je 0x436382
push dword [ebp - 0x244]
call fcn.0049cabd
pop ecx
lea eax, [ebp - 0x344]
cmp dword [ebp - 0x348], eax
je 0x43639c
push dword [ebp - 0x348]
call fcn.0049cabd
pop ecx
lea eax, [ebp - 0x54c]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x550], eax
je 0x4363ba
push dword [ebp - 0x550]
call fcn.0049cabd
pop ecx
test bl, bl
pop ebx
je 0x4363f8
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.004853f5
jmp 0x436443
push 0x5e8d68
push dword [ebp - 0x34]
call fcn.0049e684
test eax, eax
pop ecx
pop ecx
jne 0x43641a
push dword [ebp + 0xc]
lea esi, [ebp - 0x3c]
call fcn.0048557b
mov esi, eax
jmp 0x4363cd
push 0x5e90d4
push dword [ebp - 0x34]
call fcn.0049e684
test eax, eax
pop ecx
pop ecx
jne 0x436437
lea esi, [ebp - 0x3c]
call fcn.00485507
jmp 0x436416
mov esi, 0x12e
jmp 0x4363cd
mov esi, 0x130
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc