Function at 0x140014fa0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rcx, qword [0x140108b40]
lea rdx, [0x140047e98]
xor esi, esi
mov dword [rcx + 0x4174788], esi
add rcx, 0xbb0ee0
call fcn.140029210
mov rdi, rax
test rax, rax
je 0x140015c1e
mov rbx, qword [0x140108b40]
xor edx, edx
mov r8d, 0x18000
lea rcx, [rbx + 0x12b12e0]
call fcn.14001f1b0
mov r9, rdi
lea r8d, [rsi + 1]
mov edx, 0x80
lea rcx, [rbx + 0x12b12e0]
call fcn.14002a670
mov rcx, rdi
call fcn.140029728
mov r8, qword [0x140108b40]
cmp byte [r8 + 0x12b12e0], 0x42
jne 0x140015c1e
cmp byte [r8 + 0x12b12e1], 0x48
jne 0x140015c1e
cmp byte [r8 + 0x12b12e2], 0x32
jne 0x140015c1e
cmp byte [r8 + 0x12b12e3], 0x2c
jne 0x140015c1e
movsd xmm1, qword [0x140049208]
mov dword [r8 + 0x4174788], 1
movzx ecx, byte [r8 + 0x12b12e4]
mov eax, ecx
and ecx, 1
and eax, 0xfffe
mov dword [r8 + 0x4174700], ecx
mov dword [r8 + 0x41747fc], eax
movzx eax, byte [r8 + 0x12b12e5]
add eax, 0x64
mov dword [r8 + 0x41746e4], eax
movzx eax, byte [r8 + 0x12b12e6]
mov dword [r8 + 0x41746e0], eax
movzx eax, byte [r8 + 0x12b12e7]
mov dword [r8 + 0x41746dc], eax
movzx eax, byte [r8 + 0x12b12e8]
mov dword [r8 + 0x41746d8], eax
movzx eax, byte [r8 + 0x12b12e9]
mov dword [r8 + 0x41746d4], eax
movzx eax, byte [r8 + 0x12b12ea]
mov dword [r8 + 0x41746d0], eax
movzx eax, word [r8 + 0x12b12eb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008a0], xmm0
movzx eax, word [r8 + 0x12b12ed]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008a8], xmm0
movzx eax, word [r8 + 0x12b12ef]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008b0], xmm0
movzx eax, word [r8 + 0x12b12f1]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008b8], xmm0
movzx eax, word [r8 + 0x12b12f3]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008c0], xmm0
movzx eax, word [r8 + 0x12b12f5]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008c8], xmm0
movzx eax, word [r8 + 0x12b12f7]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008d0], xmm0
movzx eax, word [r8 + 0x12b12f9]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008d8], xmm0
movzx eax, word [r8 + 0x12b12fb]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008e0], xmm0
movzx eax, word [r8 + 0x12b12fd]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008e8], xmm0
movzx eax, word [r8 + 0x12b12ff]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008f0], xmm0
movzx eax, word [r8 + 0x12b1301]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6008f8], xmm0
movzx eax, word [r8 + 0x12b1303]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600960], xmm0
movzx eax, word [r8 + 0x12b1305]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600968], xmm0
movzx eax, word [r8 + 0x12b1307]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600970], xmm0
movzx eax, word [r8 + 0x12b1309]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600978], xmm0
movzx eax, word [r8 + 0x12b130b]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600980], xmm0
movzx eax, word [r8 + 0x12b130d]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600988], xmm0
movzx eax, word [r8 + 0x12b130f]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600990], xmm0
movzx eax, word [r8 + 0x12b1311]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x600998], xmm0
movzx eax, word [r8 + 0x12b1313]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6009a0], xmm0
movzx eax, word [r8 + 0x12b1315]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6009a8], xmm0
movzx eax, word [r8 + 0x12b1317]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6009b0], xmm0
movzx eax, word [r8 + 0x12b1319]
sub eax, 0x8000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [r8 + 0x6009b8], xmm0
mov eax, dword [r8 + 0x4174700]
test eax, eax
jne 0x1400158a7
movzx eax, byte [r8 + 0x12b131c]
movzx ecx, byte [r8 + 0x12b131d]
movsd xmm2, qword [0x140049258]
shl ecx, 8
add ecx, eax
movzx eax, byte [r8 + 0x12b131b]
shl ecx, 8
add ecx, eax
cmp dword [r8 + 0x41747fc], 2
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x18], xmm0
movzx eax, word [r8 + 0x12b131e]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x20], xmm0
movzx eax, word [r8 + 0x12b1320]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm2
movsd qword [r8 + 0x41746a8], xmm1
movzx eax, word [r8 + 0x12b1322]
mov dword [r8 + 0x50], eax
movzx eax, byte [r8 + 0x12b1324]
mov dword [r8 + 0x5c], eax
movzx ecx, byte [r8 + 0x12b1325]
lea r9d, [rax + rax]
jl 0x140015730
movsd xmm1, qword [0x1400490b8]
xor edx, edx
movsd xmm3, qword [0x140049140]
mov eax, r9d
movsd xmm4, qword [0x1400490c0]
div ecx
mov dword [r8 + 0x60], ecx
mov edx, 0xa
inc eax
mov ecx, esi
sub edx, dword [r8 + 0x12ca320]
mov dword [r8 + 0x58], eax
mov eax, esi
movsx r9d, byte [r8 + 0x12b1326]
mov dword [r8 + 0x12ca31c], r9d
nop dword [rax + rax]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
subsd xmm0, xmm3
subsd xmm0, xmm4
cmp eax, r9d
je 0x140015552
inc eax
add ecx, edx
cmp eax, 5
jl 0x140015530
cvttsd2si eax, xmm0
mov dword [r8 + 0x12ca318], eax
movzx ecx, byte [r8 + 0x12b1327]
mov dword [r8 + 0x12ca338], ecx
sub ecx, 1
je 0x1400155e3
sub ecx, 1
je 0x1400155d6
sub ecx, 1
je 0x1400155be
sub ecx, 1
je 0x1400155a6
cmp ecx, 1
je 0x14001558e
mov qword [r8 + 0x12ca30c], rsi
jmp 0x1400155f5
mov dword [r8 + 0x12ca310], 2
mov dword [r8 + 0x12ca30c], 3
jmp 0x1400155f5
mov dword [r8 + 0x12ca310], 2
mov dword [r8 + 0x12ca30c], 2
jmp 0x1400155f5
mov dword [r8 + 0x12ca310], 2
mov dword [r8 + 0x12ca30c], 1
jmp 0x1400155f5
mov dword [r8 + 0x12ca310], 2
jmp 0x1400155ee
mov dword [r8 + 0x12ca310], 1
mov dword [r8 + 0x12ca30c], esi
cmp dword [r8 + 0x12ca364], esi
jne 0x140015623
movsx eax, byte [r8 + 0x12b1328]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [r8 + 0x78], xmm0
movzx eax, word [r8 + 0x12b1329]
mov dword [r8 + 0x12ca308], eax
movzx eax, byte [r8 + 0x12b132b]
lea ecx, [rax + rax*2]
mov dword [r8 + 0x4174750], ecx
movzx eax, word [r8 + 0x12b132c]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x12ca330], xmm0
movzx eax, word [r8 + 0x12b132e]
mov dword [r8 + 0x14], eax
movzx eax, byte [r8 + 0x12b1330]
add eax, eax
mov dword [r8 + 0x10], eax
movzx eax, byte [r8 + 0x12b1332]
movzx ecx, byte [r8 + 0x12b1333]
shl ecx, 8
add ecx, eax
movzx eax, byte [r8 + 0x12b1331]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 8], xmm0
movzx eax, byte [r8 + 0x12b1335]
movzx ecx, byte [r8 + 0x12b1336]
shl ecx, 8
add ecx, eax
movzx eax, byte [r8 + 0x12b1334]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x12ca300], xmm0
movzx eax, byte [r8 + 0x12b1337]
mov dword [r8 + 0x417468c], eax
movzx eax, word [r8 + 0x12b1338]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x88], xmm0
movzx eax, byte [r8 + 0x12b133a]
mov dword [r8 + 0x12ca39c], eax
movzx eax, byte [r8 + 0x12b133b]
mov dword [r8 + 0x41746f8], eax
call fcn.140011980
jmp 0x140015a67
mov dword [r8 + 0x58], ecx
lea eax, [rcx - 1]
cdq
idiv r9d
mov dword [r8 + 0x60], eax
movsx eax, byte [r8 + 0x12b1326]
mov dword [r8 + 0x12ca318], eax
movzx eax, byte [r8 + 0x12b1327]
mov dword [r8 + 0x12ca310], eax
movzx eax, byte [r8 + 0x12b1328]
mov dword [r8 + 0x12ca30c], eax
cmp dword [r8 + 0x12ca364], esi
jne 0x14001579a
movsx eax, byte [r8 + 0x12b1329]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [r8 + 0x78], xmm0
movzx eax, word [r8 + 0x12b132a]
mov dword [r8 + 0x12ca308], eax
movzx eax, byte [r8 + 0x12b132c]
lea ecx, [rax + rax*2]
mov dword [r8 + 0x4174750], ecx
movzx eax, word [r8 + 0x12b132d]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x12ca330], xmm0
movzx eax, word [r8 + 0x12b132f]
mov dword [r8 + 0x14], eax
movzx eax, byte [r8 + 0x12b1331]
add eax, eax
mov dword [r8 + 0x10], eax
movzx eax, byte [r8 + 0x12b1333]
movzx ecx, byte [r8 + 0x12b1334]
shl ecx, 8
add ecx, eax
movzx eax, byte [r8 + 0x12b1332]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 8], xmm0
movzx eax, byte [r8 + 0x12b1336]
movzx ecx, byte [r8 + 0x12b1337]
shl ecx, 8
add ecx, eax
movzx eax, byte [r8 + 0x12b1335]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x12ca300], xmm0
movzx eax, byte [r8 + 0x12b1338]
mov dword [r8 + 0x417468c], eax
movzx eax, word [r8 + 0x12b1339]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x88], xmm0
movzx eax, byte [r8 + 0x12b133b]
mov dword [r8 + 0x12ca39c], eax
movzx eax, byte [r8 + 0x12b133c]
mov dword [r8 + 0x41746f8], eax
call fcn.140011980
jmp 0x140015a67
cmp eax, 1
jne 0x140015a6e
movzx eax, word [r8 + 0x12b131b]
movsd xmm2, qword [0x140049258]
add eax, 0x11170
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x12ca330], xmm0
movzx eax, word [r8 + 0x12b131d]
mov dword [r8 + 0x14], eax
movzx eax, byte [r8 + 0x12b1320]
movzx ecx, byte [r8 + 0x12b1321]
shl ecx, 8
add ecx, eax
movzx eax, byte [r8 + 0x12b131f]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 8], xmm0
movzx eax, byte [r8 + 0x12b1322]
add eax, eax
mov dword [r8 + 0x10], eax
movzx eax, word [r8 + 0x12b1323]
mov dword [r8], eax
cmp eax, 0x100
ja 0x140015944
cmp dword [r8 + 0x50], 0x100
jle 0x140015948
mov dword [r8 + 0x50], eax
movzx eax, word [r8 + 0x12b1326]
mov dword [r8 + 0x4174750], eax
movsx eax, byte [r8 + 0x12b1328]
mov dword [r8 + 0x12ca318], eax
movzx eax, byte [r8 + 0x12b1329]
mov dword [r8 + 0x12ca310], eax
movzx eax, byte [r8 + 0x12b132a]
mov dword [r8 + 0x12ca30c], eax
cmp dword [r8 + 0x12ca364], esi
jne 0x1400159c8
movzx eax, word [r8 + 0x12b132b]
mov dword [r8 + 0x12ca308], eax
movsx eax, byte [r8 + 0x12b132d]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [r8 + 0x70], xmm0
movsx eax, byte [r8 + 0x12b132e]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd qword [r8 + 0x78], xmm1
cmp dword [r8 + 0x41747fc], 2
movzx eax, byte [r8 + 0x12b132f]
mov dword [r8 + 0x417468c], eax
movzx eax, word [r8 + 0x12b1330]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movsd qword [r8 + 0x88], xmm0
movzx eax, word [r8 + 0x12b1332]
mov dword [r8 + 0x50], eax
movzx eax, byte [r8 + 0x12b1334]
mov dword [r8 + 0x5c], eax
movzx ecx, byte [r8 + 0x12b1335]
lea r9d, [rax + rax]
jl 0x140015a35
xor edx, edx
mov dword [r8 + 0x60], ecx
mov eax, r9d
div ecx
inc eax
mov dword [r8 + 0x58], eax
jmp 0x140015a44
lea eax, [rcx - 1]
mov dword [r8 + 0x58], ecx
cdq
idiv r9d
mov dword [r8 + 0x60], eax
movzx eax, byte [r8 + 0x12b1336]
mov dword [r8 + 0x12ca39c], eax
movzx eax, byte [r8 + 0x12b1337]
mov dword [r8 + 0x41746f8], eax
call fcn.140002a30
mov r8, qword [0x140108b40]
call fcn.1400125d0
or dword [r8 + 0xbb0b44], 8
mov ebx, esi
nop dword [rax]
test byte [r8 + 0xbb0b44], 8
je 0x140015ab3
test dword [r8 + 0xbb0b48], 0x80000
jne 0x140015ab3
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [0x140108b40]
inc ebx
cmp ebx, 0xbb8
jl 0x140015a80
mov dword [r8 + 0x12ca3a0], esi
call fcn.140015c50
mov rcx, qword [0x140108b40]
mov ebx, esi
mov dword [rcx + 0x4174784], eax
or dword [rcx + 0xbb0b44], 0x80
nop dword [rax + rax]
test byte [rcx + 0xbb0b44], 0x80
je 0x140015b13
test dword [rcx + 0xbb0b48], 0x80000
jne 0x140015b13
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xbb8
jge 0x140015b13
mov rcx, qword [0x140108b40]
jmp 0x140015ae0
call fcn.140010880
mov rcx, qword [0x140108b40]
cmp dword [rcx + 0x12ca370], 2
mov dword [rcx + 0x12ca374], esi
mov dword [rcx + 0x417477c], 1
jne 0x140015b44
call fcn.1400122b0
mov rcx, qword [0x140108b40]
cmp dword [rcx + 0x12ca370], 1
jne 0x140015c1a
cmp dword [rcx + 0x41746f8], 1
jne 0x140015c1a
add rcx, 0xbb0ce0
lea rdx, [0x14004800c]
call fcn.140029210
mov rbx, rax
test rax, rax
je 0x140015c1a
mov rcx, qword [0x140108b40]
mov eax, dword [rcx + 0x4174700]
test eax, eax
jne 0x140015bcb
lea rdx, [rsp + 0x20]
call fcn.140013120
mov rcx, qword [0x140108b40]
lea r9, [rsp + 0x20]
lea rdx, str.PPI__d__s_n
movzx r8d, word [rcx + 0x4174700]
mov rcx, rbx
or r8d, 2
call fcn.140001140
mov rcx, rbx
call fcn.140029728
xor eax, eax
jmp 0x140015c23
movzx r8d, ax
lea rdx, str.PPI__d_
or r8d, 2
mov rcx, rbx
call fcn.140001140
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x100
call fcn.14001f1b0
lea rdx, [rsp + 0x20]
call fcn.140010950
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [0x140047dc4]
call fcn.140001140
mov rcx, rbx
call fcn.140029728
xor eax, eax
jmp 0x140015c23
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14001d8e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret