Function at 0x100641e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x68
mov dword [esp + 0x3c], 0
test byte [0x1008a2a0], 8
jne 0x100646f0
mov eax, dword [ebp + 0x10]
mov edx, eax
and edx, 0x7ff10000
cmp edx, 0x7ff10000
je 0x100646b0
movsd xmm3, qword [ebp + 0xc]
movsd qword [esp + 0x30], xmm3
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x10064260
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._to_int32
test eax, eax
js 0x100642d6
cmp dword [esp + 0x3c], 0x14
ja 0x10064996
movsd xmm4, qword [esp + 0x30]
movsd qword [esp], xmm4
call dword [sym.imp.ucrtbase.dll__dclass]
test ax, ax
jle 0x100642e0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ff00000
je 0x10064810
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._to_string
test eax, eax
js 0x100642d6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1006467c
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x30]
mov dword [eax + 4], 0x7ff90004
mov dword [eax], esi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10064748
pxor xmm0, xmm0
xor eax, eax
comisd xmm0, xmmword [esp + 0x30]
ja 0x10064838
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
cmp esi, 0x10
ja 0x10064948
lea edi, [esi + 2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], eax
movsd xmm6, qword [esp + 0x30]
comisd xmm6, xmm0
jb 0x100649ba
movsd xmm7, qword [esp + 0x30]
ucomisd xmm7, xmm0
jp 0x100648a0
jne 0x100648a0
mov eax, dword [esp + 0x28]
xor edi, edi
sub eax, 1
pxor xmm0, xmm0
mov dword [esp], 0
cvtsi2sd xmm0, eax
mov dword [esp + 4], 0x40240000
movsd qword [esp + 8], xmm0
call dword [sym.imp.ucrtbase.dll_pow]
movsd xmm0, qword [esp + 0x30]
fstp qword [esp + 0x18]
mulsd xmm0, qword [esp + 0x18]
comisd xmm0, xmmword [0x10097e20]
jae 0x100647a0
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fisttp qword [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp], ebx
mov dword [esp + 4], esi
call sym.___umoddi3
mov ecx, 4
mov dword [esp + 8], 0xa
cmp ecx, eax
mov eax, 0
mov dword [esp + 0xc], 0
sbb eax, edx
mov dword [esp], ebx
mov dword [esp + 4], esi
jae 0x10064788
call sym.___udivdi3
add eax, 1
adc edx, 0
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x18], edi
lea eax, [eax + eax - 2]
mov dword [esp + 0x14], eax
mov word [esp + eax + 0x44], cx
mov eax, dword [esp + 0x28]
lea eax, [esp + eax*2 + 0x44]
mov edi, eax
nop
lea esi, [esi]
mov dword [esp], ebx
sub edi, 2
mov dword [esp + 4], esi
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
call sym.___umoddi3
mov dword [esp + 0x30], ebx
add eax, 0x30
mov dword [esp + 0x38], esi
mov word [edi - 2], ax
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
call sym.___udivdi3
mov ebx, eax
lea eax, [esp + 0x46]
mov esi, edx
cmp eax, edi
jne 0x10064428
mov eax, 9
cmp eax, dword [esp + 0x30]
mov eax, 0
sbb eax, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
jb 0x10064870
cmp word [esp + 0x44], 0x30
je 0x10064900
mov ebx, dword [esp + 0x28]
sub ebx, 1
cmp dword [esp + 0x24], 0xffffffff
je 0x10064730
mov ecx, 1
mov eax, 0xa
jmp 0x100644d0
lea eax, [eax + eax*4]
add ecx, 1
add eax, eax
cmp eax, edi
jle 0x100644c8
mov edx, eax
neg edx
cmp edx, edi
jge 0x100644c8
lea eax, [ecx + 3]
cmp ebx, 1
je 0x100644f6
mov esi, dword [esp + 0x24]
lea eax, [ecx + ebx + 3]
lea edx, [ecx + esi + 4]
cmp esi, 0xffffffff
cmovne eax, edx
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x100647d0
add eax, 1
lea edx, [esp + 0x40]
mov dword [esp + 0x38], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._jsstr_alloc_buf
mov ecx, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], eax
je 0x100649a0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], 4
mov edx, 0x2d
mov dword [esp + 0x38], 2
mov word [eax], dx
mov eax, 2
mov edx, eax
mov esi, dword [esp + 0x40]
movzx eax, word [esp + 0x44]
mov word [esi + edx], ax
cmp ebx, 1
je 0x100645eb
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea esi, [eax + 2]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x40]
mov word [esi + edx], 0x2e
movzx edx, word [esp + 0x46]
test dx, dx
je 0x100645b6
mov esi, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x38]
neg esi
lea esi, [esp + esi*2 + 0x44]
lea esi, [esi]
mov ecx, dword [esp + 0x40]
add eax, 1
mov word [ecx + eax*2 - 2], dx
movzx edx, word [esi + eax*2 - 2]
test dx, dx
jne 0x10064598
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
cmp ebx, dword [esp + 0x24]
jg 0x100645e5
mov esi, dword [esp + 0x24]
lea edx, [eax + eax]
sub eax, ebx
lea eax, [eax + esi + 1]
lea esi, [eax + eax]
mov ebx, dword [esp + 0x40]
mov word [ebx + edx], 0x30
add edx, 2
cmp esi, edx
jne 0x100645d0
mov dword [esp + 0x38], eax
add eax, eax
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov edx, 0x65
mov word [ebx + eax], dx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
lea ebx, [eax + 2]
add eax, 1
test edi, edi
js 0x10064860
mov esi, 0x2b
mov word [edx + eax*2], si
mov dword [esp + 0x38], ecx
add ebx, ecx
mov esi, 0xcccccccd
lea esi, [esi]
lea edi, [edi]
mov eax, edi
mov ecx, edi
sub ebx, 1
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x40]
add eax, 0x30
mov word [ecx + ebx*2], ax
mov eax, edi
mov edi, edx
cmp eax, 9
jg 0x10064630
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
xor edx, edx
add ebx, ecx
mov word [eax + ebx*2], dx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x100642c4
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 4]
lea edx, [esi - 1]
mov dword [esp + 0x38], esi
mov dword [eax + 4], edx
xor eax, eax
test edx, edx
jne 0x100642d6
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._jsstr_free
mov eax, dword [ebp + 0x20]
jmp 0x100642d6
cmp eax, 0x7ff90003
jne 0x100649b0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._to_jsdisp
test eax, eax
je 0x100649b0
mov edx, dword [eax + 0x20]
cmp dword [edx], 9
jne 0x100649b0
movsd xmm5, qword [eax + 0x30]
movsd qword [esp + 0x30], xmm5
jmp 0x10064223
mov dword [esp + 0xc], 0x10097b20
mov dword [esp + 8], str.Number_toExponential
mov dword [esp + 4], 0x1008a2a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_18
jmp 0x10064201
xor eax, eax
mov word [esp + ebx*2 + 0x44], ax
cmp ebx, 1
je 0x100644b8
mov eax, ebx
sub ebx, 1
cmp word [esp + ebx*2 + 0x44], 0x30
je 0x10064720
mov ebx, eax
jmp 0x100644b8
pxor xmm0, xmm0
comisd xmm0, xmmword [esp + 0x30]
mov dword [esp + 0x3c], 0xffffffff
ja 0x10064830
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x38], 0x12
mov dword [esp + 0x28], 0x12
jmp 0x10064326
call sym.___udivdi3
mov ebx, eax
mov esi, edx
jmp 0x10064402
subsd xmm0, qword [0x10097e20]
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fisttp qword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea eax, [esi - 0x80000000]
mov esi, eax
jmp 0x100643ac
lea edx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x18], ecx
call sym._jsstr_alloc_buf
mov dword [esp + 0x30], eax
test eax, eax
je 0x100649a0
mov dword [esp + 0x28], 2
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x38], 1
jmp 0x1006454a
test eax, 0xfffff
je 0x100648f0
mov eax, 0x7ff80000
mov edx, 0xffffffff
jmp 0x10064292
mov dword [esp + 0x2c], 0xffffffff
movsd xmm1, qword [esp + 0x30]
mov eax, 1
xorpd xmm1, xmmword [0x10097de0]
movsd qword [esp + 0x30], xmm1
jmp 0x10064302
mov esi, 0x2d
neg edi
mov word [edx + eax*2], si
jmp 0x1006461b
mov eax, dword [esp + 0x20]
add edi, 1
mov dword [esp + 8], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x46]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
lea eax, [ebx + 0x30]
mov word [esp + 0x44], ax
jmp 0x100644a6
movsd xmm5, qword [esp + 0x30]
movsd qword [esp], xmm5
call dword [sym.imp.ucrtbase.dll_log10]
movsd xmm2, qword [0x10097e10]
movsd xmm6, qword [0x10097e00]
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
movupd xmm1, xmm0
andpd xmm1, xmm2
ucomisd xmm6, xmm1
ja 0x10064960
cvttsd2si edi, xmm0
mov eax, dword [esp + 0x28]
sub eax, edi
jmp 0x10064352
test edx, edx
mov ecx, 0x7ff80000
cmovne eax, ecx
jmp 0x10064292
movzx eax, word [esp + 0x46]
sub eax, 0x31
cmp ax, 8
ja 0x100644a6
mov eax, dword [esp + 0x20]
sub edi, 1
mov dword [esp + 8], eax
lea eax, [esp + 0x46]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [esp + 0x14]
mov edx, 0x30
mov word [esp + eax + 0x42], dx
jmp 0x100644a6
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
jmp 0x10064768
addsd xmm1, xmm6
andnpd xmm2, xmm0
movsd xmm5, qword [0x10097df0]
subsd xmm1, xmm6
orpd xmm1, xmm2
movupd xmm7, xmm1
cmpnlesd xmm7, xmm0
movupd xmm0, xmm7
andpd xmm0, xmm5
subsd xmm1, xmm0
movupd xmm0, xmm1
jmp 0x100648dd
mov eax, 0x800a13a2
jmp 0x100642d6
mov eax, 0x8007000e
jmp 0x100642d6
mov eax, 0x800a1389
jmp 0x100642d6
mov dword [esp + 8], 0x3d
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_jscript_number.c
mov dword [esp], str.size_2__size_NUMBER_DTOA_SIZE__d_0
call dword [sym.imp.ucrtbase.dll__assert]
mov esi, esi
lea edi, [edi]