Function at 0x140012a20
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 - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400a3c40]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r15d, r9d
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x80], rdx
lea rcx, str.user32.dll
call qword [0x1400750c8]
lea rcx, str.win32u.dll
call qword [0x1400750c8]
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140008b30
nop
mov rdi, qword [rbp - 0x60]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rbx, qword [rbp - 0x70]
call fcn.14005a8d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140011420
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x140]
call fcn.14005ab60
mov edx, eax
xor r12d, r12d
test eax, eax
jne 0x140012b24
mov ecx, dword [rbp + 0x150]
bt ecx, 0xa
jae 0x140012b19
mov eax, dword [rbp + 0x154]
cmp eax, 0xa000000c
jne 0x140012b0b
lea ecx, [rdx + 4]
jmp 0x140012b40
cmp eax, 0xa0000003
jne 0x140012b19
mov ecx, 0xa
jmp 0x140012b40
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140012b40
sub eax, 2
je 0x140012b3b
sub eax, 1
je 0x140012b3b
sub eax, 0x32
je 0x140012b3b
cmp eax, 0x46
mov ecx, r12d
jne 0x140012b40
mov ecx, 1
mov dword [rsp + 0x40], edx
lea rax, [0x1409fa640]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x30], xmm0
test ecx, ecx
je 0x140012ca1
cmp ecx, 1
sete bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140012baa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012ba5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400133ab
call fcn.14005bc54
test bl, bl
je 0x140012cb0
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], send
mov byte [rsi + 0x20], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140012c1a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001339f
call fcn.14005bc54
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140012c64
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012c5f
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400133a5
mov rcx, rax
call fcn.14005bc54
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], send
mov byte [r14], 0
mov rax, rsi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14005b700
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov bl, 1
test edx, edx
jne 0x140013390
jmp 0x140012b68
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call fcn.14005dd80
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8d, 0x20
lea rcx, [rbp + 0x30]
call fcn.140015c70
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], r13
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x40], r12
mov word [rsp + 0x48], 1
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x78]
mov qword [rsp + 0x60], rax
test rax, rax
sete byte [rsp + 0x68]
mov byte [rsp + 0x69], 0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x50]
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400187f0
test al, al
jne 0x140012e55
nop dword [rax]
mov rbx, qword [rsp + 0x40]
cmp byte [rsp + 0x48], 0
jne 0x140012dc7
test rbx, rbx
je 0x140012dbf
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x140012dab
mov rax, qword [rbx + 0x50]
cmp dword [rax], 0
jle 0x140012dab
movzx eax, byte [rcx]
jmp 0x140012db4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
cmp eax, 0xffffffff
je 0x140012dbf
mov byte [rsp + 0x49], al
jmp 0x140012dcc
mov rbx, r12
mov qword [rsp + 0x40], rbx
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x30], al
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x140012de2
mov byte [rdx], al
inc qword [rbp - 0x48]
jmp 0x140012df0
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400188c0
test rbx, rbx
je 0x140012e35
mov rax, qword [rbx + 0x38]
cmp qword [rax], 0
je 0x140012e20
mov rcx, qword [rbx + 0x50]
mov eax, dword [rcx]
test eax, eax
jle 0x140012e20
dec eax
mov dword [rcx], eax
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
movzx eax, byte [rdx]
jmp 0x140012e29
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140012e35
mov byte [rsp + 0x48], 0
jmp 0x140012e3f
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400187f0
test al, al
je 0x140012d80
mov eax, 0x5a4d
mov rcx, qword [rbp - 0x50]
cmp word [rcx], ax
je 0x140012fc4
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], send
mov byte [rsi + 0x20], 0
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012ec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001338a
call fcn.14005bc54
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], r13
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14000ea50
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x2c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0xe0]
call fcn.14005a1c4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140012f72
inc rdx
mov rcx, qword [rbp - 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140012f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001339f
call fcn.14005bc54
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140012c64
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012c5f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400133a5
mov rcx, r8
jmp 0x140012c5f
movsxd rbx, dword [rcx + 0x3c]
add rbx, rcx
cmp dword [rbx], 0x4550
je 0x1400130ac
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], send
mov byte [rsi + 0x20], 0
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013030
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001338a
call fcn.14005bc54
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], r13
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14000ea50
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x2c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0xe0]
call fcn.14005a1c4
nop
jmp 0x140012f37
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], send
mov r8d, 5
lea rdx, [0x140091afc]
lea rcx, [rsp + 0x40]
call fcn.140003650
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400128e0
mov rdi, qword [rbp - 0x30]
cmp r15, rdi
jbe 0x1400131d3
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], send
mov byte [rsi + 0x20], 0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140013168
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001338a
call fcn.14005bc54
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], r13
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14000ea50
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x2c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0xe0]
call fcn.14005a1c4
nop
jmp 0x140012f37
mov qword [rbp - 0x20], r12
movdqa xmm0, xmmword [0x1400926d0]
movdqa xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov qword [rbp], r12
movdqa xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140003650
lea rax, [rbp]
cmp rax, r14
je 0x14001323a
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14001322d
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp]
call fcn.140003650
movzx ecx, word [rbx + 6]
mov dword [rbp + 0x28], ecx
mov rax, qword [rbp - 0x28]
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], edi
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x1400926d0]
movdqa xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
movaps xmm0, xmmword [rbp]
movups xmmword [rsi + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x30], xmm1
movdqa xmm0, xmmword [0x1400926d0]
movdqa xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov dword [rsi + 0x40], eax
mov dword [rsi + 0x44], edi
mov dword [rsi + 0x48], ecx
lea rcx, [rbp - 0x20]
call fcn.140013470
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400132e5
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001338a
call fcn.14005bc54
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], r13
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14000ea50
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x2c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0xe0]
call fcn.14005a1c4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140012f72
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001339f
jmp 0x140012f6d
call fcn.140026f88
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x30]
call fcn.140011e50
nop
call fcn.140026f88
nop
call fcn.140026f88
nop
call fcn.140026f88
int3