Function at 0x4341e0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x604aa8
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.005c95e0
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x105c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x106c]
lea ecx, [esp + 0x24]
push ecx
xor ebx, ebx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ebx
call fcn.0040b990
mov dword [esp + 0x1064], ebx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x434496
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ebp, ebp
cmp dword [esp + 0x20], ebx
jbe 0x43448b
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov byte [esp + 0x1064], 1
mov edx, dword [0x728f58]
mov eax, dword [edx + 0xc]
mov ecx, 0x728f58
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov byte [esp + 0x1064], 3
mov edx, dword [esp + 0x18]
push 0x400
lea ecx, [esp + 0x858]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43442e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, 0x6ca140
call fcn.0041e2b0
mov byte [esp + 0x106c], 4
push eax
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0x864]
call fcn.0041e2b0
add esp, 0x10
mov byte [esp + 0x1064], 6
lea ecx, [esp + 0x34]
call fcn.0040ba40
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push str.UninstallString
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0x400
call esi
test eax, eax
jne 0x4343a3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4343a3
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x54], cx
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434380
sub eax, edx
sar eax, 1
lea edx, [esp + 0x54]
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
call fcn.0040fac0
mov edi, dword [esp + 0x28]
cmp dword [edi - 0xc], 0
je 0x43441b
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push str.DisplayName
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x400
call esi
test eax, eax
jne 0x43440d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43440d
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x54], cx
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4343f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
lea esi, [esp + 0x3c]
call fcn.0040d7f0
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
call fcn.00443b30
mov byte [esp + 0x1064], 3
lea ecx, [esp + 0x1c]
call fcn.0040ba40
xor ebx, ebx
mov byte [esp + 0x1064], 1
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434452
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1064], bl
cmp dword [esp + 0x50], 8
jb 0x43446d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.005c396f
add esp, 4
xor edx, edx
inc ebp
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp ebp, dword [esp + 0x20]
jb 0x43428d
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1064], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4344c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x105c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1040]
xor ecx, esp
call fcn.005c397a
add esp, 0x1054
ret