Function at 0x61246269
Capabilities:
Get geographical location
Identify system language via api
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x61253ebc]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [ebp + 8]
push 0x499
push edi
mov dword [ebp - 4], eax
call esi
push 0x49a
push edi
mov dword [ebp - 0x418], eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
mov ebx, eax
push 0x14b
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp ax, di
mov dword [ebp - 0x434], eax
je 0x61246506
lea eax, [ebp - 0x428]
push eax
push 0x20019
push edi
push 0x61241750
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x61246506
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x438]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x41c], edi
push edi
jmp 0x612463d0
cmp word [ebp - 0x20c], di
je 0x612463a0
cmp dword [ebp - 0x438], 1
jne 0x612463a0
lea eax, [ebp - 0x414]
push eax
call fcn.6124b12d
cmp eax, edi
mov dword [ebp - 0x430], eax
je 0x612463a0
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x612463a0
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x143
push ebx
call esi
push dword [ebp - 0x430]
mov dword [ebp - 0x424], eax
push eax
push 0x151
push ebx
call esi
movzx eax, word [ebp - 0x434]
cmp dword [ebp - 0x430], eax
jne 0x612463a0
push edi
push dword [ebp - 0x424]
push 0x14e
push ebx
call esi
inc dword [ebp - 0x41c]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x438]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
push dword [ebp - 0x428]
mov word [ebp - 0x20c], di
mov dword [ebp - 0x42c], 0x208
mov word [ebp - 0x414], di
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x6124631c
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push 0x146
push ebx
call esi
cmp eax, 1
jge 0x61246474
movzx eax, word [ebp - 0x434]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 4
push eax
mov dword [ebp - 0x424], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x61246474
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x143
push ebx
call esi
test eax, eax
jne 0x61246474
push dword [ebp - 0x424]
push edi
push 0x151
push ebx
call esi
push edi
push edi
push 0x14e
push ebx
call esi
push edi
push edi
push 0x147
push ebx
call esi
cmp eax, 0xffffffff
jne 0x6124648d
push edi
push edi
push 0x14e
push ebx
call esi
push edi
push edi
push 0x146
push ebx
call esi
cmp eax, 1
push ebx
jle 0x612464ef
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x612464b2
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x612464c7
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebp - 0x418]
call esi
push 5
push ebx
call esi
call fcn.612461d2
test eax, eax
je 0x612464d8
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x6124651f
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [ebp - 0x418]
call edi
push 1
push ebx
call edi
jmp 0x6124652c
call dword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, 1
je 0x61246506
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x6124652c
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [ebp - 0x418]
call esi
push edi
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebp - 0x418]
call esi
push edi
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6124ff04
leave
ret 4