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 + 0x2637f60], 0
add rcx, 0x1db26e0
call fcn.140017b24
mov rdi, rax
test rax, rax
je 0x14000e18e
mov rbx, qword [0x140042fb8]
xor edx, edx
mov r8d, 0x18000
lea rcx, [rbx + 0x24b2ae0]
call fcn.140015200
mov edx, 0x80
lea rcx, [rbx + 0x24b2ae0]
mov r9, rdi
lea r8d, [rdx - 0x7f]
call fcn.14001fd0c
mov rcx, rdi
call fcn.1400180a4
mov rdx, qword [0x140042fb8]
cmp byte [rdx + 0x24b2ae0], 0x42
jne 0x14000e18e
cmp byte [rdx + 0x24b2ae1], 0x48
jne 0x14000e18e
cmp byte [rdx + 0x24b2ae2], 0x32
jne 0x14000e18e
cmp byte [rdx + 0x24b2ae3], 0x2c
jne 0x14000e18e
movsd xmm1, qword [0x14003ccb0]
mov dword [rdx + 0x2637f60], 1
movzx eax, byte [rdx + 0x24b2ae4]
mov dword [rdx + 0x2637f18], eax
movzx eax, byte [rdx + 0x24b2ae5]
add eax, 0x64
mov dword [rdx + 0x2637efc], eax
movzx eax, byte [rdx + 0x24b2ae6]
mov dword [rdx + 0x2637ef8], eax
movzx eax, byte [rdx + 0x24b2ae7]
mov dword [rdx + 0x2637ef4], eax
movzx eax, byte [rdx + 0x24b2ae8]
mov dword [rdx + 0x2637ef0], eax
movzx eax, byte [rdx + 0x24b2ae9]
mov dword [rdx + 0x2637eec], eax
movzx eax, byte [rdx + 0x24b2aea]
mov dword [rdx + 0x2637ee8], eax
movzx eax, word [rdx + 0x24b2aeb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020a0], xmm0
movzx eax, word [rdx + 0x24b2aed]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020a8], xmm0
movzx eax, word [rdx + 0x24b2aef]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020b0], xmm0
movzx eax, word [rdx + 0x24b2af1]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020b8], xmm0
movzx eax, word [rdx + 0x24b2af3]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020c0], xmm0
movzx eax, word [rdx + 0x24b2af5]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020c8], xmm0
movzx eax, word [rdx + 0x24b2af7]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020d0], xmm0
movzx eax, word [rdx + 0x24b2af9]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020d8], xmm0
movzx eax, word [rdx + 0x24b2afb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020e0], xmm0
movzx eax, word [rdx + 0x24b2afd]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020e8], xmm0
movzx eax, word [rdx + 0x24b2aff]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020f0], xmm0
movzx eax, word [rdx + 0x24b2b01]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18020f8], xmm0
movzx eax, word [rdx + 0x24b2b03]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802160], xmm0
movzx eax, word [rdx + 0x24b2b05]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802168], xmm0
movzx eax, word [rdx + 0x24b2b07]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802170], xmm0
movzx eax, word [rdx + 0x24b2b09]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802178], xmm0
movzx eax, word [rdx + 0x24b2b0b]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802180], xmm0
movzx eax, word [rdx + 0x24b2b0d]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802188], xmm0
movzx eax, word [rdx + 0x24b2b0f]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802190], xmm0
movzx eax, word [rdx + 0x24b2b11]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x1802198], xmm0
movzx eax, word [rdx + 0x24b2b13]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18021a0], xmm0
movzx eax, word [rdx + 0x24b2b15]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18021a8], xmm0
movzx eax, word [rdx + 0x24b2b17]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18021b0], xmm0
movzx eax, word [rdx + 0x24b2b19]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [rdx + 0x18021b8], xmm0
mov eax, dword [rdx + 0x2637f18]
test eax, eax
jne 0x14000df44
movzx eax, byte [rdx + 0x24b2b1c]
movzx ecx, byte [rdx + 0x24b2b1d]
movsd xmm2, qword [0x14003ccc0]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x24b2b1b]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x18], xmm0
movzx eax, word [rdx + 0x24b2b1e]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x20], xmm0
movzx eax, word [rdx + 0x24b2b20]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm2
movsd qword [rdx + 0x2637ec8], xmm1
movzx eax, word [rdx + 0x24b2b22]
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0x24b2b24]
mov dword [rdx + 0x5c], eax
movzx eax, byte [rdx + 0x24b2b25]
mov dword [rdx + 0x58], eax
movsx eax, byte [rdx + 0x24b2b26]
mov dword [rdx + 0x24cdb30], eax
movzx eax, byte [rdx + 0x24b2b27]
mov dword [rdx + 0x24cdb28], eax
movzx eax, byte [rdx + 0x24b2b28]
mov dword [rdx + 0x24cdb24], eax
movsx eax, byte [rdx + 0x24b2b29]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rdx + 0x78], xmm0
movzx eax, word [rdx + 0x24b2b2a]
mov dword [rdx + 0x24cdb20], eax
movzx eax, byte [rdx + 0x24b2afc]
lea ecx, [rax + rax*2]
mov dword [rdx + 0x2637f28], ecx
movzx eax, word [rdx + 0x24b2b2d]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x24cdb48], xmm0
movzx eax, word [rdx + 0x24b2b2f]
mov dword [rdx + 0x14], eax
movzx eax, byte [rdx + 0x24b2b31]
add eax, eax
mov dword [rdx + 0x10], eax
movzx eax, byte [rdx + 0x24b2b33]
movzx ecx, byte [rdx + 0x24b2b34]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x24b2b32]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 8], xmm0
movzx eax, byte [rdx + 0x24b2b36]
movzx ecx, byte [rdx + 0x24b2b37]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x24b2b35]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x24cdb18], xmm0
movzx eax, byte [rdx + 0x24b2b38]
mov dword [rdx + 0x2637eb0], eax
movzx eax, word [rdx + 0x24b2b39]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x88], xmm0
movzx eax, byte [rdx + 0x24b2b3b]
mov dword [rdx + 0x24cdbb4], eax
movzx eax, byte [rdx + 0x24b2b3c]
mov dword [rdx + 0x2637f10], eax
call fcn.14000a980
jmp 0x14000e0b0
cmp eax, 1
jne 0x14000e0b7
movzx eax, word [rdx + 0x24b2b1b]
movsd xmm2, qword [0x14003ccc0]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x24cdb48], xmm0
movzx eax, word [rdx + 0x24b2b1d]
mov dword [rdx + 0x14], eax
movzx eax, byte [rdx + 0x24b2b20]
movzx ecx, byte [rdx + 0x24b2b21]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x24b2b1f]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 8], xmm0
movzx eax, byte [rdx + 0x24b2b22]
add eax, eax
mov dword [rdx + 0x10], eax
movzx eax, word [rdx + 0x24b2b23]
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 + 0x24b2b25]
mov dword [rdx + 0x6c], eax
movzx eax, word [rdx + 0x24b2b26]
mov dword [rdx + 0x2637f28], eax
movsx eax, byte [rdx + 0x24b2b28]
mov dword [rdx + 0x24cdb30], eax
movzx eax, byte [rdx + 0x24b2b29]
mov dword [rdx + 0x24cdb28], eax
movzx eax, byte [rdx + 0x24b2b2a]
mov dword [rdx + 0x24cdb24], eax
movzx eax, word [rdx + 0x24b2b2b]
mov dword [rdx + 0x24cdb20], eax
movsx eax, byte [rdx + 0x24b2b2d]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rdx + 0x70], xmm0
movsx eax, byte [rdx + 0x24b2b2e]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd qword [rdx + 0x78], xmm1
movzx eax, byte [rdx + 0x24b2b2f]
mov dword [rdx + 0x2637eb0], eax
movzx eax, word [rdx + 0x24b2b30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [rdx + 0x88], xmm0
movzx eax, word [rdx + 0x24b2b32]
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0x24b2b34]
mov dword [rdx + 0x5c], eax
movzx eax, byte [rdx + 0x24b2b35]
mov dword [rdx + 0x58], eax
movzx eax, byte [rdx + 0x24b2b36]
mov dword [rdx + 0x24cdbb4], eax
movzx eax, byte [rdx + 0x24b2b37]
mov dword [rdx + 0x2637f10], eax
call qword [sym.imp.mr12e.dll_CalcMeterPerBin]
mov rdx, qword [0x140042fb8]
call fcn.14000b3b0
or dword [rdx + 0x1db2344], 8
xor ebx, ebx
test byte [rdx + 0x1db2344], 8
je 0x14000e0f6
test dword [rdx + 0x1db2348], 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 + 0x24cdbb8], 0
call fcn.14000e1a0
mov rcx, qword [0x140042fb8]
mov dword [rcx + 0x2637f5c], eax
or dword [rcx + 0x1db2344], 0x40
xor ebx, ebx
nop dword [rax + rax]
test byte [rcx + 0x1db2344], 0x40
je 0x14000e153
test dword [rcx + 0x1db2348], 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 + 0x24cdb88], 2
mov dword [rax + 0x24cdb8c], 0
mov dword [rax + 0x2637f54], 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