Function at 0x10063930
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x44], 0
mov esi, dword [ebp + 0x1c]
mov edx, eax
and edx, 0x7ff10000
cmp edx, 0x7ff10000
je 0x10063e98
movsd xmm3, qword [ebp + 0xc]
movsd qword [esp + 0x38], xmm3
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x100639b3
cmp dword [ebx + 0x28], 1
jbe 0x10063982
cmp dword [esi + 4], 0x7ff90001
je 0x100639b3
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym._to_int32
test eax, eax
js 0x10063a1e
mov eax, dword [esp + 0x44]
sub eax, 1
cmp eax, 0x14
ja 0x10063fa1
movsd xmm4, qword [esp + 0x38]
movsd qword [esp], xmm4
call dword [sym.imp.ucrtbase.dll__dclass]
test ax, ax
jle 0x10063a30
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ff00000
je 0x10063ed8
lea ecx, [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._to_string
test eax, eax
js 0x10063a1e
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10063ef0
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [eax + 4], 0x7ff90004
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
test eax, eax
je 0x100639c9
movsd xmm6, qword [esp + 0x38]
pxor xmm7, xmm7
ucomisd xmm6, xmm7
jp 0x10063a57
mov eax, 1
je 0x10063aeb
movsd xmm0, qword [esp + 0x38]
pxor xmm7, xmm7
comisd xmm0, xmm7
jbe 0x10063f70
movsd qword [esp], xmm0
call dword [sym.imp.ucrtbase.dll_log10]
movsd xmm2, qword [0x10097e10]
movsd xmm6, qword [0x10097e00]
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
movupd xmm1, xmm0
andpd xmm1, xmm2
ucomisd xmm6, xmm1
jbe 0x10063f60
addsd xmm1, qword [0x10097e00]
andnpd xmm2, xmm0
subsd xmm1, qword [0x10097e00]
orpd xmm1, xmm2
movsd xmm2, qword [0x10097df0]
movupd xmm6, xmm1
cmpnlesd xmm6, xmm0
movupd xmm0, xmm6
andpd xmm0, xmm2
subsd xmm1, xmm0
movupd xmm0, xmm1
addsd xmm0, xmm2
mov esi, dword [esp + 0x44]
mov dword [esp + 0x30], esi
cvttsd2si eax, xmm0
mov esi, dword [esp + 0x30]
cmp eax, esi
jle 0x10063f30
pxor xmm7, xmm7
comisd xmm7, xmmword [esp + 0x38]
lea eax, [esi - 1]
mov dword [esp + 0x40], eax
ja 0x10063f80
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x40]
cmp eax, 0x10
ja 0x10063fb0
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
add esi, 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
movsd xmm6, qword [esp + 0x38]
pxor xmm7, xmm7
comisd xmm6, xmm7
jb 0x100641b4
movsd xmm2, qword [esp + 0x38]
pxor xmm1, xmm1
ucomisd xmm2, xmm1
jp 0x10064090
jne 0x10064090
mov eax, dword [esp + 0x24]
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 + 0x38]
fstp qword [esp + 0x28]
mulsd xmm0, qword [esp + 0x28]
comisd xmm0, xmmword [0x10097e20]
jae 0x10064010
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fisttp qword [esp + 0x38]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
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 0x10064000
call sym.___udivdi3
add eax, 1
adc edx, 0
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x1c], edi
lea eax, [eax + eax - 2]
mov dword [esp + 0x14], eax
mov word [esp + eax + 0x4c], dx
mov eax, dword [esp + 0x24]
lea eax, [esp + eax*2 + 0x4c]
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 + 0x38], ebx
add eax, 0x30
mov dword [esp + 0x28], 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 + 0x4e]
mov esi, edx
cmp eax, edi
jne 0x10063c40
mov eax, 9
cmp eax, dword [esp + 0x38]
mov eax, 0
sbb eax, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
jb 0x10064120
cmp word [esp + 0x4c], 0x30
je 0x10064150
mov eax, dword [esp + 0x24]
sub eax, 1
cmp dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x38], eax
je 0x10064050
mov esi, 1
mov eax, 0xa
jmp 0x10063ce8
lea eax, [eax + eax*4]
add esi, 1
add eax, eax
cmp eax, edi
jle 0x10063ce0
mov edx, eax
neg edx
cmp edx, edi
jge 0x10063ce0
cmp dword [esp + 0x38], 1
lea eax, [esi + 3]
je 0x10063d16
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x40], 0xffffffff
lea eax, [eax + esi + 3]
lea edx, [ecx + esi + 3]
cmovne eax, edx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x48]
mov dword [esp + 4], edx
test ecx, ecx
je 0x10063fd0
add eax, 1
mov dword [esp], eax
call sym._jsstr_alloc_buf
mov ebx, eax
test eax, eax
je 0x10063f51
mov eax, dword [esp + 0x48]
mov edx, 0x2d
mov dword [esp + 0x24], 4
mov ecx, 2
mov dword [esp + 0x28], 2
mov word [eax], dx
mov eax, dword [esp + 0x48]
movzx edx, word [esp + 0x4c]
cmp dword [esp + 0x38], 1
mov word [eax + ecx], dx
je 0x10063e17
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 2]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov word [eax + edx], 0x2e
movzx eax, word [esp + 0x4e]
test ax, ax
je 0x10063dce
mov dword [esp + 0x24], ebx
neg ecx
mov edx, dword [esp + 0x28]
lea ecx, [esp + ecx*2 + 0x4c]
lea esi, [esi]
mov ebx, dword [esp + 0x48]
add edx, 1
mov word [ebx + edx*2 - 2], ax
movzx eax, word [ecx + edx*2 - 2]
test ax, ax
jne 0x10063db0
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x40], ecx
jl 0x100641a5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x38]
add eax, edx
lea ecx, [edx + edx]
mov dword [esp + 0x38], eax
lea edx, [eax + eax]
lea esi, [esi]
mov eax, dword [esp + 0x48]
mov word [eax + ecx], 0x30
add ecx, 2
cmp edx, ecx
jne 0x10063df8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
add eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, 0x65
mov word [eax + ecx], dx
mov eax, dword [esp + 0x28]
lea ecx, [eax + 2]
add eax, 1
mov edx, eax
mov eax, dword [esp + 0x48]
test edi, edi
js 0x10064040
mov word [eax + edx*2], 0x2b
mov dword [esp + 0x38], ebx
add ecx, esi
lea esi, [esi]
mov eax, 0xcccccccd
mov ebx, edi
sub ecx, 1
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebx, eax
mov eax, ebx
mov ebx, dword [esp + 0x48]
add eax, 0x30
mov word [ebx + ecx*2], ax
mov eax, edi
mov edi, edx
cmp eax, 9
jg 0x10063e50
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
add ecx, esi
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x4c], ebx
jmp 0x10063a05
cmp eax, 0x7ff90003
jne 0x10064110
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._to_jsdisp
test eax, eax
je 0x10064110
mov edx, dword [eax + 0x20]
cmp dword [edx], 9
jne 0x10064110
movsd xmm5, qword [eax + 0x30]
movsd qword [esp + 0x38], xmm5
jmp 0x1006396c
test eax, 0xfffff
je 0x10063f18
mov eax, 0x7ff80000
mov edx, 0xffffffff
jmp 0x100639e5
mov eax, dword [ebx + 4]
lea edx, [eax - 1]
xor eax, eax
mov dword [ebx + 4], edx
test edx, edx
jne 0x10063a1e
mov dword [esp], ebx
call sym._jsstr_free
mov eax, dword [ebp + 0x20]
jmp 0x10063a1e
test edx, edx
mov ecx, 0x7ff80000
cmovne eax, ecx
jmp 0x100639e5
mov esi, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x38]
sub esi, eax
mov eax, esi
call sym._number_to_fixed
mov dword [esp + 0x4c], eax
mov ebx, eax
test eax, eax
jne 0x10063a05
mov eax, 0x8007000e
jmp 0x10063a1e
movsd xmm2, qword [0x10097df0]
jmp 0x10063adb
xorpd xmm0, xmmword [0x10097de0]
jmp 0x10063a6b
movsd xmm7, qword [esp + 0x38]
mov dword [esp + 0x20], 1
xorpd xmm7, xmmword [0x10097de0]
movsd qword [esp + 0x38], xmm7
jmp 0x10063b16
mov eax, 0x800a13a3
jmp 0x10063a1e
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 0x12
mov dword [esp + 0x24], 0x12
jmp 0x10063b36
mov dword [esp], eax
call sym._jsstr_alloc_buf
mov ebx, eax
test eax, eax
je 0x10063f51
mov dword [esp + 0x24], 2
xor ecx, ecx
mov dword [esp + 0x28], 1
jmp 0x10063d60
call sym.___udivdi3
mov ebx, eax
mov esi, edx
jmp 0x10063c1a
subsd xmm0, qword [0x10097e20]
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fisttp qword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
lea eax, [esi - 0x80000000]
mov esi, eax
jmp 0x10063bc4
mov word [eax + edx*2], 0x2d
neg edi
jmp 0x10063e46
mov edx, dword [esp + 0x38]
cmp eax, 1
jne 0x10064070
jmp 0x10064198
xor ebx, ebx
mov word [esp + edx*2 + 0x4c], bx
cmp edx, 1
je 0x10064198
mov eax, edx
sub edx, 1
cmp word [esp + edx*2 + 0x4c], 0x30
je 0x10064060
mov dword [esp + 0x38], eax
jmp 0x10063cd4
movsd xmm2, qword [esp + 0x38]
movsd qword [esp], xmm2
call dword [sym.imp.ucrtbase.dll_log10]
movsd xmm2, qword [0x10097e10]
movsd xmm7, qword [0x10097e00]
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
movupd xmm1, xmm0
andpd xmm1, xmm2
ucomisd xmm7, xmm1
jbe 0x100640fa
addsd xmm1, xmm7
andnpd xmm2, xmm0
subsd xmm1, xmm7
orpd xmm1, xmm2
movsd xmm2, qword [0x10097df0]
movupd xmm6, xmm1
cmpnlesd xmm6, xmm0
movupd xmm0, xmm6
andpd xmm0, xmm2
subsd xmm1, xmm0
movupd xmm0, xmm1
cvttsd2si edi, xmm0
mov eax, dword [esp + 0x24]
sub eax, edi
jmp 0x10063b6a
mov eax, 0x800a1389
jmp 0x10063a1e
mov eax, dword [esp + 0x18]
add edi, 1
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4e]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
lea eax, [ebx + 0x30]
mov word [esp + 0x4c], ax
jmp 0x10063cbe
movzx eax, word [esp + 0x4e]
sub eax, 0x31
cmp ax, 8
ja 0x10063cbe
mov eax, dword [esp + 0x18]
mov esi, 0x30
sub edi, 1
mov dword [esp + 8], eax
lea eax, [esp + 0x4e]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [esp + 0x14]
mov word [esp + eax + 0x4a], si
jmp 0x10063cbe
mov dword [esp + 0x38], 1
jmp 0x10063cd4
mov eax, dword [esp + 0x28]
add eax, eax
mov dword [esp + 0x24], eax
jmp 0x10063e17
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]
jmp sym._Number_toExponential