Function at 0x140011a20
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 [0x140059100]
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 [0x14005ea18]
mov qword [rsp + 0x38], r15
mov eax, 0x5a4d
cmp word [0x140059d50], ax
jne 0x140011af5
movsxd rsi, dword [0x140059d8c]
lea rax, [0x140059d50]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x140011af5
mov eax, 0x20b
cmp word [rsi + 0x18], ax
jne 0x140011af5
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 0x140011af5
movzx ecx, word [rsi + 0x14]
mov r13d, dword [rcx + rsi + 0x24]
sub ebx, r13d
mov r12d, ebx
jne 0x140011b28
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.14000ec90
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400153d0
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 [0x14005ea3c], eax
jle 0x140011bef
lea rcx, [0x14005ea3c]
call fcn.1400154a0
cmp dword [0x14005ea3c], 0xffffffff
jne 0x140011bef
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x15
lea rdx, [0x140048de0]
lea rcx, [rsp + 0x40]
call fcn.140004ca0
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x14005e9e8]
mov rcx, r15
call fcn.14000eda0
mov qword [0x14005eaa0], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140011be3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011bdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011d6a
call fcn.1400153f0
nop
lea rcx, [0x14005ea3c]
call fcn.140015434
cmp qword [0x14005eaa0], 0
je 0x140011ad6
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140010ab0
test al, al
je 0x140011ad6
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x140011ad9
mov r8d, dword [rsi + 0x54]
lea rdx, [0x140059d50]
mov rcx, r14
call fcn.14003a190
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
xor eax, eax
cmp ax, word [rsi + 6]
jae 0x140011c87
add rbx, rsi
lea r15, [0x140059d50]
test dword [rbx + 0x14], 0x80
ja 0x140011c74
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r15
mov ecx, dword [rbx - 4]
add rcx, r14
call fcn.14003a190
inc ebp
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp ebp, eax
jl 0x140011c57
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.1400126d0
mov rdx, rbx
mov rcx, rax
call fcn.140011d70
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140012820
mov rdx, rax
mov rcx, r15
call fcn.140011e70
test al, al
je 0x140011ad9
lea r8, [r14 + r13]
mov r9, r12
mov rdx, rdi
mov rcx, r15
call fcn.14000ea70
test al, al
je 0x140011ad9
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.1400026a0
test al, al
je 0x140011ad9
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.140012250
test al, al
je 0x140011ad9
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140011d51
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 0x140011af7
call fcn.140021344
int3