Function at 0x100649e0
Capabilities:
Get geographical location

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2f0
mov esi, dword [ecx]
movsd xmm0, qword [ecx + 4]
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
mov ebx, dword [esi + 0x30]
movsd qword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2d8], eax
movsd qword [esp], xmm0
call dword [sym.imp.ucrtbase.dll__dclass]
test ax, ax
jle 0x10064a90
mov eax, dword [ebp - 0x2dc]
mov edx, dword [ebp - 0x2e0]
mov ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ff00000
je 0x10064a70
mov ebx, dword [ebp - 0x2d8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp], esi
call sym._to_string
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
test eax, 0xfffff
je 0x10064d18
mov eax, 0x7ff80000
mov edx, 0xffffffff
jmp 0x10064a41
mov dword [esp + 4], 0x10097bbc
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll__create_locale]
mov esi, eax
test eax, eax
je 0x10064d98
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
movsd xmm2, qword [ebp - 0x2e0]
mov dword [esp + 8], str._.3f
mov dword [esp + 4], 0x13c
mov dword [esp], eax
movsd qword [esp + 0x10], xmm2
call sym.__swprintf_l.constprop.0
mov dword [esp], esi
mov dword [ebp - 0x2e4], eax
call dword [sym.imp.ucrtbase.dll__free_locale]
mov dword [ebp - 0x2e0], 0
test edi, edi
jne 0x10064bc0
mov eax, dword [ebp - 0x2e0]
lea edi, [ebp - 0x288]
mov dword [esp + 0x14], 0
mov dword [esp + 8], edi
mov esi, dword [sym.imp.kernel32.dll_GetNumberFormatW]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], ebx
call esi
sub esp, 0x18
mov edi, eax
test eax, eax
je 0x10064d98
lea eax, [ebp - 0x2b4]
mov dword [esp + 4], eax
lea eax, [edi - 1]
mov dword [esp], eax
call sym._jsstr_alloc_buf
test eax, eax
mov dword [ebp - 0x2e4], eax
je 0x10064d98
mov eax, dword [ebp - 0x2b4]
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2e0]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
call esi
mov edx, dword [ebp - 0x2e4]
sub esp, 0x18
test eax, eax
je 0x10064d86
mov eax, dword [ebp - 0x2d8]
mov dword [eax], edx
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x2a0], 3
mov eax, dword [ebp - 0x2e4]
cmp word [ebp + eax*2 - 0x28a], 0x30
jne 0x10064c03
lea ecx, [ebp + eax*2 - 0x288]
mov eax, 2
mov esi, esi
lea edi, [edi]
mov edx, eax
sub eax, 1
cmp word [ecx + eax*2 - 6], 0x30
je 0x10064bf0
mov dword [ebp - 0x2a0], edx
xor eax, eax
mov dword [esp], ebx
mov esi, dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0x2b4]
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], eax
mov dword [esp + 4], 0x10
call esi
sub esp, 0x10
test eax, eax
jne 0x10064d30
mov dword [ebp - 0x298], 3
lea eax, [ebp - 0x29c]
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x20000012
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
jne 0x10064c76
mov dword [ebp - 0x29c], 0
lea eax, [ebp - 0x28c]
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x20001010
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
jne 0x10064ca6
mov dword [ebp - 0x28c], 1
lea edi, [ebp - 0x2d4]
mov dword [esp + 0xc], 8
mov dword [ebp - 0x294], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0xe
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
je 0x10064d70
lea edi, [ebp - 0x2c4]
mov dword [esp + 0xc], 8
mov dword [ebp - 0x290], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0xf
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
je 0x10064d58
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2e0], eax
jmp 0x10064b00
test edx, edx
mov ecx, 0x7ff80000
cmovne eax, ecx
jmp 0x10064a41
cmp word [ebp - 0x2b0], 0x32
mov eax, 0x20
je 0x10064d49
movzx eax, word [ebp - 0x2b4]
sub eax, 0x30
mov dword [ebp - 0x298], eax
jmp 0x10064c46
mov dword [esp + 4], 0x10097bc2
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscpy]
jmp 0x10064d02
mov dword [esp + 4], 0x10097bbe
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscpy]
jmp 0x10064cd6
sub dword [edx + 4], 1
jne 0x10064d98
mov dword [esp], edx
call sym._jsstr_free
lea esi, [esi]
mov eax, 0x8007000e
jmp 0x10064a5b