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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10038874
push 0
push 0x40318d2
push 6
call fcn.100abddd
add esp, 0xc
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.100adb40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100388a9
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
push 0x100
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100388e4
push 0x94
push 0x40318d2
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10038d0b
push str.DisplayName
push dword [ebp - 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10038927
mov eax, 0x100d424e
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.100b0170
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10038959
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003896d
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push str.InstallLocation
push dword [ebp - 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100389a7
mov eax, 0x100d424e
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.100b0170
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100389d9
push ebx
call fcn.100abdd7
add esp, 4
push reloc.WS2_32.dll_bind
push 0
push 0
mov ebx, 6
call fcn.10005656
push reloc.WS2_32.dll_connect
push 0
push 0x100d424e
push reloc.WS2_32.dll_connect
push 0
push 0x100d4391
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10038a1a
mov eax, 0x100d424e
push eax
push 6
mov ebx, 0x180
call fcn.100aea20
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10038a40
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10038a54
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push str.UninstallString
push dword [ebp - 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10038a8e
mov eax, 0x100d424e
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.100b0170
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10038ac0
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10038ad4
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x100d424e
push dword [ebp - 0x10]
call fcn.10001676
add esp, 8
cmp eax, 0
je 0x10038b11
push 0x100d424e
push dword [ebp - 0x14]
call fcn.10001676
add esp, 8
cmp eax, 0
je 0x10038b11
mov eax, 1
jmp 0x10038b16
mov eax, 0
test eax, eax
je 0x10038d03
push str.Publisher
push dword [ebp - 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
push 0x100dd8bc
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10038b5a
mov eax, 0x100d424e
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.100b0170
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10038b8c
push ebx
call fcn.100abdd7
add esp, 4
push str.DisplayVersion
push dword [ebp - 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10038bc2
mov eax, 0x100d424e
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.100b0170
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10038bf4
push ebx
call fcn.100abdd7
add esp, 4
push str.InstallDate
push dword [ebp - 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x10038c2a
mov eax, 0x100d424e
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.100b0170
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10038c5c
push ebx
call fcn.100abdd7
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.10038d94
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10038c78
push ebx
call fcn.100abdd7
add esp, 4
push 0x100dd269
push dword [ebp - 0x18]
push 0x100d43a1
push dword [ebp - 0x38]
push 0x100d43a1
push dword [ebp - 0x2c]
push 0x100d43a1
push dword [ebp - 0x14]
push 0x100d43a1
push dword [ebp - 0x24]
push 0x100d43a1
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov ecx, 0xd
call fcn.100010a5
add esp, 0x34
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10038ccb
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10038cdb
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10038ceb
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10038cff
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xc]
jmp 0x100388ad
push 0
mov ebx, 0x350
call fcn.100adc10
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10038d39
push eax
mov ebx, eax
call fcn.1000103a
inc eax
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10038d3e
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10038d4f
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10038d5f
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10038d6f
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10038d7f
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10038d8f
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret