Function at 0x14000a560
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x60], rax
xor ebp, ebp
mov qword [r11 - 0x58], rbp
mov qword [r11 - 0x48], rbp
mov r15, qword [0x140078c80]
mov qword [rsp + 0x38], r15
mov eax, 0x5a4d
cmp word [0x140074690], ax
jne 0x14000a635
movsxd rsi, dword [0x1400746cc]
lea rax, [0x140074690]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x14000a635
mov eax, 0x20b
cmp word [rsi + 0x18], ax
jne 0x14000a635
mov ebx, dword [rsi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rbp + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x14000a635
movzx ecx, word [rsi + 0x14]
mov r13d, dword [rcx + rsi + 0x24]
sub ebx, r13d
mov r12d, ebx
jne 0x14000a668
mov rdi, rbp
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, rdi
mov rcx, r15
call fcn.140002d20
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140010040
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140078cd4], eax
jle 0x14000a72f
lea rcx, [0x140078cd4]
call fcn.140010110
cmp dword [0x140078cd4], 0xffffffff
jne 0x14000a72f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x15
lea rdx, [0x1400377b8]
lea rcx, [rsp + 0x40]
call fcn.1400078d0
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x140078c78]
mov rcx, r15
call fcn.140002e30
mov qword [0x140078d48], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000a723
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a71d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a8aa
call fcn.140010060
nop
lea rcx, [0x140078cd4]
call fcn.1400100a4
cmp qword [0x140078d48], 0
je 0x14000a616
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140006b80
test al, al
je 0x14000a616
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14000a619
mov r8d, dword [rsi + 0x54]
lea rdx, [0x140074690]
mov rcx, r14
call fcn.140012010
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
xor eax, eax
cmp ax, word [rsi + 6]
jae 0x14000a7c7
add rbx, rsi
lea r15, [0x140074690]
test dword [rbx + 0x14], 0x80
ja 0x14000a7b4
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r15
mov ecx, dword [rbx - 4]
add rcx, r14
call fcn.140012010
inc ebp
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp ebp, eax
jl 0x14000a797
mov r15, qword [rsp + 0x38]
mov rbp, rdi
sub rbp, r13
mov rbx, rbp
sub rbx, qword [rsi + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000b960
mov rdx, rbx
mov rcx, rax
call fcn.14000a8b0
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000bab0
mov rdx, rax
mov rcx, r15
call fcn.14000a9b0
test al, al
je 0x14000a619
lea r8, [r14 + r13]
mov r9, r12
mov rdx, rdi
mov rcx, r15
call fcn.140002b00
test al, al
je 0x14000a619
mov ebx, dword [rsi + 0x28]
add rbx, rbp
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9, r12
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140005e40
test al, al
je 0x14000a619
mov dword [rsp + 0x30], esi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14000add0
test al, al
je 0x14000a619
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000a891
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14000a637
call fcn.1400186b0
int3