Function at 0x424380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cda1
mov eax, dword fs:[0]
push eax
mov eax, 0x10b0
call fcn.004725a0
mov eax, dword [0x4cc3d0]
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
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1030]
mov dword [ebp - 0x10bc], ebx
xor eax, eax
mov dword [ebp - 0x10b4], 0
push eax
mov dword [ebp - 0x1030], 0
push 0x4a46a8
mov dword [ebp - 4], 0
mov dword [ebp - 0x10a4], ebx
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
call fcn.00402db0
push 7
xor eax, eax
mov dword [ebp - 0x1048], 0
push str.Version
lea ecx, [ebp - 0x1048]
mov dword [ebp - 4], 1
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 7
mov word [ebp - 0x1048], ax
call fcn.00402db0
mov byte [ebp - 4], 2
call fcn.0045b750
mov edi, str.SOFTWAREKingsoftPDFCommon
mov dword [ebp - 0x1060], 0
test al, al
mov dword [ebp - 0x1050], 0
mov ecx, str.SoftwareKingsoftOffice6.0Common
mov dword [ebp - 0x104c], 7
mov edx, edi
cmove edx, ecx
xor eax, eax
mov ecx, edx
mov word [ebp - 0x1060], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424490
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1060]
call fcn.00402db0
or esi, 0xffffffff
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1050], 0
je 0x4247a9
cmp dword [ebp - 0x1038], 0
je 0x4247a9
cmp dword [ebp - 0x104c], 8
lea eax, [ebp - 0x1060]
lea ecx, [ebp - 0x109c]
cmovae eax, dword [ebp - 0x1060]
push eax
call fcn.00424290
cmp dword [ebp - 0x1034], 8
lea eax, [ebp - 0x1048]
lea ecx, [ebp - 0x1098]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x1048]
push eax
call fcn.00424290
xor edi, edi
mov dword [ebp - 0x10b0], edi
mov dword [ebp - 0x10ac], edi
mov dword [ebp - 0x10a8], edi
lea eax, [ebp - 0x1094]
mov dword [ebp - 0x1094], edi
push eax
push 0x20019
push edi
push dword [ebp - 0x109c]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42455f
mov edi, dword [ebp - 0x1094]
mov dword [ebp - 0x10b0], edi
mov dword [ebp - 0x10ac], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4246d6
lea eax, [ebp - 0x1030]
mov ecx, ebx
push eax
call fcn.00401730
test edi, edi
je 0x424585
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
mov edx, dword [ebp - 0x1098]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4245a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x109c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4245bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, str.SOFTWAREKingsoftPDFCommon
mov edx, dword [ebp - 0x104c]
mov dword [ebp - 0x10b4], 3
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x424612
mov ecx, dword [ebp - 0x1060]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c16
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov edx, dword [ebp - 0x1034]
xor eax, eax
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 7
mov word [ebp - 0x1060], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x424673
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c16
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov edx, dword [ebp - 0x101c]
xor eax, eax
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 7
mov word [ebp - 0x1048], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4247c6
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4247bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c16
jmp 0x4247bc
push 0x802
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.00473e20
add esp, 0xc
mov dword [ebp - 0x1094], 0x800
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x10a0]
push eax
push 0
push dword [ebp - 0x1098]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x424764
mov eax, dword [ebp - 0x10a0]
cmp eax, 1
je 0x424737
cmp eax, 2
je 0x424737
mov ebx, 0xd
jmp 0x424764
mov eax, dword [ebp - 0x1094]
test eax, eax
je 0x424759
test al, 1
jne 0x424752
shr eax, 1
cmp word [ebp + eax*2 - 0x816], 0
je 0x424762
mov ebx, 0xd
jmp 0x424764
xor eax, eax
mov word [ebp - 0x814], ax
xor ebx, ebx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x1090]
call fcn.00403330
test ebx, ebx
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x10a4]
lea ecx, [ebp - 0x1030]
lea eax, [ebp - 0x1090]
cmovne eax, ecx
mov ecx, ebx
push eax
call fcn.00401730
lea ecx, [ebp - 0x1090]
call fcn.004022a0
jmp 0x424579
lea eax, [ebp - 0x1030]
mov ecx, ebx
push eax
call fcn.00401730
jmp 0x4245c4
push edx
push ecx
call fcn.00471e9b
add esp, 8
cmp dword [ebx + 0x10], 0
jne 0x424bf6
xor eax, eax
mov dword [ebp - 0x1090], 0
push eax
push 0x4a46a8
lea ecx, [ebp - 0x1090]
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x107c], 7
mov word [ebp - 0x1090], ax
call fcn.00402db0
push 7
xor eax, eax
mov dword [ebp - 0x1030], 0
push str.Version
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 9
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
call fcn.00402db0
mov byte [ebp - 4], 0xa
call fcn.0045b750
test al, al
mov dword [ebp - 0x1078], 0
mov eax, str.SoftwareKingsoftOffice6.0Common
mov dword [ebp - 0x1068], 0
cmove edi, eax
mov dword [ebp - 0x1064], 7
mov ecx, edi
xor eax, eax
mov word [ebp - 0x1078], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424887
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1078]
call fcn.00402db0
cmp dword [ebp - 0x1068], 0
mov byte [ebp - 4], 0xb
je 0x424bd5
cmp dword [ebp - 0x1020], 0
je 0x424bd5
cmp dword [ebp - 0x1064], 8
lea eax, [ebp - 0x1078]
lea ecx, [ebp - 0x1098]
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.00424290
cmp dword [ebp - 0x101c], 8
lea eax, [ebp - 0x1030]
lea ecx, [ebp - 0x109c]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x1030]
push eax
call fcn.00424290
xor edi, edi
mov dword [ebp - 0x10b0], edi
mov dword [ebp - 0x10ac], edi
mov dword [ebp - 0x10a8], edi
lea eax, [ebp - 0x1094]
mov dword [ebp - 0x1094], edi
push eax
push 0x20019
push edi
push dword [ebp - 0x1098]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424953
mov edi, dword [ebp - 0x1094]
mov dword [ebp - 0x10b0], edi
mov dword [ebp - 0x10ac], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4249b9
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00401730
test edi, edi
je 0x424978
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x109c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424995
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1098]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424ace
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424ace
push 0x802
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00473e20
add esp, 0xc
mov dword [ebp - 0x10a0], 0x800
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x10b8]
push eax
push 0
push dword [ebp - 0x109c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x424a47
mov eax, dword [ebp - 0x10b8]
cmp eax, 1
je 0x424a1a
cmp eax, 2
je 0x424a1a
mov ebx, 0xd
jmp 0x424a47
mov eax, dword [ebp - 0x10a0]
test eax, eax
je 0x424a3c
test al, 1
jne 0x424a35
shr eax, 1
cmp word [ebp + eax*2 - 0x101a], 0
je 0x424a45
mov ebx, 0xd
jmp 0x424a47
xor eax, eax
mov word [ebp - 0x1018], ax
xor ebx, ebx
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1060]
call fcn.00403330
lea ecx, [ebp - 0x1090]
mov byte [ebp - 4], 0x10
test ebx, ebx
lea eax, [ebp - 0x1060]
cmovne eax, ecx
lea ecx, [ebp - 0x1048]
push eax
call fcn.00401730
lea ecx, [ebp - 0x1060]
call fcn.004022a0
test edi, edi
je 0x424a90
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x109c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424aad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1098]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424ac8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x10a4]
lea eax, [ebp - 0x1048]
mov ecx, ebx
push eax
call fcn.00407120
lea ecx, [ebp - 0x1048]
call fcn.004022a0
mov edx, dword [ebp - 0x1064]
cmp edx, 8
jb 0x424b27
mov ecx, dword [ebp - 0x1078]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424b1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c1b
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov edx, dword [ebp - 0x101c]
xor eax, eax
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], ax
cmp edx, 8
jb 0x424b84
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424b7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c1b
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov edx, dword [ebp - 0x107c]
xor eax, eax
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
cmp edx, 8
jb 0x424bf6
mov ecx, dword [ebp - 0x1090]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c1b
jmp 0x424bec
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00401730
jmp 0x424ace
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov eax, ebx
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.00472108
mov esp, ebp
pop ebp
ret 4
call fcn.0047d41e
call fcn.0047d41e
int3