Function at 0x41d8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4668b1
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x485300]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, edx
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
push 0x206
lea eax, [esp + 0x62]
push ebx
mov dword [esp + 0x278], ebx
push eax
mov word [esp + 0x68], bx
call fcn.00447890
mov ebp, 0x104
add esp, 0xc
mov dword [esp + 0x20], ebp
call fcn.0041d2d0
test eax, eax
jne 0x41d9b2
call fcn.0041d370
test eax, eax
jne 0x41d9b2
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push str.SOFTWARETencentQQPinyin
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41db98
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push edi
push edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41d98a
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41db98
cmp esi, ebx
je 0x41d97a
push ebp
lea ecx, [esp + 0x60]
push ecx
push esi
call fcn.00443086
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41db9a
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea ecx, [esp + 0x24]
mov byte [esp + 0x270], 1
call fcn.0041d3f0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x278], 2
call fcn.00403b80
mov esi, 8
mov byte [esp + 0x270], 1
cmp dword [esp + 0x3c], esi
jb 0x41da08
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00442665
add esp, 4
push 1
push 0x46aecc
lea ecx, [esp + 0x48]
call fcn.00408230
mov eax, str.SOFTWARETencentQQPinyin
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41da20
sub eax, edx
sar eax, 1
push eax
push str.SOFTWARETencentQQPinyin
lea ecx, [esp + 0x48]
call fcn.00408230
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x41da4c
lea eax, [esp + 0x44]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41db7e
mov ebp, dword [esp + 0x18]
push edi
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x28]
lea esi, [esp + 0x64]
mov dword [esp + 0x1c], ebp
call fcn.0041d1c0
test eax, eax
je 0x41dace
mov byte [esp + 0x270], bl
cmp dword [esp + 0x58], 8
jb 0x41daa9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00442665
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
je 0x41db98
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41db98
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41db36
push 0x103
lea edx, [esp + 0x60]
push edx
push eax
call fcn.00443086
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
cmp ebp, ebx
je 0x41dafc
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov byte [esp + 0x270], bl
cmp dword [esp + 0x58], 8
jb 0x41db17
mov eax, dword [esp + 0x44]
push eax
call fcn.00442665
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
je 0x41db2f
push ebp
call esi
mov eax, 1
jmp 0x41db9a
cmp ebp, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41db49
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov byte [esp + 0x270], bl
cmp dword [esp + 0x58], 8
jb 0x41db64
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00442665
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
je 0x41db98
push ebp
call esi
jmp 0x41db98
mov byte [esp + 0x270], bl
cmp dword [esp + 0x58], esi
jb 0x41db98
mov edx, dword [esp + 0x44]
push edx
call fcn.00442665
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0044266a
add esp, 0x260
ret