Function at 0x41b110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b9de
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x4cc498]
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 [0x4d4d58]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d1834]
cmp eax, dword [ecx + 4]
jg 0x41b179
mov al, byte [0x4d1830]
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.0049745c
mov esp, ebp
pop ebp
ret
push 0x4d1834
call fcn.00497934
add esp, 4
cmp dword [0x4d1834], 0xffffffff
jne 0x41b159
push 4
xor eax, eax
mov dword [ebp - 0x874], 0
push 0x4a7b24
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 0x41b47c
cmp dword [ebp - 0x834], 0
je 0x41b47c
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
lea ecx, [ebp - 0x894]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00417800
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.00417800
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 0x41b2fb
mov esi, dword [ebp - 0x898]
mov dword [ebp - 0x8ac], esi
mov dword [ebp - 0x8a8], eax
jmp 0x41b2fb
mov byte [ebp - 4], 6
test eax, eax
je 0x41b36a
lea eax, [ebp - 0x874]
push eax
lea ecx, [ebp - 0x85c]
call fcn.00401f70
jmp 0x41b317
test esi, esi
je 0x41b324
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b324
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 0x41b346
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b346
mov edx, dword [ebp - 0x894]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41b490
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b490
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 0x41b3fe
mov eax, dword [ebp - 0x8a0]
cmp eax, 1
je 0x41b3cb
cmp eax, 2
je 0x41b3cb
mov edi, 0xd
jmp 0x41b3fe
mov eax, dword [ebp - 0x89c]
test eax, eax
je 0x41b3ef
test al, 1
jne 0x41b3e8
shr eax, 1
cmp word [ebp + eax*2 - 0x816], 0
je 0x41b3fa
jmp 0x41b3e8
mov edi, 0xd
jmp 0x41b3fe
xor eax, eax
mov word [ebp - 0x814], ax
jmp 0x41b3fa
xor edi, edi
jmp 0x41b3fe
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 0x41b317
mov ecx, dword [ebp - 0x88c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b46d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b46d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
jmp 0x41b317
lea eax, [ebp - 0x874]
push eax
lea ecx, [ebp - 0x85c]
call fcn.00401f70
jmp 0x41b490
cmp dword [ebp - 0x848], 8
lea eax, [ebp - 0x85c]
push 0x4a7b24
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 [0x4d1830]
cmp edx, 8
jb 0x41b500
mov ecx, dword [ebp - 0x85c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b4f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b60f
jmp 0x41b4f4
push edx
push ecx
call fcn.0049744e
add esp, 8
jmp 0x41b500
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 0x41b561
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b555
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b60f
jmp 0x41b555
push edx
push ecx
call fcn.0049744e
add esp, 8
jmp 0x41b561
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 0x41b5be
mov ecx, dword [ebp - 0x844]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b5b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b60f
jmp 0x41b5b2
push edx
push ecx
call fcn.0049744e
add esp, 8
jmp 0x41b5be
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 0x41b621
mov ecx, dword [ebp - 0x874]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b615
jmp 0x41b60f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
jmp 0x41b621
push 0x4d1834
call fcn.004978ea
add esp, 4
jmp 0x41b159