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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596b30
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x438c41
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x438c41
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x438c41
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
call fcn.00433b80
push 0x5b441c
push dword [0x61b3dc]
mov dword [ebp - 4], 3
push 0x80000001
call fcn.0045bed0
push str.mui_file_list
push dword [0x61b3dc]
push 0x80000001
call fcn.0045bed0
push 0x5b402c
push dword [0x61b3dc]
push 0x80000001
call fcn.0045bde0
push str.AddinsCL
push dword [0x61b428]
push 0x80000001
call fcn.0045bde0
push str.AddinsCL
push dword [0x61b420]
push 0x80000001
call fcn.0045bde0
push str.AddinsCL
push dword [0x61b424]
push 0x80000001
call fcn.0045bde0
add esp, 0x48
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 4
cmp dword [ebx - 0xc], 0
je 0x438993
push ebx
push str.infoGUID
push dword [0x61b3e4]
push 0x80000001
call fcn.0045c310
add esp, 0x10
mov esi, dword [ebp - 0x30]
cmp dword [esi - 0xc], 0
je 0x4389b5
push esi
push 0x5b4380
push dword [0x61b3e8]
push 0x80000001
call fcn.0045c310
add esp, 0x10
mov edi, dword [ebp - 0x2c]
cmp dword [edi - 0xc], 0
je 0x4389d7
push edi
push str.fldLength
push dword [0x61b3e8]
push 0x80000001
call fcn.0045c310
add esp, 0x10
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4389f8
push eax
push str.wps_t
push dword [0x61b414]
push 0x80000001
call fcn.0045c240
add esp, 0x10
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x438a19
push eax
push str.et_t
push dword [0x61b400]
push 0x80000001
call fcn.0045c240
add esp, 0x10
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x438a3a
push eax
push str.wpp_t
push dword [0x61b40c]
push 0x80000001
call fcn.0045c240
add esp, 0x10
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438a54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438a6b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438a82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 5
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x438c4b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x438ac6
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 0x1c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x438bac
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.IsAllUninstall
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x438b1c
cmp eax, 2
jne 0x438b9c
lea ecx, [ebp - 0x14]
call fcn.00426010
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x438c55
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x438b52
push edx
lea ecx, [ebp - 0x14]
call fcn.00426250
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.IsAllUninstall
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x438b9c
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x438c55
cmp eax, dword [esi - 8]
jg 0x438c55
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x438bac
push eax
call ebx
mov dword [ebp - 0x10], 0
mov ecx, str.true
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438be6
test dx, dx
je 0x438be2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438be6
add eax, 4
add ecx, 4
test dx, dx
jne 0x438bc0
xor eax, eax
jmp 0x438beb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438c07
push 0x5b402c
push dword [0x61b3dc]
push 0x80000001
call fcn.0045bde0
add esp, 0xc
mov byte [ebp - 4], 5
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x438c20
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x438c2a
push ecx
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
int3