Function at 0x41a6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dee1
mov eax, dword fs:[0]
push eax
mov eax, 0x10e0
call fcn.00499e20
mov eax, dword [0x4ce4bc]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x1048]
xor eax, eax
mov dword [ebp - 0x1048], 0
push eax
push 0x4a9810
mov dword [ebp - 0x10ec], esi
mov dword [ebp - 0x10c4], esi
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 7
mov word [ebp - 0x1048], ax
call fcn.00404580
push 7
xor eax, eax
mov dword [ebp - 0x1030], 0
push str.version
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
call fcn.00404580
mov byte [ebp - 4], 1
call fcn.00488b40
test al, al
mov dword [ebp - 0x1060], 0
mov ecx, str.SoftwareKingsoftOffice6.0pluginswpscloudsvrimp
mov dword [ebp - 0x1050], 0
mov edx, str.SoftwareKingsoftPDFpluginswpscloudsvrimp
mov dword [ebp - 0x104c], 7
cmove edx, ecx
xor eax, eax
mov ecx, edx
mov word [ebp - 0x1060], ax
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a7f0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1060]
call fcn.00404580
or ebx, 0xffffffff
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1050], 0
je 0x41aa53
cmp dword [ebp - 0x1020], 0
je 0x41aa53
cmp dword [ebp - 0x104c], 8
lea eax, [ebp - 0x1060]
lea ecx, [ebp - 0x10cc]
cmovae eax, dword [ebp - 0x1060]
push eax
call fcn.00417910
cmp dword [ebp - 0x101c], 8
lea eax, [ebp - 0x1030]
lea ecx, [ebp - 0x10c8]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x1030]
push eax
call fcn.00417910
xor edi, edi
mov dword [ebp - 0x10e0], edi
mov dword [ebp - 0x10dc], edi
mov dword [ebp - 0x10d8], edi
lea eax, [ebp - 0x10d0]
mov dword [ebp - 0x10d0], edi
push eax
push 0x20019
push edi
push dword [ebp - 0x10cc]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a8bf
mov edi, dword [ebp - 0x10d0]
mov dword [ebp - 0x10e0], edi
mov dword [ebp - 0x10dc], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41a928
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x10c0]
call fcn.00401f70
test edi, edi
je 0x41a8e5
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
mov edx, dword [ebp - 0x10c8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a902
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10cc]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41aa65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41aa65
push 0x802
lea eax, [ebp - 0x814]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10d4], 0x800
lea eax, [ebp - 0x10d4]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x10e8]
push eax
push 0
push dword [ebp - 0x10c8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10c4], eax
test eax, eax
jne 0x41a9cc
mov eax, dword [ebp - 0x10e8]
cmp eax, 1
je 0x41a992
cmp eax, 2
je 0x41a992
mov dword [ebp - 0x10c4], 0xd
jmp 0x41a9cc
mov eax, dword [ebp - 0x10d4]
test eax, eax
je 0x41a9b9
test al, 1
jne 0x41a9ad
shr eax, 1
cmp word [ebp + eax*2 - 0x816], 0
je 0x41a9c2
mov dword [ebp - 0x10c4], 0xd
jmp 0x41a9cc
xor eax, eax
mov word [ebp - 0x814], ax
mov dword [ebp - 0x10c4], 0
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x10a8]
call fcn.00401960
cmp dword [ebp - 0x10c4], 0
lea ecx, [ebp - 0x1048]
lea eax, [ebp - 0x10a8]
mov byte [ebp - 4], 7
cmovne eax, ecx
lea ecx, [ebp - 0x10c0]
push eax
call fcn.00401f70
mov edx, dword [ebp - 0x1094]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x41a8d9
mov ecx, dword [ebp - 0x10a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41aa44
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
jmp 0x41a8d9
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x10c0]
call fcn.00401f70
mov edx, dword [ebp - 0x104c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x41aaa9
mov ecx, dword [ebp - 0x1060]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab59
push edx
push ecx
call fcn.0049995e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 7
mov word [ebp - 0x1060], ax
mov edx, dword [ebp - 0x101c]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x41ab06
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aafc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab59
push edx
push ecx
call fcn.0049995e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
mov edx, dword [ebp - 0x1034]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x41ab69
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ab5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3858]
cmp eax, dword [ecx + 4]
jg 0x41b1cf
push 0x4d3840
lea ecx, [ebp - 0x10a8]
call fcn.00401f70
cmp dword [ebp - 0x1094], 8
lea edx, [ebp - 0x10a8]
mov ebx, dword [ebp - 0x10a8]
lea ecx, [ebp - 0x10c0]
mov edi, dword [ebp - 0x10c0]
cmovae edx, ebx
cmp dword [ebp - 0x10ac], 8
mov eax, dword [ebp - 0x10b0]
mov esi, dword [ebp - 0x1098]
cmovae ecx, edi
cmp esi, eax
mov byte [ebp - 4], 0xd
cmovb eax, esi
push eax
push edx
push ecx
call fcn.00404690
mov esi, dword [ebp - 0x10ec]
add esp, 0xc
test eax, eax
jne 0x41b135
mov eax, dword [ebp - 0x10b0]
cmp eax, dword [ebp - 0x1098]
jb 0x41b135
ja 0x41b135
xor eax, eax
mov dword [ebp - 0x1048], 0
push eax
push 0x4a9810
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 7
mov word [ebp - 0x1048], ax
call fcn.00404580
push 8
xor eax, eax
mov dword [ebp - 0x1090], 0
push str.lookpath
lea ecx, [ebp - 0x1090]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x107c], 7
mov word [ebp - 0x1090], ax
call fcn.00404580
mov byte [ebp - 4], 0xf
call fcn.00488b40
test al, al
mov dword [ebp - 0x1078], 0
mov ecx, str.SoftwareKingsoftOffice6.0pluginswpscloudsvrimp
mov dword [ebp - 0x1068], 0
mov eax, str.SoftwareKingsoftPDFpluginswpscloudsvrimp
mov dword [ebp - 0x1064], 7
cmove eax, ecx
xor ecx, ecx
mov word [ebp - 0x1078], cx
mov ecx, eax
mov dword [ebp - 0x10ec], eax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41acd0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x10ec]
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00404580
cmp dword [ebp - 0x1068], 0
mov byte [ebp - 4], 0x10
je 0x41af50
cmp dword [ebp - 0x1080], 0
je 0x41af50
cmp dword [ebp - 0x1064], 8
lea eax, [ebp - 0x1078]
lea ecx, [ebp - 0x10c8]
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.00417910
cmp dword [ebp - 0x107c], 8
lea eax, [ebp - 0x1090]
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 0x11
cmovae eax, dword [ebp - 0x1090]
push eax
call fcn.00417910
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10dc], 0
mov dword [ebp - 0x10d8], 0
lea eax, [ebp - 0x10d4]
mov dword [ebp - 0x10d4], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x10c8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x41adb3
mov eax, dword [ebp - 0x10d4]
mov dword [ebp - 0x10e0], eax
mov dword [ebp - 0x10dc], ecx
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x41ae23
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00401f70
mov eax, dword [ebp - 0x10e0]
test eax, eax
je 0x41adde
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10cc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41adfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10c8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41af62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41af62
push 0x802
lea eax, [ebp - 0x1018]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10d0], 0x800
lea eax, [ebp - 0x10d0]
push eax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x10e8]
push eax
mov eax, dword [ebp - 0x10e0]
push 0
push dword [ebp - 0x10cc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10c4], eax
test eax, eax
jne 0x41aecd
mov eax, dword [ebp - 0x10e8]
cmp eax, 1
je 0x41ae93
cmp eax, 2
je 0x41ae93
mov dword [ebp - 0x10c4], 0xd
jmp 0x41aecd
mov eax, dword [ebp - 0x10d0]
test eax, eax
je 0x41aeba
test al, 1
jne 0x41aeae
shr eax, 1
cmp word [ebp + eax*2 - 0x101a], 0
je 0x41aec3
mov dword [ebp - 0x10c4], 0xd
jmp 0x41aecd
xor eax, eax
mov word [ebp - 0x1018], ax
mov dword [ebp - 0x10c4], 0
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1060]
call fcn.00401960
cmp dword [ebp - 0x10c4], 0
lea ecx, [ebp - 0x1048]
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 0x15
cmovne eax, ecx
lea ecx, [ebp - 0x1030]
push eax
call fcn.00401f70
mov edx, dword [ebp - 0x104c]
cmp edx, 8
jb 0x41adcd
mov ecx, dword [ebp - 0x1060]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41af41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41af41
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
jmp 0x41adcd
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00401f70
mov edx, dword [ebp - 0x1064]
cmp edx, 8
jb 0x41afa2
mov ecx, dword [ebp - 0x1078]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41af98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b04a
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x107c]
xor eax, eax
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], ax
cmp edx, 8
jb 0x41affb
mov ecx, dword [ebp - 0x1090]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aff1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b04a
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x1034]
xor eax, eax
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x107c], 7
mov word [ebp - 0x1090], ax
cmp edx, 8
jb 0x41b05a
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b050
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b050
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov eax, dword [ebp - 0x1030]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x102c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1028]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1024]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1020]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x101c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1094]
cmp eax, 8
jb 0x41b0dd
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41b0d3
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1c9
push ecx
push ebx
call fcn.0049995e
add esp, 8
mov eax, dword [ebp - 0x10ac]
cmp eax, 8
jb 0x41b117
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41b10d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1c9
push ecx
push edi
call fcn.0049995e
add esp, 8
mov eax, esi
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.0049996c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x4a9810
mov word [esi], ax
call fcn.00404580
mov eax, dword [ebp - 0x1094]
cmp eax, 8
jb 0x41b191
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41b187
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1c9
push ecx
push ebx
call fcn.0049995e
add esp, 8
mov eax, dword [ebp - 0x10ac]
cmp eax, 8
jb 0x41b117
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41b10d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b10d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x4d3858
call fcn.00499d2f
add esp, 4
cmp dword [0x4d3858], 0xffffffff
jne 0x41ab89
push 0x4d3840
lea ecx, [ebp - 0x10e1]
mov byte [ebp - 4], 0xc
call fcn.00417a50
push 0x4a7fe0
call fcn.00499be7
push 0x4d3858
mov byte [ebp - 4], 0xb
call fcn.00499ce5
add esp, 8
jmp 0x41ab89