Function at 0x1800349a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10090]
mov eax, 0x10190
call fcn.18005d050
sub rsp, rax
mov rax, qword [0x18006af78]
xor rax, rsp
mov qword [rbp + 0x10080], rax
mov r10d, dword [rsp + 0x50]
lea rbx, [0x180000000]
mov esi, dword [rsp + 0x50]
mov r12, r8
mov qword [rsp + 0x60], r8
mov r11, qword [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov qword [rbp - 0x70], r9
mov r9d, edx
mov dword [rsp + 0x40], edx
mov edi, r9d
mov rdx, rcx
mov qword [rbp - 0x80], rcx
mov rcx, qword [rbp + 0x100f0]
lea r15d, [r9 + 0x129]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x68], r8
cmp r9d, r15d
jae 0x180034eb8
mov r9, qword [rsp + 0x60]
movaps xmm2, xmmword [rbp - 0x20]
mov r14, qword [rbp - 0x70]
mov r13, qword [rbp - 0x70]
mov r12, qword [rbp - 0x70]
mov qword [rsp + 0x58], r9
movups xmmword [rbp - 0x68], xmm2
nop word [rax + rax]
lea eax, [rdi - 0xde]
cmp eax, 0xa2
ja case.default.0x180034a83
movzx eax, byte [rbx + rax + 0x35548]
mov ecx, dword [rbx + rax*4 + 0x35518]
add rcx, rbx
jmp rcx
mov edx, dword [rdx]
xor r9d, r9d
mov qword [rsp + 0x58], r9
test edx, edx
js case.0x180034a83.233
inc edx
lea rcx, str.KeepAliveVRPresentationFramesession
call fcn.18005ca40
movups xmm2, xmmword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
jmp case.0x180034a83.233
test r11, r11
je 0x180034adc
cmp byte [r11], 0x21
jne case.0x180034a83.233
cmp byte [r11 + 1], 0
jne case.0x180034a83.233
mov ebx, 0x68
mov eax, ebx
sub eax, 0x67
je 0x180034b1b
cmp eax, 1
jne 0x180034b24
mov r8, r11
lea ecx, [rax + 0x5a]
xor edx, edx
call fcn.180048360
xor r9d, r9d
lea rcx, str.DVB___DSNG_descriptor
xor r8d, r8d
mov edx, 0xd8
call fcn.18005b9b0
mov r11, rax
mov qword [rsp + 0x78], rax
jmp 0x180034b24
test r11, r11
je 0x180034e75
dec ebx
cmp ebx, 0x66
ja 0x180034ae1
movups xmm2, xmmword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
jmp case.0x180034a83.233
xor r13d, r13d
xor r12d, r12d
jmp case.0x180034a83.233
mov r11, qword [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x8d
xor ecx, ecx
mov dword [rsp + 0x50], r10d
mov rax, qword [r11 + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call fcn.180053b30
test eax, eax
jne 0x180034baa
mov ecx, 0x41
mov eax, ecx
sub eax, 0x40
je 0x180034f6d
cmp eax, 1
jne 0x180034ba3
xor esi, esi
dec ecx
cmp ecx, 0x3f
ja 0x180034b91
mov r8d, 0xc5
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.18004dd00
test eax, eax
je 0x180035510
movups xmm2, xmmword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
jmp case.0x180034a83.233
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x50], 3
mov qword [rbp - 0x48], r11
movsd xmm0, qword [rcx + 0x48]
movups xmm2, xmmword [rcx + 0x38]
mov eax, dword [rcx + 0x1c]
movups xmm1, xmmword [rcx + 0x50]
mov qword [rbp - 0x40], r13
movsd qword [rbp - 0x10], xmm0
movsd xmm0, qword [rcx + 0x60]
movsd qword [rbp + 8], xmm0
movups xmmword [rbp - 0x68], xmm2
mov qword [rbp - 0x38], r12
movups xmmword [rbp - 8], xmm1
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], eax
jmp case.default.0x180034a83
mov rcx, qword [rsp + 0x60]
lea rdx, [0x1800608f4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
movups xmm2, xmmword [rbp - 0x68]
mov r9, qword [rsp + 0x58]
mov r8, rax
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
jmp case.0x180034a83.233
test r14, r14
je 0x180034cfd
nop dword [rax]
mov ebx, 0x124
mov eax, ebx
sub eax, 0x124
je 0x180034cad
sub eax, 0x1e
je 0x180034ca6
sub eax, 0x3c
je 0x180034c9c
cmp eax, 0x1e
jne 0x180034cd5
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x180034ce5
jmp 0x180034ccb
add r9, r14
mov qword [rsp + 0x58], r9
jmp 0x180034cd5
test r14, r14
je 0x180034ce5
jmp 0x180034cd5
mov r9, r8
lea rcx, [rbp + 0x80]
mov r8d, 0x10000
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r14, rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
add ebx, 0x1e
cmp ebx, 0x1ba
jb 0x180034c75
test r14, r14
jne 0x180034c70
movups xmm2, xmmword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov edi, 0x13b
jmp case.0x180034a83.233
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x1d8]
mov rax, qword [rcx + 8]
lea rdx, [rcx + 8]
cmp qword [rcx + 0x10], rax
lea r8, [rcx + 0x10]
jne 0x180034d4b
mov qword [rsp + 0x20], rdx
xor edx, edx
lea r9d, [rdx + 0x6b]
call fcn.180051b80
test eax, eax
je 0x180034e6f
movups xmm2, xmmword [rbp - 0x68]
mov r9, qword [rsp + 0x58]
mov r11, qword [rsp + 0x78]
mov rax, qword [rbx + 0x1d8]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
mov r8, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
movups xmmword [rcx], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + 0x30], xmm2
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
mov rax, qword [rbx + 0x1d8]
add qword [rax + 0x10], 0x60
mov rax, qword [rbx + 0x1d8]
mov rcx, qword [rax + 0x10]
sub rcx, qword [rax]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov r10, rdx
sar r10, 4
mov rax, r10
shr rax, 0x3f
add r10, rax
mov qword [rsp + 0x70], r10
jmp case.0x180034a83.233
mov r9d, 0xc8
mov qword [rbp - 0x78], 0x80
xor r8d, r8d
mov qword [rsp + 0x20], 0
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1800112b0
mov r13, rax
test rax, rax
je 0x180034e91
movups xmm2, xmmword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
lea r12, [rax + 0x80]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
jmp case.0x180034a83.233
mov r14d, 1
jmp case.0x180034a83.233
mov rbx, qword [rsp + 0x60]
mov r11, qword [rsp + 0x48]
mov rax, qword [rbx + 0x1d8]
mov r11, qword [r11 + 0x10]
mov qword [rsp + 0x78], r11
mov rcx, qword [rax + 0x10]
sub rcx, qword [rax]
movabs rax, 0x2fffffff40
cmp rcx, rax
jge 0x180034e6f
mov rcx, qword [rsp + 0x48]
add edi, 0x1b
cmp edi, r15d
jae 0x180034ec4
mov rdx, qword [rbp - 0x80]
lea rbx, [0x180000000]
jmp 0x180034a60
mov dword [rbx], 1
mov r13d, dword [rbp - 0x80]
mov r14d, 0x463e
mov ebx, dword [rsp + 0x40]
mov edi, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x40]
jmp 0x1800354dc
mov rax, qword [rsp + 0x60]
mov r14d, 0x463e
mov r13d, dword [rbp - 0x80]
mov ebx, dword [rsp + 0x40]
mov edi, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x40]
mov dword [rax], 1
jmp 0x1800354dc
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x58], r15
jmp 0x180034ed3
mov r12, qword [rsp + 0x60]
mov r15, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x40]
mov r13d, dword [rbp - 0x80]
mov r14d, r9d
mov ebx, dword [rsp + 0x40]
mov edi, dword [rsp + 0x40]
imul eax, r9d, 0x1b8
mov dword [rsp + 0x50], r14d
cmp r14d, eax
ja 0x180034f6d
cmp r14d, 0x4a0a
ja 0x18003548f
je 0x18003548b
mov eax, r14d
sub eax, 0xde
je 0x180034fce
sub eax, 0xc
je 0x180034fb1
sub eax, 0x22a4
je 0x180034f5c
sub eax, 0x1ec
je 0x180034f41
cmp eax, 0x20c4
jne 0x1800354dc
mov r14d, 0x463e
jmp 0x1800354dc
mov rax, qword [rbp - 0x70]
mov rdx, rcx
lea rcx, str.dcontext__bb_build_info__bb
mov r8, qword [rax]
call fcn.18005ca40
jmp 0x1800354d7
mov eax, 9
cmp eax, 9
je 0x180034f99
cmp eax, 0x171
jne 0x180034f9c
mov eax, esi
mov rcx, qword [rbp + 0x10080]
xor rcx, rsp
call fcn.18005d0c0
mov rbx, qword [rsp + 0x101d8]
add rsp, 0x10190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov esi, r10d
add eax, 0x168
cmp eax, 0x2d0
jbe 0x180034f61
mov r8, qword [rcx + 8]
jmp 0x1800354cd
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r15
lea rcx, str.MobileConfiguration
call fcn.18005ca40
jmp 0x1800354d7
cmp dword [rbp + 0x10], 0xa
je 0x18003545f
movsxd rdx, r10d
mov qword [rbp - 0x78], rdx
nop
mov r15d, 0xc1
nop word [rax + rax]
lea eax, [r15 - 0xc1]
cmp eax, 5
ja case.default.0x180035012
lea r8, [0x180000000]
mov ecx, dword [r8 + rax*4 + 0x355ec]
add rcx, r8
jmp rcx
cmp dword [rbp - 0x7c], 0
je 0x180035510
jmp case.default.0x180035012
mov rax, qword [r12 + 0x1d8]
lea rdx, [rdx + rdx*2]
shl rdx, 5
mov rcx, qword [rax]
mov rax, qword [rcx + rdx - 0x40]
sub rax, qword [rcx + rdx - 0x50]
movabs rcx, 0x3fffffff0
and rax, 0xfffffffffffffff8
cmp rax, rcx
jl 0x180035077
mov dword [r12], 1
mov eax, 0xea
cmp eax, 0xea
je 0x180035510
add eax, 0xa39e
cmp eax, 0xa39e
jbe 0x180035060
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 0xa2
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
xor ecx, ecx
call fcn.18004d3d0
mov r13d, eax
mov dword [rbp - 0x80], eax
jmp 0x180035432
mov edx, 0xc5
nop word [rax + rax]
cmp edx, 0x6345
ja 0x18003515f
je 0x1800351b0
cmp edx, 0x103
je 0x180035151
cmp edx, 0x3205
je 0x1800350f0
cmp edx, 0x41c3
jne 0x180035196
mov qword [r12 + 0x20], 0
jmp 0x180035196
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x70], rax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
cmp dword [r12 + 0xfc], eax
jne 0x18003512c
cmp dword [r12], eax
jne 0x18003512c
cmp dword [r12 + 0x188], 0x17
jne 0x180035196
mov ecx, 0x3e
mov eax, ecx
sub eax, 0x3e
je 0x180035143
cmp eax, 1
je 0x1800351d1
jmp 0x180035148
mov ebx, 1
inc ecx
cmp ecx, 0x40
jb 0x180035131
jmp 0x180035196
xor eax, eax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], rax
jmp 0x180035196
cmp edx, 0x8283
je 0x18003518d
cmp edx, 0xc343
je 0x180035182
cmp edx, 0x10403
jne 0x180035196
mov qword [r12 + 0x38], 0
jmp 0x180035196
mov qword [r12 + 0x30], 0
jmp 0x180035196
mov dword [r12 + 0x28], 0
add edx, 0x3140
cmp edx, 0x18a00
jbe 0x1800350b0
jmp 0x1800351d1
xor r9d, r9d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r12
lea edx, [r9 + 0x4a]
call fcn.180025b30
mov ebx, eax
test ebx, ebx
jne 0x180035432
mov ecx, 0x69
nop
mov eax, ecx
sub eax, 0x69
je 0x1800351f2
cmp eax, 1
je 0x180034f6d
jmp 0x1800351f4
xor esi, esi
inc ecx
cmp ecx, 0x6b
jb 0x1800351e0
jmp 0x180035432
mov rax, qword [r12 + 0x1d8]
lea r14, [rdx + rdx*2]
shl r14, 5
mov r9, qword [rax]
mov rax, qword [r14 + r9 - 0x48]
cmp qword [r14 + r9 - 0x40], rax
jne 0x18003525b
lea eax, [r10 - 1]
movsxd rcx, eax
lea r8, [r9 + 0x20]
lea rax, [r9 + 0x18]
lea rdx, [rcx + rcx*2]
shl rdx, 5
add rax, rdx
add r8, rdx
mov qword [rsp + 0x20], rax
lea rcx, [rdx + 0x10]
xor edx, edx
add rcx, r9
lea r9d, [rdx + 0x6b]
call fcn.180051b80
test eax, eax
je 0x180035507
mov rax, qword [r12 + 0x1d8]
mov rcx, qword [rax]
mov rax, qword [rbp - 0x80]
mov rdx, qword [rcx + r14 - 0x40]
mov qword [rdx], rax
mov rax, qword [r12 + 0x1d8]
mov rcx, qword [rax]
add qword [rcx + r14 - 0x40], 8
jmp 0x180035432
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 0xa2
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
xor ecx, ecx
call fcn.18004d3d0
mov dword [rbp - 0x7c], eax
jmp 0x180035432
test r13d, r13d
jne 0x1800352de
mov ecx, 0xa5
nop word [rax + rax]
mov eax, ecx
sub eax, 0xa4
je 0x180034f6d
cmp eax, 1
jne 0x1800352d4
xor esi, esi
dec ecx
cmp ecx, 0xa3
ja 0x1800352c0
mov edx, 0xc5
cmp edx, 0x6345
ja 0x180035392
je 0x1800353e0
cmp edx, 0x103
je 0x180035384
cmp edx, 0x3205
je 0x180035323
cmp edx, 0x41c3
jne 0x1800353c9
mov qword [r12 + 0x20], 0
jmp 0x1800353c9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x70], rax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
cmp dword [r12 + 0xfc], eax
jne 0x18003535f
cmp dword [r12], eax
jne 0x18003535f
cmp dword [r12 + 0x188], 0x17
jne 0x1800353c9
mov ecx, 0x3e
mov eax, ecx
sub eax, 0x3e
je 0x180035376
cmp eax, 1
je 0x180035401
jmp 0x18003537b
mov edi, 1
inc ecx
cmp ecx, 0x40
jb 0x180035364
jmp 0x1800353c9
xor eax, eax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], rax
jmp 0x1800353c9
cmp edx, 0x8283
je 0x1800353c0
cmp edx, 0xc343
je 0x1800353b5
cmp edx, 0x10403
jne 0x1800353c9
mov qword [r12 + 0x38], 0
jmp 0x1800353c9
mov qword [r12 + 0x30], 0
jmp 0x1800353c9
mov dword [r12 + 0x28], 0
add edx, 0x3140
cmp edx, 0x18a00
jbe 0x1800352e3
jmp 0x180035401
xor r9d, r9d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r12
lea edx, [r9 + 0x4a]
call fcn.180025b30
mov edi, eax
test edi, edi
jne 0x180035432
mov eax, 0xe0
nop word [rax + rax]
cmp eax, 0xe0
je 0x180035424
cmp eax, 0x193
je 0x180034f6d
jmp 0x180035426
xor esi, esi
add eax, 0xb3
cmp eax, 0x246
jb 0x180035410
mov rdx, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
inc r15d
cmp r15d, 0xc7
jb 0x180034ff0
cmp dword [rbp + 0x10], 0xa
jne 0x180034fe0
mov r14d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x40]
mov rcx, qword [r12 + 0x1d8]
movaps xmm0, xmmword [rbp + 0x60]
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [rcx]
shl rdx, 5
movups xmmword [rax + rdx - 0x18], xmm0
movsd xmm1, qword [rbp + 0x70]
movsd qword [rax + rdx - 8], xmm1
jmp 0x1800354dc
xor esi, esi
jmp 0x1800354dc
cmp r14d, 0x68ee
je 0x1800354ca
cmp r14d, 0x6e9a
je 0x180034f6d
cmp r14d, 0x8b9e
je 0x180034fa8
cmp r14d, 0xae4e
je 0x18003548b
cmp r14d, 0xd0fe
je 0x180034f6d
jmp 0x1800354dc
mov r8, r11
xor edx, edx
lea ecx, [rdx + 0x5b]
call fcn.180048360
mov r9d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x60]
lea eax, [r9 + r9*4]
mov r8, qword [rsp + 0x68]
lea r14d, [r14 + rax*8]
mov r15, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
jmp 0x180034ee2
mov dword [r12], 1
nop
xor eax, eax
jmp 0x180034f6f