Function at 0x4623c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1aca
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x510a84]
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 dword [ebp - 0x14], ecx
mov ecx, 0x511618
call dword [0x4dc39c]
test eax, eax
je 0x46248e
push 0x511618
mov ecx, dword [ebp + 8]
call dword [0x4dc3b8]
push str.zh_CN
mov ecx, dword [ebp + 8]
call dword [0x4dc3bc]
test eax, eax
je 0x462436
push str.zh_TW
mov ecx, dword [ebp + 8]
call dword [0x4dc3bc]
test eax, eax
jne 0x46243b
jmp 0x4626d0
push 2
lea eax, [ebp - 0x2c8]
push eax
mov ecx, dword [ebp + 8]
call dword [0x4dc2ec]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2d0]
push edx
mov ecx, dword [ebp + 8]
call dword [0x4dc3b8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call dword [0x4dc30c]
jmp 0x4626d0
lea ecx, [ebp - 0x30]
call dword [0x4dc46c]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
push str.defaultlocale
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.004226d0
add esp, 8
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0043e100
mov byte [ebp - 0x2c1], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call dword [0x4dc4b8]
movzx ecx, byte [ebp - 0x2c1]
test ecx, ecx
je 0x462534
lea ecx, [ebp - 0x30]
call dword [0x4dc4dc]
push eax
mov ecx, dword [ebp + 8]
call dword [0x4dc314]
mov ecx, dword [ebp + 8]
call dword [0x4dc39c]
test eax, eax
je 0x462534
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [0x4dc4b8]
jmp 0x4626d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [0x4dc4b8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call dword [0x4dc1c4]
mov word [ebp - 0x3c], ax
movzx eax, word [ebp - 0x3c]
and eax, 0x3ff
mov word [ebp - 0x40], ax
mov ecx, dword [ebp + 8]
call dword [0x4dc39c]
test eax, eax
jle 0x46257b
jmp 0x4626d0
mov dword [ebp - 0x34], 0x48
mov dword [ebp - 0x44], 0
jmp 0x462594
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x34]
jge 0x4625c7
movzx eax, word [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
movzx edx, word [ecx*8 + 0x511638]
cmp eax, edx
jne 0x4625c5
mov eax, dword [ebp - 0x44]
lea ecx, [eax*8 + 0x51163c]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x4dc3b8]
jmp 0x4625c7
jmp 0x46258b
push str.zh_cn
mov eax, dword [ebp + 8]
push eax
call fcn.00412310
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4625f9
movzx eax, word [ebp - 0x3c]
sar eax, 0xa
cmp eax, 1
jne 0x4625f9
push str.zh_tw
mov ecx, dword [ebp + 8]
call dword [0x4dc314]
mov ecx, dword [ebp + 8]
call dword [0x4dc39c]
test eax, eax
jle 0x46260b
jmp 0x4626d0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x4c]
call dword [0x4dc3b4]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10c]
call eax
lea eax, [ebp - 0x50]
push eax
push 1
push 0
lea ecx, [ebp - 0x4c]
call dword [0x4dc3a0]
push eax
push 0x80000001
call dword [0x4dc04c]
test eax, eax
jne 0x4626ac
mov dword [ebp - 0x58], 0x104
mov word [ebp - 0x264], 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push str.Language
mov eax, dword [ebp - 0x50]
push eax
call dword [0x4dc048]
test eax, eax
jne 0x4626a2
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp + 8]
call dword [0x4dc314]
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x50]
push eax
call dword [0x4dc044]
cmp dword [ebp - 0x48], 0
jne 0x4626c0
push 0x4dcc74
mov ecx, dword [ebp + 8]
call dword [0x4dc314]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [0x4dc30c]
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.004c9dd8
mov esp, ebp
pop ebp
ret 4