Function at 0x61248618
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x61253ebc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [ebp + 8]
push 0x3fd
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x40c], edi
call esi
push 0x3ff
push edi
mov dword [ebp - 0x414], eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x410], eax
je 0x612486bd
mov eax, dword [0x61254ab0]
cmp eax, 0x40a
je 0x61248693
cmp eax, 0xc0a
je 0x61248693
push 0x80
lea ecx, [ebp - 0x204]
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x612486ad
push 0x80
lea eax, [ebp - 0x204]
push eax
push 0x60
push dword [0x612543d0]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x418], eax
jmp 0x61248737
lea eax, [ebp - 0x204]
push eax
push edi
push edi
push 0x147
push dword [ebp - 0x414]
call esi
push eax
push 0x148
push dword [ebp - 0x414]
call esi
push edi
push edi
push edi
push 0x147
push dword [ebp - 0x410]
call esi
push eax
push 0x150
push dword [ebp - 0x410]
call esi
cmp ebx, edi
mov dword [ebp - 0x418], eax
je 0x61248737
lea eax, [ebp - 0x404]
push eax
push dword [ebx + 4]
push 0x148
push dword [ebp - 0x414]
call esi
lea eax, [ebp - 0x304]
push eax
push dword [ebx + 0x10]
push 0x148
push dword [ebp - 0x414]
call esi
push dword [ebp - 0x40c]
call fcn.612485cf
push edi
push dword [ebp - 0x414]
push dword [ebp - 0x40c]
call fcn.6124c7d1
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x158
push dword [ebp - 0x414]
call esi
cmp eax, 0xffffffff
jne 0x612487ed
push 0x80
lea eax, [ebp - 0x104]
push eax
push 2
push dword [0x6125496c]
mov word [ebp - 0x104], di
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push 0x158
push dword [ebp - 0x414]
call esi
cmp eax, 0xffffffff
jne 0x612487e1
push 0x80
lea eax, [ebp - 0x104]
push eax
push 2
push 0x409
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push 0x158
push dword [ebp - 0x414]
call esi
cmp eax, 0xffffffff
jne 0x612487e1
xor eax, eax
cmp dword [ebp + 0x10], edi
jne 0x612487ed
cmp ebx, edi
je 0x612487ed
or dword [ebx], 4
push edi
push eax
push 0x14e
push dword [ebp - 0x414]
call esi
push dword [ebp - 0x410]
call fcn.6124846e
push edi
push edi
push 0x146
push dword [ebp - 0x410]
call esi
cmp eax, edi
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], edi
jbe 0x6124887e
push edi
push dword [ebp - 0x408]
push 0x150
push dword [ebp - 0x410]
call esi
cmp eax, dword [ebp - 0x418]
je 0x61248858
inc dword [ebp - 0x408]
mov eax, dword [ebp - 0x408]
cmp eax, dword [ebp - 0x40c]
jb 0x61248826
jmp 0x6124886c
push edi
push dword [ebp - 0x408]
push 0x14e
push dword [ebp - 0x410]
call esi
mov eax, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], eax
jb 0x61248a66
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x2000005b
push dword [0x61254ab0]
mov word [ebp - 0x104], di
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x40c], edi
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], edi
jbe 0x6124891b
push edi
push dword [ebp - 0x408]
push 0x150
push dword [ebp - 0x410]
call esi
cmp eax, dword [ebp - 0x418]
je 0x612488ee
inc dword [ebp - 0x408]
mov eax, dword [ebp - 0x408]
cmp eax, dword [ebp - 0x40c]
jb 0x612488bc
jmp 0x61248909
cmp ebx, edi
je 0x612488f5
or dword [ebx], 2
push edi
push dword [ebp - 0x408]
push 0x14e
push dword [ebp - 0x410]
call esi
mov eax, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], eax
jb 0x61248a66
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x2000005b
push dword [0x6125496c]
mov word [ebp - 0x104], di
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x40c], edi
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], edi
jbe 0x612489b8
push edi
push dword [ebp - 0x408]
push 0x150
push dword [ebp - 0x410]
call esi
cmp eax, dword [ebp - 0x418]
je 0x6124898b
inc dword [ebp - 0x408]
mov eax, dword [ebp - 0x408]
cmp eax, dword [ebp - 0x40c]
jb 0x61248959
jmp 0x612489a6
cmp ebx, edi
je 0x61248992
or dword [ebx], 2
push edi
push dword [ebp - 0x408]
push 0x14e
push dword [ebp - 0x410]
call esi
mov eax, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], eax
jb 0x61248a66
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x2000005b
push 0x409
mov word [ebp - 0x104], di
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x40c], edi
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], edi
ja 0x61248a66
push edi
push dword [ebp - 0x408]
push 0x150
push dword [ebp - 0x410]
call esi
cmp eax, dword [ebp - 0x418]
je 0x61248a27
inc dword [ebp - 0x408]
mov eax, dword [ebp - 0x408]
cmp eax, dword [ebp - 0x40c]
jae 0x612489f5
jmp 0x61248a42
cmp ebx, edi
je 0x61248a2e
or dword [ebx], 2
push edi
push dword [ebp - 0x408]
push 0x14e
push dword [ebp - 0x410]
call esi
mov eax, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], eax
jb 0x61248a66
cmp ebx, edi
je 0x61248a57
or dword [ebx], 2
push edi
push edi
push 0x14e
push dword [ebp - 0x410]
call esi
cmp ebx, edi
je 0x61248ad2
cmp dword [ebp + 0x10], edi
je 0x61248a83
push edi
push edi
push 0x147
push dword [ebp - 0x414]
call esi
mov dword [ebx + 4], eax
jmp 0x61248ab2
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
push 0x158
push dword [ebp - 0x414]
call esi
mov dword [ebx + 4], eax
lea eax, [ebp - 0x304]
push eax
push 0xffffffffffffffff
push 0x158
push dword [ebp - 0x414]
call esi
test byte [ebx], 2
mov dword [ebx + 0x10], eax
je 0x61248ac0
or dword [ebx + 8], 0xffffffff
jmp 0x61248ad2
push edi
push edi
push 0x147
push dword [ebp - 0x410]
call esi
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6124ff04
leave
ret 0xc