Function at 0x140076b10
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
mov rax, qword [0x1400f3c00]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov r15d, 4
mov rax, qword gs:[0x58]
add r15, qword [rax]
mov eax, dword [r15]
cmp dword [0x1400f7d28], eax
jle 0x140076c56
lea rcx, [0x1400f7d28]
call fcn.1400a9d90
cmp dword [0x1400f7d28], 0xffffffff
jne 0x140076c56
movabs rax, 0x3bb997bdf59484fe
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs r14, 0x5cdb650292ba802e
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs r12, 0x4fc9eecf96cbf791
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2b8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x2b0]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [0x1400f7cd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400f7ce8], xmm1
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140076c20
lea rdx, [rsp + 0x50]
lea rcx, [0x1400f7cd8]
call fcn.140030810
lea rcx, [0x1400c9340]
call fcn.1400aa1e4
nop
lea rcx, [0x1400f7d28]
call fcn.1400a9d30
jmp 0x140076c71
mov rbx, 0xffffffffffffffff
movabs r14, 0x5cdb650292ba802e
movabs r12, 0x4fc9eecf96cbf791
mov eax, dword [r15]
cmp dword [0x1400f7cac], eax
jle 0x140076de9
lea rcx, [0x1400f7cac]
call fcn.1400a9d90
cmp dword [0x1400f7cac], 0xffffffff
jne 0x140076de9
movabs rax, 0x21bc81adc9bb87f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2b0], rax
movabs rax, 0x2ca21761fcdfdf4a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2b8], rax
movabs rax, 0x541b0712c209c057
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2c0], rax
movabs rcx, 0x75f0227c64efdd00
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2d8], rax
movabs rax, 0x546262799d6da523
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2e8], rax
movdqa xmm0, xmmword [rsp + 0x2b0]
pxor xmm0, xmmword [rsp + 0x2d0]
movdqa xmmword [rsp + 0x2b0], xmm0
movdqa xmm1, xmmword [rsp + 0x2c0]
pxor xmm1, xmmword [rsp + 0x2e0]
movdqa xmmword [rsp + 0x2c0], xmm1
xorps xmm0, xmm0
movups xmmword [0x1400f7c88], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400f7c98], xmm1
lea rax, [rsp + 0x2b0]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140076db0
mov r8, rbx
lea rdx, [rsp + 0x2b0]
lea rcx, [0x1400f7c88]
call fcn.140030810
lea rcx, [0x1400c92d0]
call fcn.1400aa1e4
nop
lea rcx, [0x1400f7cac]
call fcn.1400a9d30
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1400f7a20]
lea rax, [0x1400f7a10]
cmp qword [0x1400f7a28], 0x10
cmovae rax, qword [0x1400f7a10]
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], rcx
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x70]
call fcn.140049d10
mov ebx, 2
mov dword [rsp + 0x40], ebx
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x70]
mov rdx, r13
lea rcx, [rsp + 0x270]
call fcn.14002de90
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140076e9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400772de
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbe0]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0xa0]
call fcn.14002eec0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x260], ecx
lea rax, [0x1400f3cd0]
mov qword [rsp + 0x268], rax
movaps xmm0, xmmword [rsp + 0x260]
movdqa xmmword [rsp + 0x260], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14007727e
cmp eax, 1
setne al
test al, al
je 0x140077286
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call fcn.1400abf60
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x140]
call fcn.140083020
nop
cmp qword [rsp + 0x1d0], 0
je 0x140077129
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x308], rsi
lea r8, [rsp + 0x2d0]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x250]
call fcn.1400833d0
nop
lea rdx, [0x1400f7cd8]
lea rcx, [rsp + 0x250]
call fcn.14005a000
test al, al
jne 0x140076fdf
mov byte [rdi + 0x20], al
or ebx, 1
mov dword [rsp + 0x40], ebx
movzx edx, byte [rsp + 0x250]
lea rcx, [rsp + 0x258]
call fcn.140040cb0
nop
lea rcx, [rsp + 0x140]
call fcn.140075eb0
nop
lea rcx, [rsp + 0x270]
call fcn.14002df60
mov rax, rdi
jmp 0x140077251
lea rdx, [0x1400f7cd8]
lea rcx, [rsp + 0x250]
call fcn.140081880
lea rdx, [0x1400f7c88]
mov rcx, rax
call fcn.14005a000
test al, al
jne 0x140077049
mov byte [rdi + 0x20], al
or ebx, 1
mov dword [rsp + 0x40], ebx
movzx edx, byte [rsp + 0x250]
lea rcx, [rsp + 0x258]
call fcn.140040cb0
nop
lea rcx, [rsp + 0x140]
call fcn.140075eb0
nop
lea rcx, [rsp + 0x270]
call fcn.14002df60
mov rax, rdi
jmp 0x140077251
lea rdx, [0x1400f7cd8]
lea rcx, [rsp + 0x250]
call fcn.140081880
lea rdx, [0x1400f7c88]
mov rcx, rax
call fcn.140081880
lea rdx, [rsp + 0x290]
mov rcx, rax
call fcn.14005ae20
nop
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
mov eax, 4
cmp qword [rsp + rcx + 0x188], 0
cmovne eax, esi
mov dword [rsp + rcx + 0x150], eax
test dword [rsp + rcx + 0x154], eax
jne 0x1400772e4
lea rcx, [rsp + 0x140]
call fcn.1400816c0
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.1400400c0
nop
mov byte [rdi + 0x20], 1
or ebx, 1
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x290]
call fcn.14003ffd0
nop
movzx edx, byte [rsp + 0x250]
lea rcx, [rsp + 0x258]
call fcn.140040cb0
nop
lea rcx, [rsp + 0x140]
call fcn.140075eb0
nop
lea rcx, [rsp + 0x270]
call fcn.14002df60
mov rax, rdi
jmp 0x140077251
mov byte [rdi + 0x20], 0
or ebx, 1
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x140], rax
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x13c], edx
lea rcx, [rsp + 0x150]
call fcn.140059db0
nop
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x140], rax
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x13c], edx
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x1f0], rax
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1f0], rax
lea rcx, [rsp + 0x1f0]
call fcn.1400b1e24
nop
mov rdx, qword [rsp + 0x288]
cmp rdx, 8
jb 0x140077235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400772d8
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbe0]
movdqu xmmword [rsp + 0x280], xmm0
mov word [rsp + 0x270], si
mov rax, rdi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400a9be0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test ecx, ecx
jne 0x140077322
mov byte [rdi + 0x20], 0
or ebx, 1
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x288]
cmp rdx, 8
jb 0x140077235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140077230
call fcn.1400892f0
nop
call fcn.1400892f0
nop
mov edx, 1
lea rcx, [rsp + 0xb0]
call fcn.14002c270
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0xc0]
call fcn.14002d3e0
lea rdx, [0x1400f10b0]
lea rcx, [rsp + 0xc0]
call fcn.1400ace54
nop
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x260]
lea rcx, str.exists
call fcn.14002e750
int3