Function at 0x1014d5e
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1028aa8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
xor ebx, ebx
push edi
or eax, 1
push eax
mov dword [esi + 0x74], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x78], ebx
mov word [esi + 0x7e], bx
call fcn.01012204
mov edi, eax
cmp edi, ebx
jl 0x1014f62
lea eax, [ebp - 0x70]
push eax
push 0x10036a4
push ebx
mov dword [ebp - 0x70], 0x30
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x1014e28
push 0xc
pop ecx
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x70], 0x30
mov dword [ebp - 0x6c], 0x4000
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push 0x7f00
push ebx
mov dword [ebp - 0x5c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push ebx
mov dword [ebp - 0x54], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x50], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x48], 0x10036a4
mov dword [ebp - 0x60], 4
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x1014e28
mov edi, 0x800403e9
jmp 0x1014f62
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
push ebx
push dword [ebp - 0x28]
push ebx
push ebx
push ebx
push ebx
push 0x46000000
push ebx
push 0x10036a4
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, ebx
mov dword [esi + 0x74], eax
je 0x1014e1e
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x1014aa3
push 0xfffffffffffffffc
push eax
call edi
push esi
push ebx
push dword [esi + 0x74]
call edi
push ebx
push ebx
push 0x129
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x102be80], 0xffffffff
mov word [esi + 0x7e], ax
jne 0x1014ebd
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
cmp ax, bx
mov dword [0x102be80], ebx
je 0x1014ee7
push 0x10
lea ecx, [ebp - 0x24]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x1014ebd
test byte [ebp - 0x15], 8
je 0x1014ebd
mov dword [0x102be80], 1
cmp dword [0x102be80], 1
jne 0x1014ee7
push 1
mov ecx, esi
call fcn.0101470a
push 0xffffffffffffffec
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffbfffff
push eax
push 0xffffffffffffffec
push dword [esi + 0x74]
call edi
push esi
push 0x1011a00
push 1
push dword [esi + 0x74]
call dword [sym.imp.DUSER.dll_CreateGadget]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x1014f09
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
jmp 0x1014f62
push 0x7f
push 0x1d
push ebx
push eax
call dword [sym.imp.DUSER.dll_SetGadgetMessageFilter]
mov al, byte [ebp + 0xc]
neg al
push 0xe2b
sbb eax, eax
and eax, 8
or eax, 0x801
push eax
push dword [esi + 4]
call dword [sym.imp.DUSER.dll_SetGadgetStyle]
push ebx
call fcn.010157be
test al, al
je 0x1014f99
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
push edi
push ebx
mov dword [esi + 0x78], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x78], ebx
jne 0x1014f99
mov edi, 0x80040002
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x1014f73
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1014f84
push eax
call dword [sym.imp.DUSER.dll_DeleteHandle]
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x1014f95
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x78], ebx
mov eax, edi
jmp 0x1014fcb
push 6
pop edx
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
push dword [esi + 4]
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.DUSER.dll_SetGadgetRootInfo]
or byte [esi + 0x6c], 2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100b845
leave
ret 0xc