Function at 0x14000d2e0
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 [0x140056090]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x60], rax
xor esi, esi
mov qword [r11 - 0x58], rsi
mov qword [r11 - 0x48], rsi
mov r15, qword [0x14005bbc8]
mov qword [rsp + 0x38], r15
mov eax, 0x5a4d
cmp word [0x140056cb0], ax
jne 0x14000d3b5
movsxd rdi, dword [0x140056cec]
lea rax, [0x140056cb0]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x14000d3b5
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x14000d3b5
mov ebx, dword [rdi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rsi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x14000d3b5
movzx ecx, word [rdi + 0x14]
mov r13d, dword [rcx + rdi + 0x24]
sub ebx, r13d
mov r12d, ebx
jne 0x14000d3e8
mov rbp, rsi
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, rbp
mov rcx, r15
call fcn.14000a470
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140010fc0
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 [0x14005bbec], eax
jle 0x14000d4ac
lea rcx, [0x14005bbec]
call fcn.140011170
cmp dword [0x14005bbec], 0xffffffff
jne 0x14000d4ac
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov r8d, 0x15
lea rdx, [0x140046f48]
lea rcx, [rsp + 0x40]
call fcn.140003c60
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x14005baf8]
mov rcx, r15
call fcn.14000a580
mov qword [0x14005bc50], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000d4a0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d49a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d627
call fcn.140010fe0
nop
lea rcx, [0x14005bbec]
call fcn.140011110
cmp qword [0x14005bc50], 0
je 0x14000d396
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14000c360
test al, al
je 0x14000d396
mov rbp, qword [rsp + 0x30]
test rbp, rbp
je 0x14000d399
mov r8d, dword [rdi + 0x54]
lea rdx, [0x140056cb0]
mov rcx, r14
call fcn.1400130e0
movzx ebx, word [rdi + 0x14]
add rbx, 0x28
xor eax, eax
cmp ax, word [rdi + 6]
jae 0x14000d544
add rbx, rdi
lea r15, [0x140056cb0]
test dword [rbx + 0x14], 0x80
ja 0x14000d531
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r15
mov ecx, dword [rbx - 4]
add rcx, r14
call fcn.1400130e0
inc esi
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x14000d514
mov r15, qword [rsp + 0x38]
mov rsi, rbp
sub rsi, r13
mov rbx, rsi
sub rbx, qword [rdi + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000e220
mov rdx, rbx
mov rcx, rax
call fcn.14000d630
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000e370
mov rdx, rax
mov rcx, r15
call fcn.14000d730
test al, al
je 0x14000d399
lea r8, [r14 + r13]
mov r9, r12
mov rdx, rbp
mov rcx, r15
call fcn.14000a250
test al, al
je 0x14000d399
mov ebx, dword [rdi + 0x28]
add rbx, rsi
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r9, r12
mov r8, rbp
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140002640
test al, al
je 0x14000d399
mov dword [rsp + 0x30], edi
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.14000db00
test al, al
je 0x14000d399
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14000d60e
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbp
jmp 0x14000d3b7
call fcn.14001c9fc
int3