Function at 0x14000d950
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003b918]
mov dword [rcx + 0x1436768], 0
add rcx, 0xbb0ee0
call fcn.140017b24
mov rdi, rax
test rax, rax
je 0x14000e18e
mov rbx, qword [0x140042fb8]
xor edx, edx
mov r8d, 0x18000
lea rcx, [rbx + 0x12b12e0]
call fcn.140015200
mov edx, 0x80
lea rcx, [rbx + 0x12b12e0]
mov r9, rdi
lea r8d, [rdx - 0x7f]
call fcn.14001fd0c
mov rcx, rdi
call fcn.1400180a4
mov rdx, qword [0x140042fb8]
cmp byte [rdx + 0x12b12e0], 0x42
jne 0x14000e18e
cmp byte [rdx + 0x12b12e1], 0x48
jne 0x14000e18e
cmp byte [rdx + 0x12b12e2], 0x32
jne 0x14000e18e
cmp byte [rdx + 0x12b12e3], 0x2c
jne 0x14000e18e
movsd xmm1, qword [0x14003ccb0]
mov dword [rdx + 0x1436768], 1
movzx eax, byte [rdx + 0x12b12e4]
mov dword [rdx + 0x1436720], eax
movzx eax, byte [rdx + 0x12b12e5]
add eax, 0x64
mov dword [rdx + 0x1436704], eax
movzx eax, byte [rdx + 0x12b12e6]
mov dword [rdx + 0x1436700], eax
movzx eax, byte [rdx + 0x12b12e7]
mov dword [rdx + 0x14366fc], eax
movzx eax, byte [rdx + 0x12b12e8]
mov dword [rdx + 0x14366f8], eax
movzx eax, byte [rdx + 0x12b12e9]
mov dword [rdx + 0x14366f4], eax
movzx eax, byte [rdx + 0x12b12ea]
mov dword [rdx + 0x14366f0], eax
movzx eax, word [rdx + 0x12b12eb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008a0], xmm0
movzx eax, word [rdx + 0x12b12ed]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008a8], xmm0
movzx eax, word [rdx + 0x12b12ef]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008b0], xmm0
movzx eax, word [rdx + 0x12b12f1]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008b8], xmm0
movzx eax, word [rdx + 0x12b12f3]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008c0], xmm0
movzx eax, word [rdx + 0x12b12f5]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008c8], xmm0
movzx eax, word [rdx + 0x12b12f7]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008d0], xmm0
movzx eax, word [rdx + 0x12b12f9]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008d8], xmm0
movzx eax, word [rdx + 0x12b12fb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008e0], xmm0
movzx eax, word [rdx + 0x12b12fd]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008e8], xmm0
movzx eax, word [rdx + 0x12b12ff]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008f0], xmm0
movzx eax, word [rdx + 0x12b1301]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6008f8], xmm0
movzx eax, word [rdx + 0x12b1303]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600960], xmm0
movzx eax, word [rdx + 0x12b1305]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600968], xmm0
movzx eax, word [rdx + 0x12b1307]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600970], xmm0
movzx eax, word [rdx + 0x12b1309]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600978], xmm0
movzx eax, word [rdx + 0x12b130b]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600980], xmm0
movzx eax, word [rdx + 0x12b130d]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600988], xmm0
movzx eax, word [rdx + 0x12b130f]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600990], xmm0
movzx eax, word [rdx + 0x12b1311]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x600998], xmm0
movzx eax, word [rdx + 0x12b1313]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6009a0], xmm0
movzx eax, word [rdx + 0x12b1315]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6009a8], xmm0
movzx eax, word [rdx + 0x12b1317]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6009b0], xmm0
movzx eax, word [rdx + 0x12b1319]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x6009b8], xmm0
mov eax, dword [rdx + 0x1436720]
test eax, eax
jne 0x14000df44
movzx eax, byte [rdx + 0x12b131c]
movzx ecx, byte [rdx + 0x12b131d]
movsd xmm2, qword [0x14003ccc0]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x12b131b]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x18], xmm0
movzx eax, word [rdx + 0x12b131e]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x20], xmm0
movzx eax, word [rdx + 0x12b1320]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm2
movsd qword [rdx + 0x14366d0], xmm1
movzx eax, word [rdx + 0x12b1322]
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0x12b1324]
mov dword [rdx + 0x5c], eax
movzx eax, byte [rdx + 0x12b1325]
mov dword [rdx + 0x58], eax
movsx eax, byte [rdx + 0x12b1326]
mov dword [rdx + 0x12cc330], eax
movzx eax, byte [rdx + 0x12b1327]
mov dword [rdx + 0x12cc328], eax
movzx eax, byte [rdx + 0x12b1328]
mov dword [rdx + 0x12cc324], eax
movsx eax, byte [rdx + 0x12b1329]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rdx + 0x78], xmm0
movzx eax, word [rdx + 0x12b132a]
mov dword [rdx + 0x12cc320], eax
movzx eax, byte [rdx + 0x12b12fc]
lea ecx, [rax + rax*2]
mov dword [rdx + 0x1436730], ecx
movzx eax, word [rdx + 0x12b132d]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x12cc348], xmm0
movzx eax, word [rdx + 0x12b132f]
mov dword [rdx + 0x14], eax
movzx eax, byte [rdx + 0x12b1331]
add eax, eax
mov dword [rdx + 0x10], eax
movzx eax, byte [rdx + 0x12b1333]
movzx ecx, byte [rdx + 0x12b1334]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x12b1332]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 8], xmm0
movzx eax, byte [rdx + 0x12b1336]
movzx ecx, byte [rdx + 0x12b1337]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x12b1335]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x12cc318], xmm0
movzx eax, byte [rdx + 0x12b1338]
mov dword [rdx + 0x14366b8], eax
movzx eax, word [rdx + 0x12b1339]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x88], xmm0
movzx eax, byte [rdx + 0x12b133b]
mov dword [rdx + 0x12cc3b4], eax
movzx eax, byte [rdx + 0x12b133c]
mov dword [rdx + 0x1436718], eax
call fcn.14000a980
jmp 0x14000e0b0
cmp eax, 1
jne 0x14000e0b7
movzx eax, word [rdx + 0x12b131b]
movsd xmm2, qword [0x14003ccc0]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x12cc348], xmm0
movzx eax, word [rdx + 0x12b131d]
mov dword [rdx + 0x14], eax
movzx eax, byte [rdx + 0x12b1320]
movzx ecx, byte [rdx + 0x12b1321]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x12b131f]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 8], xmm0
movzx eax, byte [rdx + 0x12b1322]
add eax, eax
mov dword [rdx + 0x10], eax
movzx eax, word [rdx + 0x12b1323]
mov dword [rdx], eax
cmp eax, 0x100
ja 0x14000dfd4
cmp dword [rdx + 0x50], 0x100
jle 0x14000dfd7
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0x12b1325]
mov dword [rdx + 0x6c], eax
movzx eax, word [rdx + 0x12b1326]
mov dword [rdx + 0x1436730], eax
movsx eax, byte [rdx + 0x12b1328]
mov dword [rdx + 0x12cc330], eax
movzx eax, byte [rdx + 0x12b1329]
mov dword [rdx + 0x12cc328], eax
movzx eax, byte [rdx + 0x12b132a]
mov dword [rdx + 0x12cc324], eax
movzx eax, word [rdx + 0x12b132b]
mov dword [rdx + 0x12cc320], eax
movsx eax, byte [rdx + 0x12b132d]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rdx + 0x70], xmm0
movsx eax, byte [rdx + 0x12b132e]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd qword [rdx + 0x78], xmm1
movzx eax, byte [rdx + 0x12b132f]
mov dword [rdx + 0x14366b8], eax
movzx eax, word [rdx + 0x12b1330]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x88], xmm0
movzx eax, word [rdx + 0x12b1332]
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0x12b1334]
mov dword [rdx + 0x5c], eax
movzx eax, byte [rdx + 0x12b1335]
mov dword [rdx + 0x58], eax
movzx eax, byte [rdx + 0x12b1336]
mov dword [rdx + 0x12cc3b4], eax
movzx eax, byte [rdx + 0x12b1337]
mov dword [rdx + 0x1436718], eax
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
mov rdx, qword [0x140042fb8]
call fcn.14000b3b0
or dword [rdx + 0xbb0b44], 8
xor ebx, ebx
test byte [rdx + 0xbb0b44], 8
je 0x14000e0f6
test dword [rdx + 0xbb0b48], 0x100000
jne 0x14000e0f6
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [0x140042fb8]
inc ebx
cmp ebx, 0xbb8
jl 0x14000e0c5
mov dword [rdx + 0x12cc3b8], 0
call fcn.14000e1a0
mov rcx, qword [0x140042fb8]
mov dword [rcx + 0x1436764], eax
or dword [rcx + 0xbb0b44], 0x40
xor ebx, ebx
nop dword [rax + rax]
test byte [rcx + 0xbb0b44], 0x40
je 0x14000e153
test dword [rcx + 0xbb0b48], 0x100000
jne 0x14000e153
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xbb8
jge 0x14000e153
mov rcx, qword [0x140042fb8]
jmp 0x14000e120
call fcn.140009a20
mov rax, qword [0x140042fb8]
cmp dword [rax + 0x12cc388], 2
mov dword [rax + 0x12cc38c], 0
mov dword [rax + 0x143675c], 1
jne 0x14000e181
call fcn.14000b0e0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret