Function at 0x101b4c10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call sym.aom.dll_aom_uleb_decode
add esp, 0x10
test eax, eax
js 0x101b4fef
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x101b4fd3
cmp ebx, 6
jge 0x101b4fd3
cmp ebx, 4
jne 0x101b4d0c
mov eax, dword [ebp - 4]
mov ecx, edi
sub ecx, eax
mov dword [ebp - 0xc], ecx
lea ebx, [eax + esi]
mov eax, dword [ebp + 8]
lea eax, [eax + 0x51b74]
mov dword [ebp - 8], eax
jne 0x101b4c87
push str.itu_t_t35_country_code_is_missing
push 7
push eax
call fcn.10064f70
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
cmp byte [ebx], 0xff
mov edx, 1
jne 0x101b4cad
cmp ecx, edx
jne 0x101b4ca8
push str.itu_t_t35_country_code_extension_byte_is_missing
push 7
push eax
call fcn.10064f70
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, 2
lea esi, [ecx - 1]
test esi, esi
js 0x101b4cbf
cmp byte [esi + ebx], 0
jne 0x101b4cbf
sub esi, 1
jns 0x101b4cb4
cmp esi, edx
jge 0x101b4cd5
push str.No_trailing_bits_found_in_ITU_T_T.35_metadata_OBU
push 7
push dword [ebp - 8]
call fcn.10064f70
add esp, 0xc
mov al, byte [esi + ebx]
cmp al, 0x80
je 0x101b4cf2
movzx eax, al
push eax
push str.The_last_nonzero_byte_of_the_ITU_T_T.35_metadata_OBU_is_0x_02x__should_be_0x80.
push 7
push dword [ebp - 8]
call fcn.10064f70
add esp, 0x10
push 2
push esi
push ebx
push 4
push dword [ebp + 8]
call fcn.101b3f60
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 1
jne 0x101b4d4f
mov ecx, dword [ebp - 4]
mov eax, edi
sub eax, ecx
lea ebx, [ecx + esi]
cmp eax, 4
jae 0x101b4d38
mov eax, dword [ebp + 8]
push str.Incorrect_HDR_CLL_metadata_payload_size
add eax, 0x51b74
push 7
push eax
call fcn.10064f70
add esp, 0xc
push 2
push 4
push ebx
push 1
push dword [ebp + 8]
call fcn.101b3f60
mov ecx, dword [ebp - 4]
add ecx, 4
jmp 0x101b4d90
cmp ebx, 2
jne 0x101b4dae
mov ecx, dword [ebp - 4]
mov eax, edi
sub eax, ecx
lea ebx, [ecx + esi]
cmp eax, 0x18
jae 0x101b4d7b
mov eax, dword [ebp + 8]
push str.Incorrect_HDR_MDCV_metadata_payload_size
add eax, 0x51b74
push 7
push eax
call fcn.10064f70
add esp, 0xc
push 2
push 0x18
push ebx
push 2
push dword [ebp + 8]
call fcn.101b3f60
mov ecx, dword [ebp - 4]
add ecx, 0x18
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + esi]
push eax
call fcn.101b4950
add esp, 0x1c
cmp al, 0x80
je 0x101b4d03
jmp 0x101b4fef
lea eax, [esi + edi]
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.1019f0c0
add esp, 0x10
lea eax, [ebp - 0x28]
cmp ebx, 3
jne 0x101b4ee3
push 8
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 8
cmp eax, 0xe
jne 0x101b4fb0
lea eax, [ebp - 0x28]
push 2
push eax
call sym.aom.dll_aom_rb_read_literal
mov edi, eax
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x28]
push 3
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 0x1c
test esi, esi
je 0x101b4e4e
test edi, edi
js 0x101b4e4e
lea esi, [edi + 1]
nop
lea eax, [ebp - 0x28]
push 0x10
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push 0x10
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 0x10
sub esi, 1
jne 0x101b4e30
test ebx, ebx
je 0x101b4e73
test edi, edi
js 0x101b4e73
lea esi, [edi + 1]
nop dword [eax]
lea eax, [ebp - 0x28]
push 8
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 8
sub esi, 1
jne 0x101b4e60
cmp dword [ebp - 0xc], 0
je 0x101b4fb0
lea eax, [ebp - 0x28]
push 8
push eax
call sym.aom.dll_aom_rb_read_literal
mov edi, eax
add esp, 8
test edi, edi
jle 0x101b4fb0
lea eax, [ebp - 0x28]
push 3
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
lea eax, [ebp - 0x28]
push 3
push eax
call sym.aom.dll_aom_rb_read_literal
mov esi, eax
add esp, 0x18
test esi, esi
jle 0x101b4ed9
lea eax, [ebp - 0x28]
push 8
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 8
sub esi, 1
jne 0x101b4ec6
sub edi, 1
jne 0x101b4e95
jmp 0x101b4fb0
push 5
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
lea eax, [ebp - 0x28]
push 9
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 0x1c
lea eax, [ebp - 0x28]
test esi, esi
je 0x101b4f40
push 6
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push 6
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push 5
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 0x18
jmp 0x101b4f91
push eax
call sym.aom.dll_aom_rb_read_bit
add esp, 4
test eax, eax
je 0x101b4f91
lea eax, [ebp - 0x28]
push 6
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
add esp, 0xc
test eax, eax
je 0x101b4f91
lea eax, [ebp - 0x28]
push 6
push eax
call sym.aom.dll_aom_rb_read_literal
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_bit
add esp, 0xc
test eax, eax
je 0x101b4f91
lea eax, [ebp - 0x28]
push 5
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 8
lea eax, [ebp - 0x28]
push 5
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 8
test eax, eax
je 0x101b4fb0
push eax
lea eax, [ebp - 0x28]
push eax
call sym.aom.dll_aom_rb_read_literal
add esp, 8
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.1019e400
add esp, 8
test eax, eax
jne 0x101b4ffc
mov eax, dword [ebp - 0x20]
pop edi
shr eax, 3
add eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, edi
lea edx, [eax + esi]
sub ecx, eax
je 0x101b4fef
nop
dec ecx
cmp byte [ecx + edx], 0
jne 0x101b4d03
test ecx, ecx
jne 0x101b4fe0
mov eax, dword [ebp + 8]
mov dword [eax + 0x51b74], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret