Function at 0x140035500
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x140370f08]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
mov r15, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x108
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
call fcn.14007c3b2
lea rax, [rbp - 0x70]
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rsi
call qword [0x14007e158]
test eax, eax
je 0x14003562b
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14003562b
movsxd rdx, dword [rbp - 0x74]
lea rax, [rbp - 0x70]
add rdx, r15
mov qword [rsp + 0x20], rax
mov r9d, 0x108
lea r8, [rbp - 0x40]
mov rcx, rsi
call qword [0x14007e158]
test eax, eax
je 0x14003562b
cmp dword [rbp - 0x40], 0x4550
jne 0x14003562b
mov edi, dword [rbp + 0x48]
test edi, edi
je 0x14003562b
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x14003562b
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
mov r13d, eax
call qword [0x14007e0f8]
mov rbx, rax
test rax, rax
je 0x14003562b
lea rax, [rdi + r15]
mov qword [rsp + 0x48], rdi
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rcx
mov r9d, r13d
mov rcx, rsi
mov r8, rbx
mov rdx, rax
call qword [0x14007e158]
test eax, eax
jne 0x140035632
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [0x14007e0f0]
xor eax, eax
jmp 0x140035736
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x230], r12
mov r12d, dword [rbx + 0x20]
mov qword [rsp + 0x1e0], r14
mov r14, rbx
sub r14, rdi
add rax, r14
add r12, r14
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0x1c]
add rax, r14
mov qword [rsp + 0x38], rax
xor eax, eax
mov edi, eax
cmp dword [rbx + 0x18], eax
jbe 0x140035713
mov esi, edi
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 0xf
mov edx, dword [r12 + rsi*4]
add rdx, r14
inc r8
cmp byte [rdx + r8], 0
jne 0x140035692
lea rcx, [rbp - 0x68]
call fcn.1400041a0
cmp qword [rbp - 0x50], 0x10
lea rcx, [rbp - 0x68]
lea rdx, [0x14033a820]
cmovae rcx, qword [rbp - 0x68]
call qword [0x14007eac0]
test eax, eax
je 0x140035755
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140035703
mov rcx, qword [rbp - 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400356fe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400357ce
call fcn.14007a95c
inc edi
mov eax, 0
cmp edi, dword [rbx + 0x18]
jb 0x140035672
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [0x14007e0f0]
xor eax, eax
mov r12, qword [rsp + 0x230]
mov r14, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14007a900
add rsp, 0x1e8
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rax + rsi*2]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x14003579a
lea rdi, [r15 + rcx]
cmp rdi, qword [rsp + 0x40]
jb 0x1400357d5
mov rax, qword [rsp + 0x48]
add rax, r13
add rax, r15
cmp rdi, rax
ja 0x1400357d5
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [0x14007e0f0]
xor edi, edi
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400357ed
mov rcx, qword [rbp - 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400357e8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400357e8
call qword [0x14007e950]
int3
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [0x14007e0f0]
jmp 0x14003579c
call fcn.14007a95c
mov rax, rdi
jmp 0x140035726