Function at 0x41c5a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2834
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov edi, ecx
xor eax, eax
mov esi, 7
push 0x4e25d8
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
mov word [ebp - 0x2cc], ax
call fcn.00401860
mov dword [ebp - 4], ebx
xor ecx, ecx
push 0x1b
mov word [ebp - 0x2e8], cx
push str.Unregistering_installation.
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], ebx
call fcn.00401860
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2d0]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.00419d40
mov byte [ebp - 4], bl
cmp dword [ebp - 0x2d4], 8
jb 0x41c659
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], ebx
mov word [ebp - 0x2e8], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2b8], 8
jb 0x41c68d
mov eax, dword [ebp - 0x2cc]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2cc], cx
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
call fcn.00433f10
mov dword [ebp - 4], 2
lea edx, [edi + 0x84]
push edx
lea eax, [ebp - 0x2d0]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov dword [ebp - 0x2b4], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00401750
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2b8], 8
jb 0x41c708
mov ecx, dword [ebp - 0x2cc]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
mov word [ebp - 0x2cc], dx
call fcn.00434170
lea eax, [edi + 0x164]
push eax
lea ecx, [ebp - 0x2ec]
push str.SOFTWARE_
push ecx
mov dword [ebp - 0x2b4], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00401750
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2d4], 8
jb 0x41c77c
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], ebx
mov word [ebp - 0x2e8], ax
call fcn.00434170
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.004b32f0
add esp, 0xc
lea eax, [ebp - 0x2f0]
push eax
push 0x26
push ebx
mov dword [ebp - 0x2f0], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x218]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x2f0]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
mov word [ebp - 0x2cc], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c810
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2d0]
call fcn.00401860
mov byte [ebp - 4], 5
push 0x4e3448
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x30c]
push ecx
call fcn.00401b00
mov byte [ebp - 4], 6
add edi, 0x148
push edi
push eax
lea edx, [ebp - 0x2ec]
push edx
call fcn.0040a680
mov byte [ebp - 4], 7
push 0x4e3448
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00401b00
add esp, 0x24
mov byte [ebp - 4], 9
mov edi, 8
cmp dword [ebp - 0x2d4], edi
jb 0x41c89f
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], ebx
mov word [ebp - 0x2e8], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2f4], edi
jb 0x41c8cf
mov eax, dword [ebp - 0x308]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2f8], ebx
mov word [ebp - 0x308], cx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2b8], edi
jb 0x41c8ff
mov edx, dword [ebp - 0x2cc]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
mov word [ebp - 0x2cc], ax
call fcn.004308f0
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00401750
push 1
lea ecx, [ebp - 0x258]
call fcn.00432010
push ebx
xor edx, edx
push 0x4e25d8
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], ebx
mov word [ebp - 0x2e8], dx
call fcn.00401860
mov byte [ebp - 4], 0xd
push 0x1a
xor eax, eax
push str.Unregistered_installation.
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
mov word [ebp - 0x2cc], ax
call fcn.00401860
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.00419d40
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2b8], edi
jb 0x41c9c8
mov eax, dword [ebp - 0x2cc]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2bc], ebx
mov word [ebp - 0x2cc], cx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2d4], edi
jb 0x41c9f8
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], ebx
mov word [ebp - 0x2e8], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x258]
call fcn.0047bde0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], edi
jb 0x41ca37
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.00402470
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret