Function at 0x40aebb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x118
lea ebp, [esp - 4]
mov eax, dword [0x44b538]
xor eax, ebp
mov dword [ebp + 0x118], eax
push 0x5c
mov eax, 0x43887f
call fcn.0042798b
mov eax, dword [ebp + 0x124]
mov esi, dword [0x43b22c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x128]
xor ebx, ebx
push 0x43c884
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call esi
mov edi, dword [0x43b298]
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x18], eax
call edi
cmp eax, ebx
je 0x40afdf
call eax
mov esi, dword [0x43b21c]
movzx eax, ax
mov dword [ebp - 0x14], 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 - 0x38], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 2
call edi
test eax, eax
je 0x40af9d
call eax
movzx eax, ax
mov dword [ebp - 0x14], 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 - 0x30], eax
call esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 4
xor ebx, ebx
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x38], 0x800
push 0x105
lea eax, [ebp]
push eax
mov esi, 0x400000
push esi
mov byte [ebp + 0x105], 0
mov byte [ebp + 0x104], 0
call dword [0x43b25c]
cmp eax, ebx
jne 0x40b106
xor eax, eax
jmp 0x40b189
call dword [0x43b2cc]
test eax, eax
jns 0x40b09e
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x18], ebx
call dword [0x43b02c]
cmp eax, ebx
jne 0x40af9f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x108]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x44], 0x10
call dword [0x43b014]
cmp eax, ebx
jne 0x40b090
cmp dword [ebp - 0x24], 1
jne 0x40b090
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x108]
push 0x43c820
push eax
call fcn.00427c9a
add esp, 0xc
cmp eax, 1
jne 0x40b090
movzx eax, word [ebp - 0x1c]
mov esi, dword [0x43b21c]
mov dword [ebp - 0x14], 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 - 0x38], eax
call esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 2
push dword [ebp - 0x18]
call dword [0x43b034]
jmp 0x40af9f
push 0x43c814
call esi
cmp eax, ebx
je 0x40af9f
lea ecx, [ebp - 0x14]
push ecx
push 0x40a79c
push 1
push 0x10
push eax
mov dword [ebp - 0x14], ebx
call dword [0x43b220]
cmp word [ebp - 0x14], bx
je 0x40af9f
movzx eax, word [ebp - 0x14]
mov esi, dword [0x43b21c]
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 - 0x38], eax
call esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 2
jmp 0x40af9f
push 0x20
pop edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00426e70
add esp, 0xc
lea eax, [ebp]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], 0x3e8
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x64], 0x88
call fcn.0040a7b2
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.0040a862
test al, al
je 0x40b156
lea ecx, [ebp - 0x40]
call fcn.0040a898
xor esi, esi
cmp dword [ebp - 0x10], ebx
jle 0x40b17b
push dword [ebp + esi*4 - 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
call fcn.0040ac9d
cmp eax, ebx
pop ecx
jne 0x40b179
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x40b15d
jmp 0x40b17b
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ad6d
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 + 0x118]
xor ecx, ebp
call fcn.00425d1a
add ebp, 0x11c
leave
ret