Function at 0x1400700a0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x350
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140151740]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov dword [rsp + 0x68], r9d
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x30], 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 [rsi + 0x18]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x1c
jb 0x140070783
lea r15, [rsi + 8]
mov rax, r15
cmp qword [rsi + 0x20], 0xf
jbe 0x140070138
mov rax, qword [r15]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1c
lea r9, str.C:WindowsSystem32drivers_
mov r8, rsi
movzx edx, byte [rbp + 0x38]
lea rcx, [rbp + 0x60]
call fcn.14005d5e0
nop
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140059e40
nop
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0xf0]
call fcn.14007fef0
mov edx, eax
test eax, eax
jne 0x1400701dc
mov ecx, dword [rbp + 0x100]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x1400701d1
mov eax, dword [rbp + 0x104]
cmp eax, 0xa000000c
jne 0x1400701c3
mov ecx, 4
jmp 0x1400701ff
cmp eax, 0xa0000003
jne 0x1400701d1
mov ecx, 0xa
jmp 0x1400701ff
shr ecx, 4
and ecx, 1
or ecx, 2
jmp 0x1400701ff
mov dword [rbp - 0xc], 0xffff
sub eax, 2
je 0x1400701fa
sub eax, 1
je 0x1400701fa
sub eax, 0x32
je 0x1400701fa
cmp eax, 0x46
mov ecx, r13d
jne 0x1400701ff
mov ecx, 1
mov dword [rbp - 0x30], edx
lea rax, [0x140151528]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp], xmm0
test ecx, ecx
je 0x1400702c2
cmp ecx, 1
sete r14b
lea rcx, [rbp - 0x60]
call fcn.1400685e0
mov rcx, qword [rbp - 0x60]
mov qword [rbp - 0x60], r13
mov edx, 0x10
call fcn.140014e60
test r14b, r14b
je 0x1400702d2
xorps xmm0, xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi], r13
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], r13
mov ecx, 0x10
call fcn.140081840
mov qword [rax + 8], r13
mov qword [rdi], rax
mov qword [rax], rdi
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], 0xf
mov byte [rdi + 8], 0
lea rbx, [rdi + 0x28]
mov qword [rbx], r13
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], r13
mov ecx, 0x10
call fcn.140081840
mov qword [rax + 8], r13
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
jmp 0x140070718
mov r14b, 1
test edx, edx
jne 0x140070789
jmp 0x140070225
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x110]
call fcn.1400ffc80
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rcx, [rbp + 0x110]
call fcn.14005cfb0
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp - 0x70], r13
mov word [rbp - 0x68], 1
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x158]
mov qword [rbp - 0x80], rax
test rax, rax
sete byte [rbp - 0x78]
mov byte [rbp - 0x77], 0
movdqu xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movaps xmm7, xmmword [rbp - 0x80]
movaps xmm6, xmmword [rbp - 0x70]
lea rax, [rbp + 0x38]
mov qword [rbp - 0x18], rax
mov ecx, 0x10
call fcn.140081840
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], r13
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x70], rax
movdqa xmmword [rbp + 0x10], xmm6
movdqa xmmword [rbp + 0x20], xmm7
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.140059a90
nop
mov r14d, 0x5a4d
mov rax, qword [rbp + 0x48]
xorps xmm0, xmm0
cmp word [rax], r14w
je 0x14007044d
movups xmmword [rdi + 0x50], xmm0
mov rcx, rdi
call fcn.14005d700
lea rcx, [rdi + 0x28]
call fcn.14005d700
nop
lea rcx, [rbp + 0x40]
call fcn.140015fd0
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140070436
mov rdx, qword [rbp + 0x58]
sub rdx, rcx
call fcn.140014e60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r13
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x40], r13
mov edx, 0x10
call fcn.140014e60
jmp 0x14007070b
movsxd r12, dword [rax + 0x3c]
add r12, rax
cmp dword [r12], 0x4550
je 0x14007049a
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi], r13
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], r13
mov ecx, 0x10
call fcn.140081840
mov qword [rax + 8], r13
mov qword [rdi], rax
mov qword [rax], rdi
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], 0xf
mov byte [rdi + 8], 0
jmp 0x140070402
mov qword [rsp + 0x40], r13
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400704b5
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140014d70
mov rax, qword [rbp + 0x48]
cmp word [rax], r14w
jne 0x140070564
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140070564
movzx r11d, word [rcx + 6]
movzx r13d, word [rcx + 0x14]
add r13, rcx
xor eax, eax
movzx r9d, ax
cmp ax, r11w
jae 0x140070561
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
nop dword [rax]
lea r8, [rsp + 0x48]
cmp rbx, 0xf
cmova r8, r14
movzx eax, r9w
lea rcx, [rax + rax*4]
lea r10, [rcx*8]
lea rax, [r13 + 0x18]
add rax, r10
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140070553
inc rax
test ecx, ecx
jne 0x140070540
test edx, edx
je 0x1400705d0
inc r9w
cmp r9w, r11w
jb 0x140070510
xor r13d, r13d
mov rbx, r13
mov r14, r13
lea rcx, [rsp + 0x40]
call fcn.140068500
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r13
mov edx, 0x10
call fcn.140014e60
mov eax, dword [rsp + 0x68]
cmp rax, rbx
jbe 0x1400705e9
xorps xmm0, xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi], r13
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], r13
mov ecx, 0x10
call fcn.140081840
mov qword [rax + 8], r13
mov qword [rdi], rax
mov qword [rax], rdi
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], 0xf
mov byte [rdi + 8], 0
jmp 0x140070402
mov ebx, dword [r10 + r13 + 0x20]
mov r14d, dword [r10 + r13 + 0x24]
lea rcx, [rsp + 0x40]
call fcn.140068500
xor r13d, r13d
jmp 0x140070574
mov qword [rbp + 0x90], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], r13
mov ecx, 0x10
call fcn.140081840
mov qword [rax + 8], r13
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
mov qword [rax], rcx
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
lea rcx, [rbp + 0xb8]
call fcn.14005d700
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x78]
lea rcx, [rbp + 0x90]
call fcn.140068f70
lea rax, [rbp + 0xb8]
cmp rax, rsi
je 0x1400706a1
cmp qword [rsi + 0x20], 0xf
jbe 0x14007068e
mov r15, qword [r15]
mov r8, qword [rsi + 0x18]
mov rdx, r15
lea rcx, [rbp + 0xb8]
call fcn.140068f70
movzx eax, word [r12 + 6]
mov dword [rbp + 0xe8], eax
mov dword [rbp + 0xe0], r14d
mov dword [rbp + 0xe4], ebx
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.14005d400
lea rcx, [rdi + 0x28]
lea rdx, [rbp + 0xb8]
call fcn.14005d400
mov eax, dword [rbp + 0xe0]
mov dword [rdi + 0x50], eax
mov eax, dword [rbp + 0xe4]
mov dword [rdi + 0x54], eax
mov eax, dword [rbp + 0xe8]
mov dword [rdi + 0x58], eax
lea rcx, [rbp + 0x90]
call fcn.14005eb20
nop
lea rcx, [rbp + 0x40]
call fcn.14005e810
nop
lea rcx, [rbp + 0x110]
call fcn.14005feb0
nop
lea rcx, [rbp + 0x60]
call fcn.140068500
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x60], r13
mov edx, 0x10
call fcn.140014e60
nop
mov rcx, rsi
call fcn.140068500
mov rcx, qword [rsi]
mov qword [rsi], r13
mov edx, 0x10
call fcn.140014e60
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140081ae0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140016130
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp]
lea rcx, str.exists
call fcn.140068390
int3