Function at 0x4781cc
Capabilities:
Delete file

Disassembly:
mov eax, 0x611ee4
call fcn.0060c3a8
sub esp, 0x544
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x47851d
mov ecx, edi
call fcn.004727ec
test eax, eax
je 0x47851d
mov dword [ebp - 0x38], vtable.KInstallLoader.0
call fcn.00404f47
push eax
lea ecx, [ebp - 0x30]
call fcn.004065d8
call fcn.00404f47
push eax
lea ecx, [ebp - 0x2c]
call fcn.004065d8
call fcn.00404f47
push eax
lea ecx, [ebp - 0x28]
call fcn.004065d8
call fcn.00404f47
push eax
lea ecx, [ebp - 0x24]
call fcn.004065d8
call fcn.00404f47
push eax
lea ecx, [ebp - 0x20]
call fcn.004065d8
call fcn.00404f47
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065d8
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov eax, 0x69d310
push 0x10
push eax
push eax
call fcn.005e1fba
add esp, 0xc
test eax, eax
jne 0x47827c
lea eax, [esi + 4]
mov dword [ebp - 0x34], eax
push 3
push dword [edi + 0x14]
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], eax
call fcn.004066f6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push dword [ebp - 0x13c]
call fcn.00406173
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x13c], eax
je 0x4782c8
push dword [ebp - 0x13c]
call fcn.005f06f3
pop ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00409008
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 4
cmp dword [edi + 0x68], 0
je 0x478303
call fcn.00478537
test eax, eax
jle 0x478303
push eax
lea eax, [ebp + 8]
push str.__semtype:_d
push eax
call fcn.004752f3
mov esi, dword [ebp + 8]
add esp, 0xc
push 3
push dword [edi + 0x10]
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], eax
call fcn.004066f6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
push dword [ebp - 0x13c]
call fcn.00406173
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x13c], eax
je 0x47834f
push dword [ebp - 0x13c]
call fcn.005f06f3
pop ecx
mov eax, dword [0x6c8894]
cmp dword [eax - 0xc], 0
je 0x47836f
lea eax, [ebp - 0x10]
push eax
push 0x6c8894
lea eax, [ebp + 8]
push eax
call fcn.00478562
mov esi, dword [ebp + 8]
push dword [ebx]
push dword [ebp + 0xc]
push str.index:_d__cmd:_s
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
lea eax, [ebp - 0x548]
lea ecx, [ebp - 0x54c]
mov dword [ebp - 0x54c], eax
push 3
pop ebx
push ebx
push dword [edi + 0x28]
call fcn.004066f6
mov byte [ebp - 4], 8
lea eax, [ebp - 0x444]
push ebx
push dword [edi + 0x24]
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x448], eax
call fcn.004066f6
mov byte [ebp - 4], 9
lea eax, [ebp - 0x340]
push ebx
push dword [edi + 0x20]
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x344], eax
call fcn.004066f6
push ebx
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0xa
push esi
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], eax
call fcn.004066f6
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
push dword [edi + 0x54]
push dword [ebp - 0x54c]
push dword [ebp - 0x448]
push dword [ebp - 0x344]
push dword [ebp - 0x240]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004753ce
mov ebx, eax
lea eax, [ebp - 0x23c]
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp - 0x240], eax
je 0x47844e
push dword [ebp - 0x240]
call fcn.005f06f3
pop ecx
lea eax, [ebp - 0x340]
cmp dword [ebp - 0x344], eax
je 0x478468
push dword [ebp - 0x344]
call fcn.005f06f3
pop ecx
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x448], eax
je 0x478482
push dword [ebp - 0x448]
call fcn.005f06f3
pop ecx
lea eax, [ebp - 0x548]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54c], eax
je 0x4784a0
push dword [ebp - 0x54c]
call fcn.005f06f3
pop ecx
test bl, bl
je 0x4784da
push dword [ebp - 0x14]
mov edi, 0x12f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [ebp - 0x38]
call fcn.00475383
jmp 0x478522
push 0x6971b8
lea ecx, [ebp - 0x30]
call fcn.00417ed5
test eax, eax
jne 0x4784fa
push dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call fcn.0047550b
mov edi, eax
jmp 0x4784b2
push 0x6971c0
lea ecx, [ebp - 0x30]
call fcn.00417ed5
test eax, eax
jne 0x478516
push ecx
lea ecx, [ebp - 0x38]
call fcn.00475495
jmp 0x4784f6
mov edi, 0x12e
jmp 0x4784b2
mov edi, 0x130
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc