Function at 0x1400129e0
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.14005a5e0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400113e0
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.14005a870
mov edx, eax
xor r12d, r12d
test eax, eax
jne 0x140012ae4
mov ecx, dword [rbp + 0x150]
bt ecx, 0xa
jae 0x140012ad9
mov eax, dword [rbp + 0x154]
cmp eax, 0xa000000c
jne 0x140012acb
lea ecx, [rdx + 4]
jmp 0x140012b00
cmp eax, 0xa0000003
jne 0x140012ad9
mov ecx, 0xa
jmp 0x140012b00
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140012b00
sub eax, 2
je 0x140012afb
sub eax, 1
je 0x140012afb
sub eax, 0x32
je 0x140012afb
cmp eax, 0x46
mov ecx, r12d
jne 0x140012b00
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 0x140012c61
cmp ecx, 1
sete bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140012b6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001336b
call fcn.14005b964
test bl, bl
je 0x140012c70
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 0x140012bda
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012bd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001335f
call fcn.14005b964
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140012c24
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012c1f
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140013365
mov rcx, rax
call fcn.14005b964
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.14005b410
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 0x140013350
jmp 0x140012b28
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call fcn.14005da90
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8d, 0x20
lea rcx, [rbp + 0x30]
call fcn.140015c30
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.1400187b0
test al, al
jne 0x140012e15
nop dword [rax]
mov rbx, qword [rsp + 0x40]
cmp byte [rsp + 0x48], 0
jne 0x140012d87
test rbx, rbx
je 0x140012d7f
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x140012d6b
mov rax, qword [rbx + 0x50]
cmp dword [rax], 0
jle 0x140012d6b
movzx eax, byte [rcx]
jmp 0x140012d74
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
cmp eax, 0xffffffff
je 0x140012d7f
mov byte [rsp + 0x49], al
jmp 0x140012d8c
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 0x140012da2
mov byte [rdx], al
inc qword [rbp - 0x48]
jmp 0x140012db0
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140018880
test rbx, rbx
je 0x140012df5
mov rax, qword [rbx + 0x38]
cmp qword [rax], 0
je 0x140012de0
mov rcx, qword [rbx + 0x50]
mov eax, dword [rcx]
test eax, eax
jle 0x140012de0
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 0x140012de9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140012df5
mov byte [rsp + 0x48], 0
jmp 0x140012dff
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400187b0
test al, al
je 0x140012d40
mov eax, 0x5a4d
mov rcx, qword [rbp - 0x50]
cmp word [rcx], ax
je 0x140012f84
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 0x140012e80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001334a
call fcn.14005b964
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.14000ea10
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.140059ed4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140012f32
inc rdx
mov rcx, qword [rbp - 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140012f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001335f
call fcn.14005b964
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140012c24
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012c1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013365
mov rcx, r8
jmp 0x140012c1f
movsxd rbx, dword [rcx + 0x3c]
add rbx, rcx
cmp dword [rbx], 0x4550
je 0x14001306c
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 0x140012ff0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001334a
call fcn.14005b964
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.14000ea10
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.140059ed4
nop
jmp 0x140012ef7
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.1400128a0
mov rdi, qword [rbp - 0x30]
cmp r15, rdi
jbe 0x140013193
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 0x140013128
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001334a
call fcn.14005b964
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.14000ea10
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.140059ed4
nop
jmp 0x140012ef7
mov qword [rbp - 0x20], r12
movdqa xmm0, xmmword [0x1400926c0]
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 0x1400131fa
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400131ed
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 [0x1400926c0]
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 [0x1400926c0]
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.140013430
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400132a5
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013294
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001334a
call fcn.14005b964
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.14000ea10
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.140059ed4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140012f32
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001335f
jmp 0x140012f2d
call fcn.140026c98
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x30]
call fcn.140011e10
nop
call fcn.140026c98
nop
call fcn.140026c98
nop
call fcn.140026c98
int3