Function at 0x6124be2f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x61253ebc]
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x308], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x80
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
push dword [0x61254ab0]
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov edi, 0x14a
lea eax, [ebp - 0x104]
je 0x6124bf90
push 0
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x30c]
call esi
push eax
push 0x14e
push dword [ebp - 0x30c]
call esi
mov eax, dword [ebp + 0xc]
push 0x80
lea ecx, [ebp - 0x204]
or eax, 0x80000000
push ecx
push eax
push dword [0x6125496c]
mov dword [ebp - 0x308], eax
call ebx
test eax, eax
je 0x6124bf0e
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 0
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x6124bf0e
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x30c]
call esi
push 0x80
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x308]
push dword [0x61254ab0]
call ebx
or ebx, 0xffffffff
test eax, eax
je 0x6124bfe7
push ebx
lea eax, [ebp - 0x104]
push eax
push ebx
lea eax, [ebp - 0x304]
push eax
push 0
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x6124bfe7
push ebx
lea eax, [ebp - 0x204]
push eax
push ebx
lea eax, [ebp - 0x304]
push eax
push 0
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x6124bfe7
lea eax, [ebp - 0x304]
push eax
push ebx
push edi
push dword [ebp - 0x30c]
call esi
jmp 0x6124bfe7
push 0x80
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x80000000
push eax
push dword [0x6125496c]
call ebx
test eax, eax
je 0x6124bfcf
push 0
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x30c]
call esi
push eax
push 0x14e
push dword [ebp - 0x30c]
call esi
jmp 0x6124bfe4
push 0x40
push 0
push 0x612543e0
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_MessageBoxW]
or ebx, 0xffffffff
cmp dword [ebp + 0xc], 0x1d
jne 0x6124c036
mov dword [ebp - 0x308], 0x61253e3c
mov eax, dword [ebp - 0x308]
push dword [eax]
push ebx
push 0x158
push dword [ebp - 0x30c]
call esi
cmp eax, ebx
jne 0x6124c023
mov eax, dword [ebp - 0x308]
push dword [eax]
push ebx
push edi
push dword [ebp - 0x30c]
call esi
add dword [ebp - 0x308], 4
cmp dword [ebp - 0x308], 0x61253e48
jl 0x6124bff7
cmp dword [ebp + 0xc], 0x28
jne 0x6124c064
push dword [0x61253eb0]
push ebx
push 0x158
push dword [ebp - 0x30c]
call esi
cmp eax, ebx
jne 0x6124c064
push dword [0x61253eb0]
push ebx
push edi
push dword [ebp - 0x30c]
call esi
cmp dword [ebp + 0xc], 0x29
jne 0x6124c092
push dword [0x61253eb4]
push ebx
push 0x158
push dword [ebp - 0x30c]
call esi
cmp eax, ebx
jne 0x6124c092
push dword [0x61253eb4]
push ebx
push edi
push dword [ebp - 0x30c]
call esi
cmp dword [ebp + 0xc], 0x14
jne 0x6124c0e1
mov dword [ebp - 0x308], 0x61253e34
mov eax, dword [ebp - 0x308]
push dword [eax]
push ebx
push 0x158
push dword [ebp - 0x30c]
call esi
cmp eax, ebx
jne 0x6124c0ce
mov eax, dword [ebp - 0x308]
push dword [eax]
push ebx
push edi
push dword [ebp - 0x30c]
call esi
add dword [ebp - 0x308], 4
cmp dword [ebp - 0x308], 0x61253e3c
jl 0x6124c0a2
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6124ff04
leave
ret 0xc