Function at 0x421675
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x4645f4]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0x5c
mov eax, 0x44a147
call fcn.004355bf
mov eax, dword [ebp + 0x238]
mov esi, dword [0x44d324]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x23c]
xor ebx, ebx
push 0x45009c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call esi
mov edi, dword [0x44d318]
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x14], eax
call edi
cmp eax, ebx
je 0x421797
call eax
mov esi, dword [0x44d218]
movzx eax, ax
mov dword [ebp - 0x10], eax
movzx eax, ax
mov ecx, eax
shr eax, 0xa
mov ebx, 0x3ff
shl eax, 0xa
and ecx, ebx
movzx ecx, cx
movzx eax, ax
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 2
call edi
test eax, eax
je 0x421757
call eax
movzx eax, ax
mov dword [ebp - 0x10], eax
movzx eax, ax
mov ecx, eax
shr eax, 0xa
shl eax, 0xa
and ecx, ebx
movzx edi, cx
movzx eax, ax
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x2c], eax
call esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 4
xor ebx, ebx
mov edi, dword [ebp - 0x18]
push 0x105
lea eax, [ebp]
push eax
mov esi, 0x400000
mov dword [ebp + edi*4 - 0x34], 0x800
push esi
inc edi
mov word [ebp + 0x20a], bx
mov word [ebp + 0x208], bx
call dword [0x44d320]
cmp eax, ebx
jne 0x4218be
xor eax, eax
jmp 0x421941
call dword [0x44d2f0]
test eax, eax
jns 0x421856
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x14], ebx
call dword [0x44d004]
cmp eax, ebx
jne 0x421759
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x44], 0x20
call dword [0x44d008]
cmp eax, ebx
jne 0x421848
cmp dword [ebp - 0x48], 1
jne 0x421848
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x20c]
push 0x45000c
push eax
call fcn.0043346b
add esp, 0xc
cmp eax, 1
jne 0x421848
movzx eax, word [ebp - 0x1c]
mov esi, dword [0x44d218]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0x1c]
mov ecx, eax
shr eax, 0xa
shl eax, 0xa
and ecx, 0x3ff
movzx edi, cx
movzx eax, ax
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 2
push dword [ebp - 0x14]
call dword [0x44d050]
jmp 0x421759
push str.ntdll.dll
call esi
cmp eax, ebx
je 0x421759
lea ecx, [ebp - 0x10]
push ecx
push 0x420fdf
push 1
push 0x10
push eax
mov dword [ebp - 0x10], ebx
call dword [0x44d21c]
cmp word [ebp - 0x10], bx
je 0x421759
movzx eax, word [ebp - 0x10]
mov esi, dword [0x44d218]
mov ecx, eax
shr eax, 0xa
shl eax, 0xa
and ecx, 0x3ff
movzx edi, cx
movzx eax, ax
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 2
jmp 0x421759
push 0x20
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00430320
add esp, 0xc
lea eax, [ebp]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x68], 0x20
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], 0x3e8
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x64], 0x88
call fcn.00420ff5
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.004210a5
test al, al
je 0x421910
lea ecx, [ebp - 0x40]
call fcn.004210db
xor esi, esi
cmp edi, ebx
jle 0x421933
push dword [ebp + esi*4 - 0x34]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
call fcn.00421471
cmp eax, ebx
pop ecx
jne 0x421931
inc esi
cmp esi, edi
jl 0x421916
jmp 0x421933
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0042153b
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00430052
add ebp, 0x230
leave
ret