Function at 0x140009940
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r13, rdx
mov rdx, rcx
xor edi, edi
mov eax, 0x5a4d
cmp word [r13], ax
jne 0x140009c0e
movsxd rax, dword [r13 + 0x3c]
cmp dword [rax + r13], 0x4550
jne 0x140009c0e
mov ecx, dword [rax + r13 + 0x90]
test ecx, ecx
jne 0x1400099af
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rdi
jmp 0x140009c19
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rbx, rdi
mov qword [rbp - 0x39], rbx
lea r12, [rcx + r13]
mov r14, qword [rbp - 0x41]
cmp dword [r12 + 0x10], 0
je 0x140009bfd
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
movdqu xmmword [rbp + 0x17], xmm0
mov r15, rdi
mov qword [rbp + 0x27], rdi
mov edx, dword [r12 + 0xc]
add rdx, r13
lea rcx, [rbp - 0x31]
call fcn.140006270
lea rcx, [rbp - 9]
cmp rcx, rax
je 0x140009a2d
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140009a68
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009be4
call fcn.14001343c
mov esi, dword [r12 + 0x10]
add rsi, r13
mov edi, dword [r12]
add rdi, r13
mov rax, qword [rdi]
test rax, rax
je 0x140009b65
mov rbx, qword [rbp + 0x1f]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
lea rdx, [r13 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140009ac0
lea rcx, [rbp - 0x31]
call fcn.140009c40
mov qword [rbp - 0x11], rsi
cmp rbx, r15
je 0x140009afa
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.14000a760
mov rax, qword [rbp - 0x11]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0x1f], rbx
jmp 0x140009b12
lea r8, [rbp - 0x31]
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.14000a1f0
mov r15, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140009b55
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009beb
call fcn.14001343c
mov rax, qword [rdi]
test rax, rax
jne 0x140009a90
mov rbx, qword [rbp - 0x39]
lea r8, [rbp - 9]
mov rdx, r14
cmp r14, rbx
je 0x140009b80
call fcn.14000a5a0
add r14, 0x38
mov qword [rbp - 0x41], r14
jmp 0x140009b91
lea rcx, [rbp - 0x49]
call fcn.140009db0
mov r14, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x39]
add r12, 0x14
lea rcx, [rbp + 0x17]
call fcn.1400096a0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140009bd5
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bf2
call fcn.14001343c
cmp dword [r12 + 0x10], 0
je 0x140009bf9
xor edi, edi
jmp 0x1400099d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x49]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rbx
jmp 0x140009c19
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov rax, rdx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret