Function at 0x140040660
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x278]
sub rsp, 0x370
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400ef0c0]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor r14d, r14d
mov esi, r14d
mov dword [rbp - 0x28], r14d
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x14004138d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x140]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400406f0
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140042e80
nop
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.eclipse_prefire.json
lea rcx, [rsp + 0x40]
call fcn.14004b7a0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140040793
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004078d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004078d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bfe80
nop
mov byte [rbp - 0x18], 0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.14004b320
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c01e8
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
mov qword [rbp], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, [0x1401bda18]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140040810
mov rcx, rbx
call fcn.140042e80
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 7
lea rdx, str.Prefire
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c01e8
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, [0x14018cd48]
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x1400408f4
mov rcx, rbx
call fcn.140042e80
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 4
lea rdx, str.Wall
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx ebx, byte [0x1402630ac]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 4
mov byte [rbp - 0x28], bl
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, listen
lea rdx, str.PrefireMacro
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movss xmm6, dword [0x1402634a4]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 7
cvtps2pd xmm0, xmm6
movsd qword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 8
lea rdx, str.Treshold
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c01e8
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, str.NONE
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x140040b24
mov rcx, rbx
call fcn.140042e80
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 6
lea rdx, str.Stairs
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c01e8
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, [0x14013bfb8]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140040c10
mov rcx, rbx
call fcn.140042e80
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 5
lea rdx, str.Floor
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c01e8
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, [0x1401886b8]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140040cf1
mov r8, rdi
mov rcx, rbx
call fcn.140042e80
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 4
lea rdx, str.Roof
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movsxd rbx, dword [0x1402630e4]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 5
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, listen
lea rdx, str.SelectedItem
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
lea rax, [rbp - 0x50]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x68], rax
movsxd rbx, dword [0x1402630dc]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14004c6c0
mov byte [rsp + 0x60], 5
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x78], 0
xor eax, eax
mov qword [rbp - 0x80], rax
movsxd rbx, dword [0x1402630c4]
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14004c6c0
mov byte [rsp + 0x78], 5
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x70], 0
xor eax, eax
mov qword [rbp - 0x68], rax
movsxd rbx, dword [0x1402630d0]
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.14004c6c0
mov byte [rbp - 0x70], 5
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140049700
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 8
lea rdx, str.GreenRGB
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rbx]
mov byte [rax], cl
mov byte [rbx], dl
lea rcx, [rbx + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rbx]
call fcn.14004c6c0
nop
lea r9, [fcn.1400413c0]
mov edx, Ordinal_27
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.1400c0258
lea rax, [rsp + 0x40]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x68], rax
movsxd rbx, dword [0x1402630ec]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14004c6c0
mov byte [rsp + 0x60], 5
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x78], 0
xor eax, eax
mov qword [rbp - 0x80], rax
movsxd rbx, dword [0x1402630d8]
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14004c6c0
mov byte [rsp + 0x78], 5
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x70], 0
xor eax, eax
mov qword [rbp - 0x68], rax
movsxd rbx, dword [0x1402630e0]
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.14004c6c0
mov byte [rbp - 0x70], 5
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.140049700
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov r8d, 9
lea rdx, str.OrangeRGB
lea rcx, [rbp - 0x50]
call fcn.140042e80
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rbx]
mov byte [rax], cl
mov byte [rbx], dl
lea rcx, [rbx + 8]
mov r10, qword [rax + 8]
mov r11, qword [rcx]
mov qword [rax + 8], r11
mov qword [rcx], r10
movzx edx, byte [rbx]
call fcn.14004c6c0
nop
lea r9, [fcn.1400413c0]
mov edx, Ordinal_27
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.1400c0258
lea rax, [rsp + 0x30]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movss xmm6, dword [0x140263498]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
mov byte [rsp + 0x30], 7
cvtps2pd xmm0, xmm6
movsd qword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.PostBuildDelay
lea rcx, [rsp + 0x40]
call fcn.140042e80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400491c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004c6c0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rbx, qword [rbp + 8]
lea rax, [0x1400dba58]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 2
mov dword [rbp - 0x28], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x38], rax
mov byte [rbp + 0xb4], 0
mov byte [rbp + 0xa9], 0
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xb8], r14
mov rax, qword [0x140263508]
mov qword [rbp + 0xac], rax
mov qword [rbp + 0xa0], r14
mov r9d, 0x40
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.14004c4e0
test rax, rax
jne 0x14004123e
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
cmp qword [rbp + 0xb8], 0
je 0x140041301
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.140049510
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140041288
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140053fd0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400412d5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400412d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400412d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bfe80
lea rcx, [rbp + 0x38]
call fcn.14004b080
test rax, rax
jne 0x140041301
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.140048ec0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp - 0x18]
lea rcx, [rbp - 0x10]
call fcn.14004c6c0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14004138d
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041388
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041388
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bfe80
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400bfbc0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret