Function at 0x14000db50
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 + 0xe35f38], 0
add rcx, 0x5b06e0
call fcn.140017c34
mov rdi, rax
test rax, rax
je 0x14000e38e
mov rbx, qword [0x140042fb8]
xor edx, edx
mov r8d, 0x18000
lea rcx, [rbx + 0xcb0ae0]
call fcn.140015310
mov edx, 0x80
lea rcx, [rbx + 0xcb0ae0]
mov r9, rdi
lea r8d, [rdx - 0x7f]
call fcn.14001fe1c
mov rcx, rdi
call fcn.1400181b4
mov rdx, qword [0x140042fb8]
cmp byte [rdx + 0xcb0ae0], 0x42
jne 0x14000e38e
cmp byte [rdx + 0xcb0ae1], 0x48
jne 0x14000e38e
cmp byte [rdx + 0xcb0ae2], 0x32
jne 0x14000e38e
cmp byte [rdx + 0xcb0ae3], 0x2c
jne 0x14000e38e
movsd xmm1, qword [0x14003ccb0]
mov dword [rdx + 0xe35f38], 1
movzx eax, byte [rdx + 0xcb0ae4]
mov dword [rdx + 0xe35ef0], eax
movzx eax, byte [rdx + 0xcb0ae5]
add eax, 0x64
mov dword [rdx + 0xe35ed4], eax
movzx eax, byte [rdx + 0xcb0ae6]
mov dword [rdx + 0xe35ed0], eax
movzx eax, byte [rdx + 0xcb0ae7]
mov dword [rdx + 0xe35ecc], eax
movzx eax, byte [rdx + 0xcb0ae8]
mov dword [rdx + 0xe35ec8], eax
movzx eax, byte [rdx + 0xcb0ae9]
mov dword [rdx + 0xe35ec4], eax
movzx eax, byte [rdx + 0xcb0aea]
mov dword [rdx + 0xe35ec0], eax
movzx eax, word [rdx + 0xcb0aeb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xa0], xmm0
movzx eax, word [rdx + 0xcb0aed]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xa8], xmm0
movzx eax, word [rdx + 0xcb0aef]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xb0], xmm0
movzx eax, word [rdx + 0xcb0af1]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xb8], xmm0
movzx eax, word [rdx + 0xcb0af3]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xc0], xmm0
movzx eax, word [rdx + 0xcb0af5]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xc8], xmm0
movzx eax, word [rdx + 0xcb0af7]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xd0], xmm0
movzx eax, word [rdx + 0xcb0af9]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xd8], xmm0
movzx eax, word [rdx + 0xcb0afb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xe0], xmm0
movzx eax, word [rdx + 0xcb0afd]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xe8], xmm0
movzx eax, word [rdx + 0xcb0aff]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xf0], xmm0
movzx eax, word [rdx + 0xcb0b01]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0xf8], xmm0
movzx eax, word [rdx + 0xcb0b03]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x160], xmm0
movzx eax, word [rdx + 0xcb0b05]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x168], xmm0
movzx eax, word [rdx + 0xcb0b07]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x170], xmm0
movzx eax, word [rdx + 0xcb0b09]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x178], xmm0
movzx eax, word [rdx + 0xcb0b0b]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x180], xmm0
movzx eax, word [rdx + 0xcb0b0d]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x188], xmm0
movzx eax, word [rdx + 0xcb0b0f]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x190], xmm0
movzx eax, word [rdx + 0xcb0b11]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x198], xmm0
movzx eax, word [rdx + 0xcb0b13]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1a0], xmm0
movzx eax, word [rdx + 0xcb0b15]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1a8], xmm0
movzx eax, word [rdx + 0xcb0b17]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1b0], xmm0
movzx eax, word [rdx + 0xcb0b19]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1b8], xmm0
mov eax, dword [rdx + 0xe35ef0]
test eax, eax
jne 0x14000e144
movzx eax, byte [rdx + 0xcb0b1c]
movzx ecx, byte [rdx + 0xcb0b1d]
movsd xmm2, qword [0x14003ccc0]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xcb0b1b]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x18], xmm0
movzx eax, word [rdx + 0xcb0b1e]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x20], xmm0
movzx eax, word [rdx + 0xcb0b20]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm2
movsd qword [rdx + 0xe35ea0], xmm1
movzx eax, word [rdx + 0xcb0b22]
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0xcb0b24]
mov dword [rdx + 0x5c], eax
movzx eax, byte [rdx + 0xcb0b25]
mov dword [rdx + 0x58], eax
movsx eax, byte [rdx + 0xcb0b26]
mov dword [rdx + 0xccbb30], eax
movzx eax, byte [rdx + 0xcb0b27]
mov dword [rdx + 0xccbb28], eax
movzx eax, byte [rdx + 0xcb0b28]
mov dword [rdx + 0xccbb24], eax
movsx eax, byte [rdx + 0xcb0b29]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rdx + 0x78], xmm0
movzx eax, word [rdx + 0xcb0b2a]
mov dword [rdx + 0xccbb20], eax
movzx eax, byte [rdx + 0xcb0afc]
lea ecx, [rax + rax*2]
mov dword [rdx + 0xe35f00], ecx
movzx eax, word [rdx + 0xcb0b2d]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0xccbb48], xmm0
movzx eax, word [rdx + 0xcb0b2f]
mov dword [rdx + 0x14], eax
movzx eax, byte [rdx + 0xcb0b31]
add eax, eax
mov dword [rdx + 0x10], eax
movzx eax, byte [rdx + 0xcb0b33]
movzx ecx, byte [rdx + 0xcb0b34]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xcb0b32]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 8], xmm0
movzx eax, byte [rdx + 0xcb0b36]
movzx ecx, byte [rdx + 0xcb0b37]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xcb0b35]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0xccbb18], xmm0
movzx eax, byte [rdx + 0xcb0b38]
mov dword [rdx + 0xe35e88], eax
movzx eax, word [rdx + 0xcb0b39]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x88], xmm0
movzx eax, byte [rdx + 0xcb0b3b]
mov dword [rdx + 0xccbbb4], eax
movzx eax, byte [rdx + 0xcb0b3c]
mov dword [rdx + 0xe35ee8], eax
call fcn.14000ab80
jmp 0x14000e2b0
cmp eax, 1
jne 0x14000e2b7
movzx eax, word [rdx + 0xcb0b1b]
movsd xmm2, qword [0x14003ccc0]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0xccbb48], xmm0
movzx eax, word [rdx + 0xcb0b1d]
mov dword [rdx + 0x14], eax
movzx eax, byte [rdx + 0xcb0b20]
movzx ecx, byte [rdx + 0xcb0b21]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xcb0b1f]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 8], xmm0
movzx eax, byte [rdx + 0xcb0b22]
add eax, eax
mov dword [rdx + 0x10], eax
movzx eax, word [rdx + 0xcb0b23]
mov dword [rdx], eax
cmp eax, 0x100
ja 0x14000e1d4
cmp dword [rdx + 0x50], 0x100
jle 0x14000e1d7
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0xcb0b25]
mov dword [rdx + 0x6c], eax
movzx eax, word [rdx + 0xcb0b26]
mov dword [rdx + 0xe35f00], eax
movsx eax, byte [rdx + 0xcb0b28]
mov dword [rdx + 0xccbb30], eax
movzx eax, byte [rdx + 0xcb0b29]
mov dword [rdx + 0xccbb28], eax
movzx eax, byte [rdx + 0xcb0b2a]
mov dword [rdx + 0xccbb24], eax
movzx eax, word [rdx + 0xcb0b2b]
mov dword [rdx + 0xccbb20], eax
movsx eax, byte [rdx + 0xcb0b2d]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rdx + 0x70], xmm0
movsx eax, byte [rdx + 0xcb0b2e]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd qword [rdx + 0x78], xmm1
movzx eax, byte [rdx + 0xcb0b2f]
mov dword [rdx + 0xe35e88], eax
movzx eax, word [rdx + 0xcb0b30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x88], xmm0
movzx eax, word [rdx + 0xcb0b32]
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0xcb0b34]
mov dword [rdx + 0x5c], eax
movzx eax, byte [rdx + 0xcb0b35]
mov dword [rdx + 0x58], eax
movzx eax, byte [rdx + 0xcb0b36]
mov dword [rdx + 0xccbbb4], eax
movzx eax, byte [rdx + 0xcb0b37]
mov dword [rdx + 0xe35ee8], eax
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
mov rdx, qword [0x140042fb8]
call fcn.14000b5b0
or dword [rdx + 0x5b0344], 8
xor ebx, ebx
test byte [rdx + 0x5b0344], 8
je 0x14000e2f6
test dword [rdx + 0x5b0348], 0x100000
jne 0x14000e2f6
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [0x140042fb8]
inc ebx
cmp ebx, 0xbb8
jl 0x14000e2c5
mov dword [rdx + 0xccbbb8], 0
call fcn.14000e3a0
mov rcx, qword [0x140042fb8]
mov dword [rcx + 0xe35f34], eax
or dword [rcx + 0x5b0344], 0x40
xor ebx, ebx
nop dword [rax + rax]
test byte [rcx + 0x5b0344], 0x40
je 0x14000e353
test dword [rcx + 0x5b0348], 0x100000
jne 0x14000e353
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xbb8
jge 0x14000e353
mov rcx, qword [0x140042fb8]
jmp 0x14000e320
call fcn.140009c20
mov rax, qword [0x140042fb8]
cmp dword [rax + 0xccbb88], 2
mov dword [rax + 0xccbb8c], 0
mov dword [rax + 0xe35f2c], 1
jne 0x14000e381
call fcn.14000b2e0
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