Function at 0x14006eaa0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14067e680]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12d, r9d
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x70], rdx
xor r13d, r13d
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x1c
jb 0x14006f410
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14006eb26
mov rax, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_32
lea r9, str.C:WindowsSystem32drivers_
lea rcx, [rbp - 0x60]
call fcn.1400b6d50
nop
mov rdi, qword [rbp - 0x50]
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
call fcn.14025d464
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14006d510
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x150]
call fcn.14025d6f4
mov edx, eax
test eax, eax
jne 0x14006ebf9
mov ecx, dword [rbp + 0x160]
test cl, 1
mov eax, 0x1ff
mov r8d, 0x16d
cmovne eax, r8d
mov dword [rsp + 0x54], eax
bt ecx, 0xa
jae 0x14006ebeb
mov eax, dword [rbp + 0x164]
cmp eax, 0xa000000c
jne 0x14006ebdd
lea eax, [rdx + 4]
jmp 0x14006ec1d
cmp eax, 0xa0000003
jne 0x14006ebeb
mov eax, 0xa
jmp 0x14006ec1d
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14006ec1d
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x14006ec18
sub eax, 1
je 0x14006ec18
sub eax, 0x32
je 0x14006ec18
cmp eax, 0x46
mov eax, r13d
jne 0x14006ec1d
mov eax, 1
mov dword [rbp - 0x40], edx
lea rcx, [0x14067f408]
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
test eax, eax
je 0x14006ed7e
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14006ec84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ec7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f416
call fcn.14025f000
test bl, bl
je 0x14006ed8d
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rsi], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x20], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14006ecf7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ecf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f404
call fcn.14025f000
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14006ed41
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14006ed3c
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14006f40a
mov rcx, rax
call fcn.14025f000
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r13
mov rax, rsi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14025efe0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov bl, 1
test edx, edx
jne 0x14006f3ee
jmp 0x14006ec42
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call fcn.1402a1120
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.1400af4e0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rbx
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x50], r13
mov word [rsp + 0x58], 1
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x88]
mov qword [rbp - 0x40], rax
test rax, rax
sete byte [rbp - 0x38]
mov byte [rbp - 0x37], 0
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400b5160
nop
mov eax, 0x5a4d
mov rcx, qword [rbp - 0x30]
xorps xmm0, xmm0
cmp word [rcx], ax
je 0x14006efac
movups xmmword [rsi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rsi], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x20], 0
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006eea8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f3e8
call fcn.14025f000
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], rbx
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.1400b02c0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0xf0]
call fcn.14025e2b0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14006ef5a
inc rdx
mov rcx, qword [rbp - 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14006ef55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f404
call fcn.14025f000
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14006ed41
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14006ed3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006f40a
mov rcx, r8
jmp 0x14006ed3c
movsxd r15, dword [rcx + 0x3c]
add r15, rcx
cmp dword [r15], 0x4550
je 0x14006f095
movups xmmword [rsi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rsi], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x20], 0
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f3e8
call fcn.14025f000
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], rbx
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.1400b02c0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0xf0]
call fcn.14025e2b0
nop
jmp 0x14006ef1f
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 5
lea rdx, str..vmp0
lea rcx, [rsp + 0x60]
call fcn.14005c8f0
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.14006e960
mov rax, r12
mov r12, qword [rbp - 0x40]
xorps xmm0, xmm0
cmp rax, r12
jbe 0x14006f1be
movups xmmword [rsi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rsi], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x20], 0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14006f153
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f142
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f3e8
call fcn.14025f000
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], rbx
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.1400b02c0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0xf0]
call fcn.14025e2b0
nop
jmp 0x14006ef1f
movups xmmword [rbp - 0x10], xmm0
movdqa xmm2, xmmword [0x140654230]
movdqa xmmword [rbp], xmm2
mov byte [rbp - 0x10], 0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmm2
movdqa xmmword [rbp + 0x20], xmm2
mov byte [rbp + 0x10], 0
movups xmmword [rbp + 0x30], xmm0
mov rdi, qword [rbp - 0x50]
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
psrldq xmm2, 8
movq rax, xmm2
cmp rdi, rax
ja 0x14006f22e
lea rbx, [rbp - 0x10]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x10]
mov qword [rbp], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.1402a0a80
mov byte [rbx + rdi], 0
jmp 0x14006f23a
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14005cca0
lea rax, [rbp + 0x10]
cmp rax, r14
je 0x14006f28e
mov rdi, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14006f254
mov r9, qword [r14]
mov rax, qword [rbp + 0x28]
cmp rdi, rax
ja 0x14006f282
lea rbx, [rbp + 0x10]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x10]
mov qword [rbp + 0x20], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.1402a0a80
mov byte [rdi + rbx], 0
jmp 0x14006f28e
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14005cca0
movzx ecx, word [r15 + 6]
mov dword [rbp + 0x38], ecx
mov rax, qword [rbp - 0x38]
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], r12d
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movaps xmm1, xmmword [rbp]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x140654230]
movdqa xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [rsi + 0x30], xmm1
movdqa xmm0, xmmword [0x140654230]
movdqa xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov dword [rsi + 0x40], eax
mov dword [rsi + 0x44], r12d
mov dword [rsi + 0x48], ecx
lea rcx, [rbp - 0x10]
call fcn.14006f420
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14006f33c
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f32b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f3e8
call fcn.14025f000
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.1400b02c0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0xf0]
call fcn.14025e2b0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14006ef5a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ef55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f404
jmp 0x14006ef55
call fcn.14026ebe4
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x40]
lea rcx, str.exists
call fcn.14006e010
nop
call fcn.14026ebe4
nop
call fcn.14026ebe4
nop
call fcn.14005b760
nop
call fcn.14026ebe4
int3