Function at 0x14004f420
Capabilities:
Capture screenshot
Delete file
Encode data using xor
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400d3440]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
xor edi, edi
mov dword [rsp + 0x5c], edi
mov eax, dword [0x1400c09c8]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1400c09cc]
mov byte [rsp + 0x50], 0x2e
xor byte [rsp + 0x51], 0x37
xor byte [rsp + 0x52], 0x38
xor byte [rsp + 0x53], 0x39
xor al, 0x3a
mov byte [rsp + 0x54], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x14004f4b0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14003c910
nop
movups xmm0, xmmword [0x1400c0b68]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1400c0b78]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400c0b80]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x1400c0b84]
mov byte [rbp - 0x74], al
mov ecx, edi
mov ebx, dword [0x1400d3488]
cmp ebx, 2
jl 0x14004f64a
movdqa xmm5, xmmword [0x1400c1950]
movdqa xmm4, xmmword [0x1400c1a60]
movdqa xmm6, xmmword [0x1400c19c0]
movdqa xmm0, xmmword [0x1400c1a20]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x70]
mov r8d, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c1a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c1a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14004f540
cmp ecx, 0x1d
jge 0x14004f68e
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1d
jl 0x14004f660
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004f6b0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.14003c910
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x48]
movzx edx, byte [rsp + 0x58]
lea rcx, [rbp + 8]
call fcn.14003e330
mov eax, 2
mov dword [rsp + 0x5c], eax
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14004f724
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f71e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400500e1
call fcn.1400730d8
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14004f75f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f75a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050155
call fcn.1400730d8
mov eax, dword [0x1400c0914]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1400c0918]
mov byte [rsp + 0x50], 0x2e
xor byte [rsp + 0x51], 0x37
xor byte [rsp + 0x52], 0x38
xor byte [rsp + 0x53], 0x39
xor al, 0x3a
mov byte [rsp + 0x54], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004f7a5
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.14003c910
nop
movups xmm0, xmmword [0x1400c0b68]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1400c0b78]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400c0b80]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x1400c0b84]
mov byte [rbp - 0x74], al
mov r8d, edi
cmp ebx, 2
jl 0x14004f93d
movdqa xmm5, xmmword [0x1400c1950]
movdqa xmm4, xmmword [0x1400c1a60]
movdqa xmm6, xmmword [0x1400c19c0]
movdqa xmm0, xmmword [0x1400c1a20]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x70]
mov edx, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c1a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c1a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14004f830
cmp r8d, 0x1d
jge 0x14004f983
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x14004f950
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14004f9a0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14003c910
nop
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x58]
lea rcx, [rbp - 0x18]
call fcn.14003e330
mov dword [rsp + 0x5c], 6
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14004fa13
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fa0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400500e7
call fcn.1400730d8
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14004fa4e
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fa49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400500ed
call fcn.1400730d8
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
lea rdx, [rbp + 0x98]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r15d, dword [rbp + 0xa0]
sub r15d, dword [rbp + 0x98]
mov r13d, dword [rbp + 0xa4]
sub r13d, dword [rbp + 0x9c]
mov eax, r13d
imul eax, r15d
lea eax, [rax*4 + 0x39]
mov dword [rsp + 0x50], eax
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x60], rax
lea r14, [rax + 0xe]
mov word [rax], 0x4d42
mov dword [rax + 2], 0xe
mov dword [rax + 0xa], 0x36
mov dword [r14], 0x28
mov qword [r14 + 0xc], 0x180001
mov dword [r14 + 8], r13d
mov dword [r14 + 4], r15d
lea rdi, [rax + 0x36]
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov r8d, r13d
mov edx, r15d
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0x40cc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r13d
mov r9d, r15d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9d, r13d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov r14d, 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, r14d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea ecx, [r15 + 4]
call fcn.140072d8c
mov qword [rsp + 0x20], r15
mov r9, rax
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
lea r12, vtable.ATL::CImage.0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov word [rbp + 0x58], r15w
mov qword [rbp + 0x5c], 0xffffffffffffffff
mov qword [rbp + 0x68], r15
mov dword [rbp + 0x70], r15d
mov qword [rbp + 0x78], r15
call fcn.14003d8b0
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 8]
mov r8, qword [rbp + 0x18]
cmp qword [rbp + 0x20], 0xf
jbe 0x14004fc52
mov rdx, qword [rbp + 8]
add r8, rdx
jmp 0x14004fc59
add r8, rcx
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.140051910
cmp qword [rax + 0x18], 7
jbe 0x14004fc6c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14004b8b0
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14004fcb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fcb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400500f3
call fcn.1400730d8
lea rcx, [rbp - 0x18]
mov r8, qword [rbp - 8]
cmp qword [rbp], 0xf
jbe 0x14004fcd0
mov rdx, qword [rbp - 0x18]
add r8, rdx
jmp 0x14004fcd7
add r8, rcx
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x70]
call fcn.140051910
cmp qword [rax + 0x18], 7
jbe 0x14004fcea
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14004c1f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14004fd36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400500f9
call fcn.1400730d8
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call fcn.1400a29e0
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
mov r8d, 0x21
lea rcx, [rbp + 0xb0]
call fcn.140046c40
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rbx
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x60], r15
mov word [rsp + 0x68], 1
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xf8]
mov qword [rsp + 0x60], rax
test rax, rax
sete byte [rsp + 0x68]
mov byte [rsp + 0x69], 0
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140047e30
nop
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
sub r8, rdx
mov rsi, qword [rbp - 0x28]
mov rcx, rsi
call fcn.14003ab50
mov dword [rsp + 0x5c], 7
lea rcx, [rbp + 0xc0]
call fcn.140046b40
test rax, rax
jne 0x14004fe7e
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0xf8], 0
mov eax, 6
cmovne eax, r14d
or eax, dword [rbp + rcx + 0xc0]
and eax, 0x17
mov dword [rbp + rcx + 0xc0], eax
and eax, dword [rbp + rcx + 0xc4]
jne 0x1400500ff
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
call fcn.140083318
test eax, eax
je 0x14004fea9
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rcx, qword [rbp - 0x18]
call fcn.140083318
test eax, eax
je 0x14004fed5
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14004ff27
mov rdx, qword [rbp + 0x90]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ff10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005014f
call fcn.1400730d8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], rbx
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.140045ab0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0xac], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x160]
call fcn.140071eec
nop
mov qword [rbp + 0x30], r12
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14004ffd9
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x5c], 0xffffffffffffffff
mov word [rbp + 0x58], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.14003d8b0
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x140050016
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140050009
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r15
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14005005c
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050155
call fcn.1400730d8
mov qword [rbp - 8], r15
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1400500a3
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005009e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400500db
call fcn.1400730d8
mov rax, rsi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140072ac0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400824dc
nop
call fcn.1400824dc
nop
call fcn.1400824dc
nop
call fcn.1400824dc
nop
call fcn.1400824dc
int3
call fcn.1400824dc
nop
test al, 4
je 0x14005010c
lea rbx, str.ios_base::badbit_set
jmp 0x140050120
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003e5d0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14003ef50
lea rdx, [0x1400d10b0]
lea rcx, [rbp - 0x70]
call fcn.1400750b4
nop
call fcn.1400824dc
nop
call fcn.1400824dc
int3