Function at 0x140012f00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140103ad0]
lea rdx, [0x140043b90]
mov dword [rcx + 0x1436738], 0
add rcx, 0xbb0ee0
call fcn.1400254a0
mov rdi, rax
test rax, rax
je 0x14001373e
mov rbx, qword [0x140103ad0]
xor edx, edx
mov r8d, 0x18000
lea rcx, [rbx + 0x12b12e0]
call fcn.14001b440
mov edx, 0x80
lea rcx, [rbx + 0x12b12e0]
mov r9, rdi
lea r8d, [rdx - 0x7f]
call fcn.140026900
mov rcx, rdi
call fcn.1400259b8
mov rdx, qword [0x140103ad0]
cmp byte [rdx + 0x12b12e0], 0x42
jne 0x14001373e
cmp byte [rdx + 0x12b12e1], 0x48
jne 0x14001373e
cmp byte [rdx + 0x12b12e2], 0x32
jne 0x14001373e
cmp byte [rdx + 0x12b12e3], 0x2c
jne 0x14001373e
movsd xmm1, qword [0x140044fd0]
mov dword [rdx + 0x1436738], 1
movzx eax, byte [rdx + 0x12b12e4]
mov dword [rdx + 0x14366f0], eax
movzx eax, byte [rdx + 0x12b12e5]
add eax, 0x64
mov dword [rdx + 0x14366d4], eax
movzx eax, byte [rdx + 0x12b12e6]
mov dword [rdx + 0x14366d0], eax
movzx eax, byte [rdx + 0x12b12e7]
mov dword [rdx + 0x14366cc], eax
movzx eax, byte [rdx + 0x12b12e8]
mov dword [rdx + 0x14366c8], eax
movzx eax, byte [rdx + 0x12b12e9]
mov dword [rdx + 0x14366c4], eax
movzx eax, byte [rdx + 0x12b12ea]
mov dword [rdx + 0x14366c0], 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 + 0x14366f0]
test eax, eax
jne 0x1400134f4
movzx eax, byte [rdx + 0x12b131c]
movzx ecx, byte [rdx + 0x12b131d]
movsd xmm2, qword [0x140045000]
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 + 0x14366a0], 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 + 0x1436700], 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 + 0x1436688], 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 + 0x14366e8], eax
call fcn.14000fe40
jmp 0x14001365f
cmp eax, 1
jne 0x140013666
movzx eax, word [rdx + 0x12b131b]
movsd xmm2, qword [0x140045000]
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 0x140013584
cmp dword [rdx + 0x50], 0x100
jle 0x140013587
mov dword [rdx + 0x50], eax
movzx eax, byte [rdx + 0x12b1325]
mov dword [rdx + 0x6c], eax
movzx eax, word [rdx + 0x12b1326]
mov dword [rdx + 0x1436700], 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 + 0x1436688], 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 + 0x14366e8], eax
call fcn.140002840
mov rdx, qword [0x140103ad0]
call fcn.140010860
or dword [rdx + 0xbb0b44], 8
xor ebx, ebx
test byte [rdx + 0xbb0b44], 8
je 0x1400136a5
test dword [rdx + 0xbb0b48], 0x100000
jne 0x1400136a5
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [0x140103ad0]
inc ebx
cmp ebx, 0xbb8
jl 0x140013674
mov dword [rdx + 0x12cc3b8], 0
call fcn.140013750
mov rcx, qword [0x140103ad0]
mov dword [rcx + 0x1436734], eax
or dword [rcx + 0xbb0b44], 0x40
xor ebx, ebx
nop word [rax + rax]
test byte [rcx + 0xbb0b44], 0x40
je 0x140013703
test dword [rcx + 0xbb0b48], 0x100000
jne 0x140013703
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xbb8
jge 0x140013703
mov rcx, qword [0x140103ad0]
jmp 0x1400136d0
call fcn.14000eee0
mov rax, qword [0x140103ad0]
cmp dword [rax + 0x12cc388], 2
mov dword [rax + 0x12cc38c], 0
mov dword [rax + 0x143672c], 1
jne 0x140013731
call fcn.140010590
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