Function at 0x41b220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0fe
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3864]
cmp eax, dword [ecx + 4]
jg 0x41b289
mov al, byte [0x4d3860]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret
push 0x4d3864
call fcn.00499ebf
add esp, 4
cmp dword [0x4d3864], 0xffffffff
jne 0x41b269
push 4
xor eax, eax
mov dword [ebp - 0x874], 0
push 0x4a9b24
lea ecx, [ebp - 0x874]
mov dword [ebp - 4], 0
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 7
mov word [ebp - 0x874], ax
call fcn.00404580
push 0x10
xor eax, eax
mov dword [ebp - 0x844], 0
push str.UseModuleAppName
lea ecx, [ebp - 0x844]
mov byte [ebp - 4], 1
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 7
mov word [ebp - 0x844], ax
call fcn.00404580
push 0x3b
xor eax, eax
mov dword [ebp - 0x82c], 0
push str.SOFTWAREKingsoftOffice6.0wpsofficeApplication_Settings
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
call fcn.00404580
cmp dword [ebp - 0x81c], 0
mov byte [ebp - 4], 3
je 0x41b58c
cmp dword [ebp - 0x834], 0
je 0x41b58c
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
lea ecx, [ebp - 0x894]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00417910
cmp dword [ebp - 0x830], 8
lea eax, [ebp - 0x844]
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x844]
push eax
call fcn.00417910
xor esi, esi
mov dword [ebp - 0x8ac], esi
mov dword [ebp - 0x8a8], esi
mov dword [ebp - 0x8a4], esi
lea eax, [ebp - 0x898]
mov dword [ebp - 0x898], esi
push eax
push 0x20019
push esi
push dword [ebp - 0x894]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b40b
mov esi, dword [ebp - 0x898]
mov dword [ebp - 0x8ac], esi
mov dword [ebp - 0x8a8], eax
jmp 0x41b40b
mov byte [ebp - 4], 6
test eax, eax
je 0x41b47a
lea eax, [ebp - 0x874]
push eax
lea ecx, [ebp - 0x85c]
call fcn.00401f70
jmp 0x41b427
test esi, esi
je 0x41b434
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b434
mov edx, dword [ebp - 0x890]
or esi, 0xffffffff
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b456
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b456
mov edx, dword [ebp - 0x894]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41b5a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b5a0
push 0x802
lea eax, [ebp - 0x814]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x89c], 0x800
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8a0]
push eax
push 0
push dword [ebp - 0x890]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x41b50e
mov eax, dword [ebp - 0x8a0]
cmp eax, 1
je 0x41b4db
cmp eax, 2
je 0x41b4db
mov edi, 0xd
jmp 0x41b50e
mov eax, dword [ebp - 0x89c]
test eax, eax
je 0x41b4ff
test al, 1
jne 0x41b4f8
shr eax, 1
cmp word [ebp + eax*2 - 0x816], 0
je 0x41b50a
jmp 0x41b4f8
mov edi, 0xd
jmp 0x41b50e
xor eax, eax
mov word [ebp - 0x814], ax
jmp 0x41b50a
xor edi, edi
jmp 0x41b50e
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x88c]
call fcn.00401960
lea ecx, [ebp - 0x874]
mov byte [ebp - 4], 8
test edi, edi
lea eax, [ebp - 0x88c]
cmovne eax, ecx
lea ecx, [ebp - 0x85c]
push eax
call fcn.00401f70
mov edx, dword [ebp - 0x878]
cmp edx, 8
jb 0x41b427
mov ecx, dword [ebp - 0x88c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b57d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b57d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
jmp 0x41b427
lea eax, [ebp - 0x874]
push eax
lea ecx, [ebp - 0x85c]
call fcn.00401f70
jmp 0x41b5a0
cmp dword [ebp - 0x848], 8
lea eax, [ebp - 0x85c]
push 0x4a9b24
cmovae eax, dword [ebp - 0x85c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov edx, dword [ebp - 0x848]
add esp, 8
test eax, eax
sete byte [0x4d3860]
cmp edx, 8
jb 0x41b610
mov ecx, dword [ebp - 0x85c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b604
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71f
jmp 0x41b604
push edx
push ecx
call fcn.00499aee
add esp, 8
jmp 0x41b610
mov edx, dword [ebp - 0x818]
xor eax, eax
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 7
mov word [ebp - 0x85c], ax
cmp edx, 8
jb 0x41b671
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b665
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71f
jmp 0x41b665
push edx
push ecx
call fcn.00499aee
add esp, 8
jmp 0x41b671
mov edx, dword [ebp - 0x830]
xor eax, eax
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
cmp edx, 8
jb 0x41b6ce
mov ecx, dword [ebp - 0x844]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b6c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71f
jmp 0x41b6c2
push edx
push ecx
call fcn.00499aee
add esp, 8
jmp 0x41b6ce
mov edx, dword [ebp - 0x860]
xor eax, eax
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 7
mov word [ebp - 0x844], ax
cmp edx, 8
jb 0x41b731
mov ecx, dword [ebp - 0x874]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b725
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b725
jmp 0x41b71f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
jmp 0x41b731
push 0x4d3864
call fcn.00499e75
add esp, 4
jmp 0x41b269