Function at 0x140084660
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, 0x370
mov rax, qword [0x140104bf0]
xor rax, rsp
mov qword [rsp + 0x360], 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 [0x14010c518], eax
jle 0x1400847a6
lea rcx, [0x14010c518]
call fcn.1400b4d10
cmp dword [0x14010c518], 0xffffffff
jne 0x1400847a6
movabs rax, 0x4a9bfa2f2213f46a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs r14, 0xc44b3470e0239562
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs r12, 0x3eeb835d414c8705
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x308], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x300]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [0x14010c4c8], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x14010c4d8], xmm1
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140084770
lea rdx, [rsp + 0x50]
lea rcx, [0x14010c4c8]
call fcn.140031d20
lea rcx, [0x1400d6ea0]
call fcn.1400b5164
nop
lea rcx, [0x14010c518]
call fcn.1400b4cb0
jmp 0x1400847c1
mov rbx, 0xffffffffffffffff
movabs r14, 0xc44b3470e0239562
movabs r12, 0x3eeb835d414c8705
mov eax, dword [r15]
cmp dword [0x14010c49c], eax
jle 0x140084939
lea rcx, [0x14010c49c]
call fcn.1400b4d10
cmp dword [0x14010c49c], 0xffffffff
jne 0x140084939
movabs rax, 0x509eec3f1e3cf764
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x300], rax
movabs rax, 0xb43246138e46ca06
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x308], rax
movabs rax, 0x3579d41c40ef6ff3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x310], rax
movabs rcx, 0xd899b58ad137eabc
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x318], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x328], rax
movabs rax, 0x3500b1771f8b0a87
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x338], rax
movdqa xmm0, xmmword [rsp + 0x300]
pxor xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x300], xmm0
movdqa xmm1, xmmword [rsp + 0x310]
pxor xmm1, xmmword [rsp + 0x330]
movdqa xmmword [rsp + 0x310], xmm1
xorps xmm0, xmm0
movups xmmword [0x14010c478], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x14010c488], xmm1
lea rax, [rsp + 0x300]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140084900
mov r8, rbx
lea rdx, [rsp + 0x300]
lea rcx, [0x14010c478]
call fcn.140031d20
lea rcx, [0x1400d6e30]
call fcn.1400b5164
nop
lea rcx, [0x14010c49c]
call fcn.1400b4cb0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rcx, qword [0x14010c290]
lea rax, [0x14010c280]
cmp qword [0x14010c298], 0x10
cmovae rax, qword [0x14010c280]
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x2b8], rcx
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x70]
call fcn.14004de60
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 + 0x2c0]
call fcn.14002f320
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x1400849ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400849e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084eb4
call fcn.1400b4b80
movdqa xmm0, xmmword [0x1400eb4c0]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0xb0]
call fcn.1400303b0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x2b0], ecx
lea rax, [0x140104d10]
mov qword [rsp + 0x2b8], rax
movaps xmm0, xmmword [rsp + 0x2b0]
movdqa xmmword [rsp + 0x2b0], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140084e54
cmp eax, 1
setne al
test al, al
je 0x140084e5c
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x190]
call fcn.1400b7530
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x190]
call fcn.140091010
nop
cmp qword [rsp + 0x220], 0
je 0x140084cff
lea rax, [rsp + 0x320]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x358], rsi
lea r8, [rsp + 0x320]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x2a0]
call fcn.1400913c0
nop
lea rdx, [0x14010c4c8]
lea rcx, [rsp + 0x2a0]
call fcn.1400646a0
test al, al
jne 0x140084b72
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
mov eax, 4
cmp qword [rsp + rcx + 0x1d8], 0
cmovne eax, esi
mov dword [rsp + rcx + 0x1a0], eax
test dword [rsp + rcx + 0x1a4], eax
jne 0x140084eba
lea rcx, [rsp + 0x190]
call fcn.140090d70
mov byte [rdi + 0x20], 0
or ebx, 1
mov dword [rsp + 0x40], ebx
movzx edx, byte [rsp + 0x2a0]
lea rcx, [rsp + 0x2a8]
call fcn.140042e00
nop
lea rcx, [rsp + 0x190]
call fcn.1400527f0
nop
lea rcx, [rsp + 0x2c0]
call fcn.14002f3f0
mov rax, rdi
jmp 0x140084e27
lea rdx, [0x14010c4c8]
lea rcx, [rsp + 0x2a0]
call fcn.140090f30
lea rdx, [0x14010c478]
mov rcx, rax
call fcn.1400646a0
test al, al
jne 0x140084c1f
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
mov eax, 4
cmp qword [rsp + rcx + 0x1d8], 0
cmovne eax, esi
mov dword [rsp + rcx + 0x1a0], eax
test dword [rsp + rcx + 0x1a4], eax
jne 0x140084ef7
lea rcx, [rsp + 0x190]
call fcn.140090d70
mov byte [rdi + 0x20], 0
or ebx, 1
mov dword [rsp + 0x40], ebx
movzx edx, byte [rsp + 0x2a0]
lea rcx, [rsp + 0x2a8]
call fcn.140042e00
nop
lea rcx, [rsp + 0x190]
call fcn.1400527f0
nop
lea rcx, [rsp + 0x2c0]
call fcn.14002f3f0
mov rax, rdi
jmp 0x140084e27
lea rdx, [0x14010c4c8]
lea rcx, [rsp + 0x2a0]
call fcn.140090f30
lea rdx, [0x14010c478]
mov rcx, rax
call fcn.140090f30
lea rdx, [rsp + 0x2e0]
mov rcx, rax
call fcn.140065010
nop
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
mov eax, 4
cmp qword [rsp + rcx + 0x1d8], 0
cmovne eax, esi
mov dword [rsp + rcx + 0x1a0], eax
test dword [rsp + rcx + 0x1a4], eax
jne 0x140084f35
lea rcx, [rsp + 0x190]
call fcn.140090d70
lea rdx, [rsp + 0x2e0]
mov rcx, rdi
call fcn.140041a80
nop
mov byte [rdi + 0x20], 1
or ebx, 1
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x2e0]
call fcn.140041990
nop
movzx edx, byte [rsp + 0x2a0]
lea rcx, [rsp + 0x2a8]
call fcn.140042e00
nop
lea rcx, [rsp + 0x190]
call fcn.1400527f0
nop
lea rcx, [rsp + 0x2c0]
call fcn.14002f3f0
mov rax, rdi
jmp 0x140084e27
mov byte [rdi + 0x20], 0
or ebx, 1
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x240]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x190], rax
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x18c], edx
lea rcx, [rsp + 0x1a0]
call fcn.140053610
nop
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x190], rax
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x18c], edx
lea rax, [rsp + 0x240]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x240], rax
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x240]
call fcn.1400bcd14
nop
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 8
jb 0x140084e0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084eae
call fcn.1400b4b80
movdqa xmm0, xmmword [0x1400eb4c0]
movdqu xmmword [rsp + 0x2d0], xmm0
mov word [rsp + 0x2c0], si
mov rax, rdi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1400b4b60
lea r11, [rsp + 0x370]
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 0x140084f73
mov byte [rdi + 0x20], 0
or ebx, 1
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 8
jb 0x140084e0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084e06
call fcn.140098678
nop
call fcn.140098678
nop
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.14002d660
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0xc0]
call fcn.14002e870
lea rdx, [0x1401018a0]
lea rcx, [rsp + 0xc0]
call fcn.1400b7d44
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.14002d660
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0xe8]
call fcn.14002e870
lea rdx, [0x1401018a0]
lea rcx, [rsp + 0xe8]
call fcn.1400b7d44
nop
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.14002d660
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0x110]
call fcn.14002e870
lea rdx, [0x1401018a0]
lea rcx, [rsp + 0x110]
call fcn.1400b7d44
nop
lea r8, [rsp + 0x2c0]
lea rdx, [rsp + 0x2b0]
lea rcx, str.exists
call fcn.14002fbe0
int3