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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
push ecx
xor ebx, ebx
push eax
mov eax, dword [ebp + 0x10]
or eax, 1
xor edx, edx
push eax
mov ecx, esi
mov dword [esi + 0x78], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x80], ebx
mov word [esi + 0x86], dx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x88], ebx
mov byte [esi + 0x8c], bl
mov byte [esi + 0x8d], bl
mov dword [esi + 0x90], ebx
call fcn.01042a75
mov edi, eax
cmp edi, ebx
jl 0x10571fc
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea eax, [ebp - 0x70]
push eax
push 0x100b6cc
push ebx
mov dword [ebp - 0x70], 0x30
call edi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x105706e
push 0x30
lea eax, [ebp - 0x70]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
mov dword [ebp - 0x70], 0x30
mov dword [ebp - 0x6c], 0x4000
call edi
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_DefWindowProcW]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x48], 0x100b6cc
mov dword [ebp - 0x60], 4
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x1057094
push ebx
push ebx
call edi
push eax
push ebx
push dword [ebp - 0x28]
push ebx
push ebx
push ebx
push ebx
push 0x46000000
push ebx
push 0x100b6cc
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x78], eax
cmp eax, ebx
jne 0x105709e
mov edi, 0x800403e9
jmp 0x10571fc
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x1056b3b
push 0xfffffffffffffffc
push eax
call edi
push esi
push ebx
push dword [esi + 0x78]
call edi
push ebx
push ebx
push 0x129
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffec
push dword [esi + 0x78]
mov word [esi + 0x86], ax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x10570ff
push 0xffffffffffffffec
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffbfffff
push eax
push 0xffffffffffffffec
push dword [esi + 0x78]
call edi
push 1
mov ecx, esi
call fcn.010562c0
cmp dword [0x10a6804], 0xffffffff
jne 0x1057153
test byte [ebp + 0x10], 4
je 0x1057116
call dword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
jmp 0x105711c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [0x10a6804], ebx
cmp ax, bx
je 0x105717d
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 0x1057153
test dword [ebp - 0x16], 0x800
je 0x1057153
mov dword [0x10a6804], 1
cmp dword [0x10a6804], 1
jne 0x105717d
push 1
mov ecx, esi
call fcn.010562c0
push 0xffffffffffffffec
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffbfffff
push eax
push 0xffffffffffffffec
push dword [esi + 0x78]
call edi
push esi
push 0x1042335
push 1
push dword [esi + 0x78]
call sub.wmpdui.dll_CreateGadget
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x105719e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10571fc
push 0x7f
push 0x1d
push ebx
push eax
call sub.wmpdui.dll_SetGadgetMessageFilter
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 8
push 0xe2b
or eax, 0x801
push eax
push dword [esi + 4]
call sub.wmpdui.dll_SetGadgetStyle
push ebx
call fcn.0104e943
test al, al
je 0x1057230
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 + 0x80], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x80], ebx
jne 0x1057230
mov edi, 0x80040002
push dword [esi + 0x78]
call sub.wmpdui.dll_DisableContainerHwnd
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x1057215
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x78], ebx
mov eax, dword [esi + 0x80]
cmp eax, ebx
je 0x105722c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x80], ebx
mov eax, edi
jmp 0x105726d
push 6
pop edx
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x80]
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 sub.wmpdui.dll_SetGadgetRootInfo
or byte [esi + 0x5f], 8
push 0xa
mov ecx, esi
call fcn.01056303
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01039921
leave
ret 0x14