Function at 0x470210
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x496b65
push eax
mov eax, 0x1a48
mov dword fs:[0], esp
call fcn.004724a0
mov eax, dword [0x4b538c]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1a54], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 0x403790
push 0x403770
push 5
lea eax, [esp + 0x4c]
push 8
push eax
mov byte [esp + 0x1a68], 6
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x590]
mov dword [esp + 0x1a54], 7
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x788]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b538c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1a5c]
mov byte [esp + 0x1a54], 9
mov eax, dword [edx + 4]
test eax, eax
je 0x4705be
push ebx
push ebp
push esi
jmp 0x4702e1
mov eax, dword [esp + 0x18]
mov esi, eax
mov eax, dword [eax]
add esi, 8
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x1c], eax
call fcn.00482375
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x28]
call fcn.00482375
lea edx, [esi + 8]
lea ecx, [esp + 0x28]
push edx
call fcn.00482375
lea eax, [esi + 0xc]
lea ecx, [esp + 0x2c]
push eax
call fcn.00482375
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00482375
lea edx, [esi + 0x14]
lea ecx, [esp + 0x34]
push edx
call fcn.00482375
lea eax, [esi + 0x18]
lea ecx, [esp + 0x38]
push eax
call fcn.00482375
lea ecx, [esi + 0x1c]
mov ebp, esi
lea edi, [esp + 0x4c]
mov ebx, 5
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], eax
sub ebp, ecx
lea edx, [edi + ebp]
mov ecx, edi
push edx
call fcn.00404700
add edi, 8
dec ebx
jne 0x470373
lea eax, [esi + 0x54]
lea ecx, [esp + 0x74]
push eax
call fcn.00482375
lea ecx, [esi + 0x58]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00482375
lea edx, [esi + 0x5c]
lea ecx, [esp + 0x7c]
push edx
call fcn.00482375
mov eax, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0x84]
mov dword [esp + 0x80], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
cmp eax, 7
je 0x4703e0
cmp eax, 8
je 0x4703e0
cmp eax, 9
jne 0x4705af
xor ebx, ebx
mov dword [esp + 0xf64], ebx
mov dword [esp + 0xf6c], ebx
mov dword [esp + 0xf70], ebx
mov dword [esp + 0xf78], ebx
lea ecx, [esp + 0x1088]
call fcn.00434de0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1a60], 0xc
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x28]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0xf68]
call fcn.0041d6a0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x59c]
push edx
push str.HKLM
push eax
lea ecx, [esp + 0xf70]
mov byte [esp + 0x1a6c], 0xd
call fcn.00422520
cmp dword [esp + 0x59c], ebx
jne 0x470468
mov dword [esp + 0x14], ebx
jmp 0x470599
lea edx, [esp + 0x5a0]
lea ecx, [esp + 0x5a0]
test edx, edx
mov dword [esp + 0x14], ecx
je 0x470599
lea eax, [esp + 0x14]
lea ecx, [esp + 0x59c]
push eax
call fcn.00404d60
cmp eax, 0xffffffff
je 0x4704a1
mov ebp, dword [esp + eax*4 + 0x794]
jmp 0x4704a3
xor ebp, ebp
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004759f0
push eax
call fcn.00472ac0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00472550
mov ecx, dword [ebp + 0xc]
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONUNINSTALL
push ecx
call fcn.004724d0
add esp, 0x14
cmp eax, ebx
je 0x47058f
sub eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x47058f
mov edx, dword [ebp + 0x18]
push str.UninstallString
push edx
call fcn.00473380
add esp, 8
cmp eax, ebx
jne 0x47058f
mov ebp, dword [ebp + 0x30]
lea ecx, [esp + 0x10]
push ebp
call fcn.004823c5
lea ecx, [esp + 0x10]
call fcn.0048273e
push str..EXE
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
je 0x470572
add eax, 4
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004811c6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a64], 0xe
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a60], 0xd
call fcn.00482288
lea ecx, [esp + 0x10]
call fcn.00481645
lea ecx, [esp + 0x10]
call fcn.004815f9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], ebx
jne 0x470482
lea ecx, [esp + 0xf64]
mov byte [esp + 0x1a60], 9
call fcn.0041cf30
jmp 0x4705b1
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jne 0x4702dd
pop esi
pop ebp
pop ebx
lea ecx, [esp + 4]
mov byte [esp + 0x1a54], 8
call fcn.00482288
lea ecx, [esp + 0x590]
mov byte [esp + 0x1a54], 7
call fcn.0040e9d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1a54], 0xffffffff
call fcn.004036a0
mov ecx, dword [esp + 0x1a4c]
pop edi
mov dword fs:[0], ecx
add esp, 0x1a54
ret 4