Function at 0x448180
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x473661
mov eax, dword fs:[0]
push eax
mov eax, 0x2058
call fcn.00462790
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x2050], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x206c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [esp + 0x207c]
lea ecx, [esp + 0x44]
xor eax, eax
push ecx
mov dword [esp + 0x34], ebx
mov word [esp + 0x44], ax
call fcn.00447100
lea edx, [esp + 0x1c]
push edx
push 1
xor ebp, ebp
push ebp
push str.CommonLanguageResources
mov dword [esp + 0x2084], ebp
push ebx
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44828a
mov ebx, 4
mov dword [esp + 0x20], ebx
mov eax, str.UILanguage
cmp esi, 9
je 0x448220
mov eax, str.SKULanguage
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push ebp
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44827f
cmp dword [esp + 0x18], ebx
jne 0x44827f
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x44827f
cmp esi, 9
jne 0x44825a
cmp eax, 0x804
jne 0x44827f
mov word [esp + 0x40], ax
lea eax, [esp + 0x24]
push eax
lea ebx, [esp + 0x48]
mov dword [esp + 0x28], 1
call fcn.004476d0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x60], ebp
jne 0x4482aa
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x2078], 0xffffffff
call fcn.00448e30
jmp 0x44846a
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x2074], 1
xor ebp, ebp
jmp 0x4482d0
mov ecx, dword [ebp + 0x48deec]
push ecx
push str._sInstallRoot
lea edi, [esp + 0x28]
call fcn.004543e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 8
lea edx, [esp + 0x1c]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4483ff
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.Path
push edx
mov dword [esp + 0x30], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4483f4
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x44834c
cmp eax, 2
jne 0x4483f4
mov ecx, dword [esp + 0x18]
shr ecx, 1
cmp word [esp + ecx*2 + 0x60], 0x5c
mov dword [esp + 0x18], ecx
je 0x44836d
mov eax, 0x5c
mov word [esp + ecx*2 + 0x62], ax
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0x48def0]
lea edx, [esp + ecx*2 + 0x62]
push eax
mov eax, 0x7ffffffe
mov ecx, 0x1000
call fcn.00452ab0
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x2c]
push 0x47b04c
push edx
call fcn.0044e380
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4483be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x64]
call fcn.00437920
test eax, eax
je 0x4483f4
mov ecx, dword [ebp + 0x48dee8]
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0x48]
mov dword [esp + 0x30], ecx
call fcn.004476d0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 0xc
cmp ebp, 0x78
jb 0x4482d0
cmp dword [esp + 0x60], 1
jbe 0x44841b
lea ebx, [esp + 0x40]
call fcn.004480e0
mov byte [esp + 0x2074], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], ecx
mov esi, ecx
mov dword [esp + 0x2074], 2
call fcn.00448df0
mov edx, dword [esp + 0x44]
push edx
call fcn.0046024e
add esp, 4
mov ecx, dword [esp + 0x206c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2050]
xor ecx, esp
call fcn.00460259
add esp, 0x2064
ret 4