Function at 0x612451f9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x61253ebc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
xor ebx, ebx
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x114], eax
mov eax, dword [eax + 0x1c]
push 0x44f
push esi
mov dword [ebp - 0x108], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test byte [ebp - 0x108], 2
mov dword [ebp - 0x110], eax
mov edi, 0x437
je 0x612452b6
push 0x61254ac0
push ebx
push ebx
push ebx
push 0x612415d8
push 0x452
push 0x1f
push esi
call fcn.6124e155
test eax, eax
je 0x61245431
test byte [ebp - 0x108], 8
jne 0x612452b6
push ebx
push ebx
push 0x14b
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x1d
push esi
call fcn.6124be2f
push ebx
push ebx
push ebx
push ebx
push 0x612415cc
push edi
push 0x1d
push esi
call fcn.6124e155
test eax, eax
je 0x61245431
test byte [ebp - 0x108], 4
je 0x612452e1
push 0x61254bc0
push ebx
push ebx
push ebx
push 0x612415b8
push 0x453
push 0x20
push esi
call fcn.6124e155
test eax, eax
je 0x61245431
test byte [ebp - 0x108], 8
je 0x6124530c
push ebx
push ebx
push ebx
push ebx
push 0x612415cc
push edi
push 0x1d
push esi
call fcn.6124e155
test eax, eax
je 0x61245431
push 5
push esi
call fcn.612442ab
test byte [ebp - 0x108], 0x10
mov edi, 0x44d
je 0x61245381
push ebx
push ebx
push 1
push 1
push ebx
push edi
push 0x1009
push esi
call fcn.6124e155
test eax, eax
je 0x61245431
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x1009
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x61245381
lea eax, [ebp - 0x104]
push eax
call fcn.6124b0a3
push esi
mov dword [ebp - 0x10c], eax
call fcn.61244d7a
xor eax, eax
cmp dword [ebp - 0x10c], 6
sete al
push eax
push esi
call fcn.61244a0e
test byte [ebp - 0x108], 0x20
je 0x6124539c
push 0x451
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.61244b7c
test byte [ebp - 0x108], 0x40
je 0x61245435
cmp dword [ebp - 0x10c], ebx
jne 0x61245411
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
mov edi, eax
push 0x147
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x612453fd
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x80001009
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x61245431
lea eax, [ebp - 0x104]
push eax
call fcn.6124b0a3
jmp 0x6124540b
push ebx
push eax
push 0x150
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10c], eax
push dword [ebp - 0x10c]
push esi
call fcn.6124466c
test eax, eax
jne 0x61245435
push dword [ebp - 0x110]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x61245435
xor eax, eax
jmp 0x61245472
push ebx
push esi
push 0x46d
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x114]
xor edi, edi
inc edi
cmp dword [ebp + 0xc], ebx
mov dword [eax + 0x1c], edi
je 0x61245461
push esi
call fcn.61244725
cmp dword [ebp - 0x108], ebx
je 0x61245470
or dword [0x61254060], 8
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6124ff04
leave
ret 8