Function at 0x10043bc3
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100481a6
call fcn.1000cf04
sub esp, 0x6c
mov eax, dword [0x1005a214]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
xor esi, esi
push 0x1004ae74
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], esi
call edi
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x28], eax
call ebx
test eax, eax
je 0x10043c79
call eax
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
movzx eax, ax
mov dword [ebp - 0x24], eax
movzx eax, ax
mov ecx, eax
mov edi, 0x3ff
and ecx, edi
movzx ecx, cx
and eax, 0xfc00
or eax, ecx
push eax
mov dword [ebp - 0x58], ecx
call esi
push dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
call ebx
call eax
movzx eax, ax
mov dword [ebp - 0x24], eax
movzx eax, ax
mov ecx, eax
shr eax, 0xa
shl eax, 0xa
and ecx, edi
movzx edi, cx
movzx eax, ax
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x4c], eax
call esi
mov dword [ebp - 0x48], eax
push 4
jmp 0x10043d87
call dword [sym.imp.kernel32.dll_GetVersion]
test eax, eax
jns 0x10043d31
lea eax, [ebp - 0x2c]
push eax
push 0x20019
xor edi, edi
push edi
push str.Control_PanelDesktopResourceLocale
push SysReAllocStringLen
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x10043d88
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 0x3c], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x10043d26
cmp dword [ebp - 0x30], 1
jne 0x10043d26
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push 0x1004ae10
push eax
call fcn.1000db8d
add esp, 0xc
cmp eax, 1
jne 0x10043d26
movzx eax, word [ebp - 0x28]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x24], eax
movzx eax, word [ebp - 0x28]
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 - 0x54], eax
call esi
push 2
mov dword [ebp - 0x50], eax
pop esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10043d88
push str.ntdll.dll
call edi
test eax, eax
je 0x10043d88
and dword [ebp - 0x24], esi
lea ecx, [ebp - 0x24]
push ecx
push 0x1004354d
push 1
push 0x10
push eax
call dword [sym.imp.kernel32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x24], si
je 0x10043d88
movzx eax, word [ebp - 0x24]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
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 - 0x54], eax
call esi
mov dword [ebp - 0x50], eax
push 2
pop esi
push 0x20
pop edi
push edi
lea eax, [ebp - 0x78]
push 0
mov dword [ebp + esi*4 - 0x54], 0x800
push eax
inc esi
call fcn.1000daa0
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], 0x1004ae00
mov dword [ebp - 0x64], 0x3e8
mov dword [ebp - 0x5c], 0x10000000
mov dword [ebp - 0x74], 0x88
call fcn.10043563
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x38]
call fcn.10043611
test al, al
je 0x10043de8
lea ecx, [ebp - 0x38]
call fcn.10043647
xor edi, edi
test esi, esi
jle 0x10043e04
push dword [ebp + edi*4 - 0x54]
mov ecx, dword [ebp - 0x40]
call fcn.10026178
test eax, eax
pop ecx
jne 0x10043e2f
inc edi
cmp edi, esi
jl 0x10043dee
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10043a66
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000cef6
leave
ret 4
mov esi, eax
jmp 0x10043e06