Function at 0x4b3d10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fa3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 4]
mov ebp, dword [eax]
mov edi, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
lea ebx, [ebx]
mov esi, dword [ecx + 4]
xor ebx, ebx
cmp edi, ebx
je 0x4b3d5d
cmp edi, ecx
je 0x4b3d62
call fcn.005d29f1
cmp ebp, esi
je 0x4b3ffd
cmp edi, ebx
jne 0x4b3d73
call fcn.005d29f1
cmp ebp, dword [edi + 4]
jne 0x4b3d7d
call fcn.005d29f1
mov eax, dword [ebp + 0xc]
sub eax, 0x10
call fcn.0040a210
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], ebx
cmp dword [esi - 0xc], ebx
jl 0x4b3fb5
push 0x632c20
push esi
call fcn.005d2e73
add esp, 8
cmp eax, ebx
je 0x4b3fb5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4b3fb5
push str.SoftwareTencentQQPinyin
push 0x632c20
lea eax, [esp + 0x20]
push eax
call fcn.00427850
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x2001f
push ebx
push ebx
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x30]
push ebx
push eax
push SysReAllocStringLen
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4b3fa4
cmp ebp, dword [edi + 4]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ebx
jne 0x4b3e19
call fcn.005d29f1
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
lea edi, [ebp + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
lea esp, [esp]
mov ecx, dword [esp + 0x30]
cmp ebp, dword [ecx + 4]
jne 0x4b3e3e
call fcn.005d29f1
test edi, edi
lea eax, [ebp + 0x10]
mov ebp, dword [eax + 4]
je 0x4b3e53
mov eax, dword [esp + 0x34]
add eax, 0x10
cmp edi, eax
je 0x4b3e58
call fcn.005d29f1
cmp esi, ebp
je 0x4b3f99
test edi, edi
mov dword [esp + 0x20], 0
jne 0x4b3e71
call fcn.005d29f1
cmp esi, dword [edi + 4]
jne 0x4b3e7b
call fcn.005d29f1
mov eax, dword [esi + 0xc]
push 0
push 0
lea edx, [esp + 0x28]
push edx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b3edc
cmp dword [esp + 0x20], 1
je 0x4b3f42
cmp esi, dword [edi + 4]
jne 0x4b3eaa
call fcn.005d29f1
mov eax, dword [esi + 0x10]
push 0xa
push 0
push eax
call fcn.005d419b
add esp, 0xc
mov dword [esp + 0x24], eax
cmp esi, dword [edi + 4]
jne 0x4b3ec8
call fcn.005d29f1
mov ecx, dword [esi + 0xc]
push 4
lea eax, [esp + 0x28]
push eax
push 4
push 0
push ecx
jmp 0x4b3f78
cmp esi, dword [edi + 4]
jne 0x4b3ee6
call fcn.005d29f1
mov ecx, dword [esi + 0x10]
movzx eax, word [ecx]
test ax, ax
je 0x4b3f09
cmp ax, 0x30
jb 0x4b3f42
cmp ax, 0x39
ja 0x4b3f42
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4b3ef1
cmp esi, dword [edi + 4]
jne 0x4b3f13
call fcn.005d29f1
mov eax, dword [esi + 0x10]
push 0xa
push 0
push eax
call fcn.005d419b
add esp, 0xc
mov dword [esp + 0x28], eax
cmp esi, dword [edi + 4]
jne 0x4b3f31
call fcn.005d29f1
mov ecx, dword [esi + 0xc]
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push 0
push ecx
jmp 0x4b3f78
cmp esi, dword [edi + 4]
jne 0x4b3f4f
call fcn.005d29f1
cmp esi, dword [edi + 4]
mov ebp, dword [esi + 0xc]
jne 0x4b3f59
call fcn.005d29f1
mov esi, dword [esi + 0x10]
test esi, esi
je 0x4b3ff3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
lea edx, [eax + eax]
push edx
push esi
push 1
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [esp + 0x38]
call fcn.00433c40
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x4b3e30
test ebx, ebx
je 0x4b3fa4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x4b3fc0
mov dword [esp + 0x4c], 0xffffffff
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b3fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x30]
call fcn.00433a30
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
jmp 0x4b3d50
push 0x80004005
call fcn.00403650
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4