Function at 0x14007fed0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3c0
movaps xmmword [rax - 0x48], xmm6
mov r12, r8
movaps xmmword [rax - 0x58], xmm7
mov r13, rdx
lea rax, [rdx + 0x18]
mov r15, rcx
cmp rax, r8
jge 0x140080dc9
movsd xmm7, qword [0x14014a3a8]
mov ebx, 1
movss xmm6, dword [0x14012f29c]
mov rcx, qword [r15 + 0x70]
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
xor esi, esi
mov r14, r13
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
lea r8d, [rsi + 0x18]
mov dword [rbp + 0x318], esi
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140080dc9
cmp dword [rbp + 0x318], 0x18
jne 0x140080dc9
mov rcx, qword [rbp - 0x58]
add r14, 0x18
lea rax, [rcx + 7]
and rax, 0xfffffffffffffff8
lea rdi, [rcx - 0x18]
mov rcx, qword [rbp - 0x68]
add r13, rax
cmp rcx, qword [0x140149550]
mov rax, qword [rbp - 0x60]
jne 0x14008000c
cmp rax, qword [0x140149558]
jne 0x14008000c
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
lea r8d, [rsi + 0x10]
mov dword [rbp + 0x318], esi
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rax, qword [rbp - 0x10]
cmp rax, qword [str.wave]
jne 0x140080dc9
mov rax, qword [rbp - 8]
cmp rax, qword [0x140149568]
jne 0x140080dc9
lea rdx, [r14 + 0x10]
mov r8, r13
mov rcx, r15
call fcn.14007fed0
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140080dcb
jmp 0x140080dbc
cmp rcx, qword [0x140149570]
jne 0x1400807b6
cmp rax, qword [0x140149578]
jne 0x1400807b6
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, recv
mov dword [rbp + 0x318], esi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx edx, word [rsp + 0x50]
movzx eax, word [rsp + 0x52]
mov dword [r15 + 0x20], eax
mov eax, dword [rsp + 0x54]
mov dword [r15 + 0x28], eax
movzx eax, word [rsp + 0x5c]
mov dword [r15 + 0x2cc], eax
mov eax, edx
mov word [r15 + 0x2c8], dx
cmp edx, 0xfffe
ja case.0x1400800b1.4
je 0x140080592
dec eax
cmp eax, 0x63
ja case.0x1400800b1.4
lea rdi, [0x140000000]
cdqe
movzx eax, byte [rdi + rax + 0x80e34]
mov ecx, dword [rdi + rax*4 + 0x80e08]
add rcx, rdi
jmp rcx
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 2
mov dword [rbp + 0x318], esi
lea rdx, [rbp + 0x308]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [rbp + 0x308]
cmp ax, 0x20
ja 0x140080df7
lea rcx, [r15 + 0x58]
mov r9, 0xffffffffffffffff
lea edx, [r9 + 3]
cmp ax, 0x18
jbe 0x14008011b
lea r8, [0x14012f1e8]
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
cmp ax, 0x14
jbe 0x14008013a
lea r8, [0x14012f1d8]
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
cmp ax, 0x10
jbe 0x140080159
lea r8, [0x140130040]
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
cmp ax, 0xc
jbe 0x140080178
lea r8, [0x14012f1c8]
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
cmp ax, 8
jbe 0x140080197
lea r8, [0x140130030]
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
lea r8, [0x14012f1f8]
call fcn.140025fb0
mov rcx, r15
mov byte [r15 + 0x2c2], bl
call fcn.140023ca0
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 2
mov dword [rbp + 0x318], esi
lea rdx, [rbp + 0x308]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [rbp + 0x308]
cmp ax, 0x20
ja 0x1400801f6
lea r8, [0x14012f260]
jmp 0x140080207
cmp ax, 0x40
ja 0x140080df7
lea r8, [0x14012f270]
lea rcx, [r15 + 0x58]
mov edx, 2
mov r9, 0xffffffffffffffff
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
lea r8, [0x14012f280]
mov r9, 0xffffffffffffffff
lea rcx, [r15 + 0x58]
lea edx, [r9 + 3]
call fcn.140025fb0
mov rcx, r15
call fcn.140023ca0
jmp 0x140080dbc
lea r8, [0x14012f288]
jmp 0x140080230
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 0x24
mov dword [rbp + 0x318], esi
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [rbp - 0x50], 4
jne 0x140080df7
mov r9, 0xffffffffffffffff
lea rcx, [r15 + 0x58]
lea r8, str.MS_ADCPM_4_bit
lea edx, [r9 + 3]
call fcn.140025fb0
movzx eax, word [rbp - 0x4c]
lea rcx, [r15 + 0x316]
mov dword [r15 + 0x5a0], eax
lea rdx, [rbp - 0x48]
add eax, 0x20
mov dword [r15 + 0x2ac], 4
mov dword [r15 + 0x2c], eax
movzx eax, word [rbp - 0x4a]
mov r8d, eax
mov word [r15 + 0x314], ax
shl r8, 2
call fcn.1400b9e30
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 6
mov dword [rbp + 0x318], esi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx ecx, word [rsp + 0x40]
sub ecx, 2
je 0x14008033a
sub ecx, ebx
je 0x140080331
cmp ecx, ebx
jne 0x140080df7
lea r8, [0x14013f6a0]
jmp 0x140080341
lea r8, str.IMA_ADPCM_3_bit
jmp 0x140080341
lea r8, str.IMA_ADPCM_2_bit
lea rcx, [r15 + 0x58]
mov edx, 2
mov r9, 0xffffffffffffffff
call fcn.140025fb0
movzx eax, word [rsp + 0x40]
mov dword [r15 + 0x2ac], eax
movzx eax, word [rsp + 0x44]
mov dword [r15 + 0x5a0], eax
add eax, 0x20
mov dword [r15 + 0x2c], eax
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
cmp edx, 0x64
mov dword [rbp + 0x318], esi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
jne 0x1400803ad
mov r8d, recv
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov word [rsp + 0x32], si
jmp 0x1400803b9
mov r8d, 6
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx ecx, word [rsp + 0x30]
sub ecx, 3
je 0x1400803e1
sub ecx, ebx
je 0x1400803d8
cmp ecx, ebx
jne 0x140080df7
lea r8, [0x1401409b0]
jmp 0x1400803e8
lea r8, [0x140140998]
jmp 0x1400803e8
lea r8, [0x140140980]
lea rcx, [r15 + 0x58]
mov edx, 2
mov r9, 0xffffffffffffffff
call fcn.140025fb0
cmp word [rsp + 0x32], 2
movzx ecx, word [rsp + 0x30]
mov dword [r15 + 0x2ac], ecx
jb 0x14008041d
movzx eax, word [rsp + 0x34]
mov qword [r15 + 0x2d8], rax
call fcn.140024550
mov dword [r15 + 0x5a0], eax
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 6
mov dword [rbp + 0x318], esi
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [rsp + 0x52], bx
jne 0x140080df0
mov r9, 0xffffffffffffffff
lea rcx, [r15 + 0x58]
lea r8, [0x14013f6e0]
lea edx, [r9 + 3]
call fcn.140025fb0
movzx eax, word [rbp - 0x7c]
mov dword [r15 + 0x5a0], eax
add eax, 0x20
mov dword [r15 + 0x2c], eax
mov dword [r15 + 0x2ac], 2
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 0x1a
mov dword [rbp + 0x318], esi
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [rbp - 0x46]
test al, 8
je 0x1400804d2
test al, 7
jne 0x140080df7
movzx ecx, word [rbp - 0x4c]
sub ecx, ebx
je 0x1400804fe
sub ecx, ebx
je 0x1400804f5
cmp ecx, 2
je 0x1400804ec
lea r8, [0x140140d90]
jmp 0x140080505
lea r8, [0x14012f208]
jmp 0x140080505
lea r8, [0x14012f220]
jmp 0x140080505
lea r8, [0x14012f238]
mov edx, 2
lea rcx, [r15 + 0x58]
mov r9, 0xffffffffffffffff
call fcn.140025fb0
mov dword [r15 + 0x320], esi
mov dword [r15 + 0x2ac], ebx
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, reloc.WSOCK32.dll_recv
mov dword [rbp + 0x318], esi
lea rdx, [rbp]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [rbp + 0xe]
lea rcx, [r15 + 0x58]
mov r9, 0xffffffffffffffff
mov dword [r15 + 0x320], eax
lea r8, [0x14012f208]
lea edx, [r9 + 3]
call fcn.140025fb0
mov eax, 0x50
mov dword [r15 + 0x2ac], ebx
mov word [r15 + 0x2c8], ax
jmp 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 0x1a
mov dword [rbp + 0x318], esi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x6a]
cmp rcx, qword [0x140149530]
mov rax, qword [rsp + 0x72]
jne 0x1400806c7
cmp rax, qword [0x140149538]
jne 0x1400806c7
movzx eax, word [rsp + 0x60]
cmp ax, 0x20
ja 0x140080df7
lea rcx, [r15 + 0x58]
cmp ax, 0x18
jbe 0x140080630
movzx eax, word [rsp + 0x64]
cmp ax, 0x18
jbe 0x14008060d
lea r8, [0x14012f1e8]
jmp 0x14008068e
cmp ax, 0x14
jbe 0x14008061c
lea r8, [0x140130050]
jmp 0x14008068e
cmp ax, 0x10
lea r8, [0x140130060]
lea rax, [0x14012f1e8]
jmp 0x14008068a
cmp ax, 0x10
jbe 0x14008065e
movzx eax, word [rsp + 0x64]
cmp ax, 0x14
jbe 0x14008064a
lea r8, [0x14012f1d8]
jmp 0x14008068e
cmp ax, 0x10
lea r8, [0x140130040]
lea rax, [0x14012f1d8]
jmp 0x14008068a
cmp ax, 8
jbe 0x1400806a4
movzx eax, word [rsp + 0x64]
cmp ax, 0xc
jbe 0x140080678
lea r8, [0x14012f1c8]
jmp 0x14008068e
cmp ax, 8
lea r8, [0x140130030]
lea rax, [0x14012f1c8]
cmovbe r8, rax
mov edx, 2
mov r9, 0xffffffffffffffff
call fcn.140025fb0
movzx eax, bx
jmp 0x140080720
mov r9, 0xffffffffffffffff
lea r8, [0x14012f1f8]
lea edx, [r9 + 3]
call fcn.140025fb0
movzx eax, bx
mov byte [r15 + 0x2c2], bl
jmp 0x140080720
cmp rcx, qword [0x140149540]
jne 0x140080dfe
cmp rax, qword [0x140149548]
jne 0x140080dfe
movzx eax, word [rsp + 0x60]
cmp ax, 0x20
ja 0x1400806f5
lea r8, [0x14012f260]
jmp 0x140080706
cmp ax, 0x40
ja 0x140080df7
lea r8, [0x14012f270]
lea rcx, [r15 + 0x58]
mov edx, 2
mov r9, 0xffffffffffffffff
call fcn.140025fb0
mov eax, 3
mov rcx, r15
mov word [r15 + 0x2c8], ax
call fcn.140023ca0
mov eax, dword [rsp + 0x66]
mov dword [r15 + 0x24], eax
jmp 0x140080dbc
cmp qword [rbp - 0x58], 0x54
ja 0x140080dfe
mov rcx, qword [r15 + 0x70]
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r8d, dword [rbp - 0x58]
lea r9, [rbp + 0x318]
mov rcx, qword [r15 + 0x70]
lea rdx, [r15 + 0x318]
mov dword [rbp + 0x318], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [r15 + 0x318]
call fcn.14002bfb0
test al, al
je 0x140080dfe
mov r9, 0xffffffffffffffff
lea rcx, [r15 + 0x58]
lea r8, str.Windows_ACM
lea edx, [r9 + 3]
call fcn.140025fb0
jmp 0x140080dbc
cmp rcx, qword [0x140149580]
jne 0x14008080c
cmp rax, qword [0x140149588]
jne 0x14008080c
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 8
mov dword [rbp + 0x318], esi
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400807fb
mov qword [r15 + 0x18], rax
cmp r13, r12
jle 0x140080dbc
mov r13d, r13d
jmp 0x140080dbc
cmp rcx, qword [0x140149590]
jne 0x1400808e2
cmp rax, qword [0x140149598]
jne 0x1400808e2
mov qword [r15 + 0x290], r14
test rdi, rdi
jne 0x140080851
mov rcx, qword [r15 + 0x70]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
mov rdi, rsi
cmovne rdi, qword [rbp - 0x70]
sub rdi, qword [r15 + 0x290]
cmp qword [r15 + 0x18], 0
jne 0x1400808d6
mov ecx, dword [r15 + 0x20]
mov rax, rdi
movzx r8d, word [r15 + 0x2c8]
cqo
idiv rcx
cmp r8w, bx
jne 0x140080896
mov r8d, dword [r15 + 0x2ac]
cqo
add r8d, 7
mov qword [r15 + 0x2d0], rdi
shr r8, 3
idiv r8
mov qword [r15 + 0x18], rax
jmp 0x140080dbc
cmp r8w, 0x31
jne 0x1400808be
xorps xmm0, xmm0
mov qword [r15 + 0x2d0], rdi
cvtsi2sd xmm0, rax
mulsd xmm0, xmm7
cvttsd2si rax, xmm0
mov qword [r15 + 0x18], rax
jmp 0x140080dbc
mov ecx, dword [r15 + 0x2ac]
lea rax, [rax*8]
cqo
idiv rcx
mov qword [r15 + 0x18], rax
mov qword [r15 + 0x2d0], rdi
jmp 0x140080dbc
cmp rcx, qword [0x1401495b0]
jne 0x140080b3e
cmp rax, qword [0x1401495b8]
jne 0x140080b3e
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 0x25a
mov dword [rbp + 0x318], esi
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [rbp + 0x40], 0
je 0x140080940
mov r9d, 0x100
lea r8, [rbp + 0x40]
mov edx, recv
lea rcx, [r15 + 0x58]
call fcn.140025fb0
cmp byte [rbp + 0x140], 0
je 0x140080963
mov r9d, 0x20
lea r8, [rbp + 0x140]
lea rcx, [r15 + 0x58]
lea edx, [r9 - 0x17]
call fcn.140025fb0
cmp byte [rbp + 0x160], 0
je 0x140080986
mov r9d, 0x20
lea r8, [rbp + 0x160]
lea rcx, [r15 + 0x58]
lea edx, [r9 - 9]
call fcn.140025fb0
cmp byte [rbp + 0x180], 0
je 0x140080a33
mov r8d, 0xa
lea rdx, [rbp + 0x180]
lea rcx, [rbp - 0x50]
call fcn.1400f4c50
movzx ecx, byte [rbp - 0x50]
lea rax, [rbp - 0x50]
mov byte [rbp - 0x46], 0
test cl, cl
je 0x1400809d3
nop dword [rax]
cmp cl, 0x3a
jne 0x1400809c8
mov byte [rax], 0x2d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x1400809c0
cmp byte [rbp + 0x18a], 0
je 0x140080a17
lea rcx, [rbp - 0x50]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400809e3
movzx eax, word [0x140149678]
lea rdx, [rbp + 0x18a]
mov word [rcx], ax
mov r8d, 8
movzx eax, byte [0x14014967a]
mov byte [rcx + 2], al
lea rcx, [rbp - 0x50]
call fcn.1400ffdf0
mov rsi, 0xffffffffffffffff
lea r8, [rbp - 0x50]
mov r9d, esi
lea rcx, [r15 + 0x58]
lea edx, [rsi + 0xf]
call fcn.140025fb0
jmp 0x140080a3a
mov rsi, 0xffffffffffffffff
mov ecx, dword [rbp + 0x196]
mov eax, dword [rbp + 0x192]
shl rcx, 0x20
add rcx, rax
cmp word [rbp + 0x19a], 2
mov qword [r15 + 0x2e8], rcx
jb 0x140080dbc
movsx eax, word [rbp + 0x1dc]
cmp ax, 0xffff
jg 0x140080aa7
movd xmm0, eax
lea rdx, str._.2f_LUFS
cvtdq2ps xmm0, xmm0
lea rcx, [rbp + 0x10]
mulss xmm0, xmm6
cvtps2pd xmm2, xmm0
movq r8, xmm2
call fcn.1400100f0
mov r9d, esi
lea r8, [rbp + 0x10]
mov edx, socket
lea rcx, [r15 + 0x58]
call fcn.140025fb0
movsx eax, word [rbp + 0x1de]
mov ecx, 0x7ffe
cmp ax, cx
ja 0x140080af0
movd xmm0, eax
lea rdx, str._.2f_LU
cvtdq2ps xmm0, xmm0
lea rcx, [rbp + 0x20]
mulss xmm0, xmm6
cvtps2pd xmm2, xmm0
movq r8, xmm2
call fcn.1400100f0
mov r9d, esi
lea r8, [rbp + 0x20]
mov edx, socket
lea rcx, [r15 + 0x58]
call fcn.140025fb0
movsx eax, word [rbp + 0x1e0]
cmp ax, 0xffff
jg 0x140080dbc
movd xmm0, eax
lea rdx, [0x14012f1a8]
cvtdq2ps xmm0, xmm0
lea rcx, [rbp + 0x30]
mulss xmm0, xmm6
cvtps2pd xmm2, xmm0
movq r8, xmm2
call fcn.1400100f0
mov r9d, esi
lea r8, [rbp + 0x30]
mov edx, socket
lea rcx, [r15 + 0x58]
call fcn.140025fb0
jmp 0x140080dbc
cmp rcx, qword [0x1401495c0]
jne 0x140080c55
cmp rax, qword [0x1401495c8]
jne 0x140080c55
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 4
mov dword [rbp + 0x318], esi
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r14d, dword [rsp + 0x48]
test r14d, r14d
je 0x140080dbc
mov edi, edi
lea rcx, [rdi - 4]
call fcn.1400b609c
mov rsi, rax
test rax, rax
je 0x140080dc9
mov rcx, qword [r15 + 0x70]
lea r8d, [rdi - 4]
xor eax, eax
lea r9, [rbp + 0x318]
mov rdx, rsi
mov dword [rbp + 0x318], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test r14d, r14d
je 0x140080dbc
nop dword [rax]
nop word [rax + rax]
mov rdi, rsi
dec r14d
add rsi, 0x20
mov rdx, rsi
mov eax, dword [rdi + 0x18]
add rsi, rax
shr eax, 1
cmp eax, 0xff
jbe 0x140080c03
mov eax, 0xff
jmp 0x140080c07
test eax, eax
je 0x140080c1b
mov r9d, eax
lea rcx, [rbp + 0x40]
mov r8d, 0x100
call fcn.140028280
jmp 0x140080c1f
mov byte [rbp + 0x40], 0
mov rdx, qword [rdi + 8]
lea r8, [rbp + 0x40]
mov rcx, r15
call fcn.140026450
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jle 0x140080c4b
mov rdx, qword [rdi + 8]
lea r8, [rbp + 0x40]
add rdx, rcx
mov rcx, r15
call fcn.140026450
test r14d, r14d
jne 0x140080be0
jmp 0x140080dbc
cmp rcx, qword [0x1401495d0]
jne 0x140080dbc
cmp rax, qword [0x1401495d8]
jne 0x140080dbc
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
mov r8d, 4
mov dword [rbp + 0x318], esi
lea rdx, [rbp + 0x310]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rbp + 0x310]
add r14, 4
test eax, eax
je 0x140080db4
nop word [rax + rax]
mov rcx, qword [r15 + 0x70]
lea r9, [rbp + 0x318]
dec eax
mov dword [rbp + 0x318], esi
mov r8d, 8
mov dword [rbp + 0x310], eax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x3c]
add rax, 8
add r14, rax
cmp r14, r13
jg 0x140080dbc
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x4c]
call fcn.14008a080
test al, al
je 0x140080d8d
mov esi, dword [rsp + 0x3c]
mov rcx, 0xffffffffffffffff
shr esi, 1
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.1400b609c
mov rdi, rax
test rax, rax
je 0x140080d8d
mov rcx, qword [r15 + 0x70]
lea r8d, [rsi + rsi]
xor eax, eax
lea r9, [rbp + 0x318]
mov rdx, rdi
mov dword [rbp + 0x318], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test byte [rsp + 0x3c], bl
je 0x140080d70
mov rcx, qword [r15 + 0x70]
mov r9d, ebx
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edx, dword [rsp + 0x4c]
lea rcx, [r15 + 0x58]
mov r9d, esi
mov r8, rdi
call fcn.140026280
mov rcx, rdi
call fcn.1400b60a4
jmp 0x140080da1
mov edx, dword [rsp + 0x3c]
mov r9d, ebx
mov rcx, qword [r15 + 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [rbp + 0x310]
mov esi, 0
test eax, eax
jne 0x140080cb0
dec eax
mov dword [rbp + 0x310], eax
lea rax, [r13 + 0x18]
cmp rax, r12
jl 0x14007ff23
xor eax, eax
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x80040209
jmp 0x140080dcb
mov eax, 0x80040208
jmp 0x140080dcb
mov eax, 0x8004020b
jmp 0x140080dcb