Function at 0x140003fa0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov qword [rbp - 0x28], rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rbp - 0x50], 1
mov r14, qword [rdx]
mov r13, qword [rdx + 8]
mov qword [rbp - 0x48], r13
cmp r14, r13
je 0x1400042cb
movabs rdx, 0x2aaaaaaaaaaaaaab
nop word [rax + rax]
cmp qword [r14], 5
jne 0x1400042be
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
mov rax, rdx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1400042cb
mov r12d, ebx
cmp qword [r14 + 0x18], rdx
jbe 0x14000427d
mov r13d, 0x5a4d
nop
mov r15d, r12d
shl r15d, 0xc
mov rdi, qword [r14 + 8]
add rdi, r15
mov r8, qword [0x140038e70]
test r8, r8
je 0x14000409d
mov rax, qword [0x140038e58]
cmp rdi, rax
jb 0x14000409d
sub r8, rax
add r8, rdi
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 2
lea r9, [rbp - 0x20]
mov edx, 4
call qword [rax + 8]
jmp 0x1400040b7
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov r9d, 2
lea r8, [rbp - 0x20]
mov rdx, rdi
call qword [rax + 0x18]
test eax, eax
jne 0x1400040c4
mov word [rbp - 0x20], bx
jmp 0x140004269
cmp word [rbp - 0x20], r13w
jne 0x140004269
lea rdx, [rdi + 0x3c]
mov r8, qword [0x140038e70]
test r8, r8
je 0x140004112
mov rax, qword [0x140038e58]
cmp rdx, rax
jb 0x140004112
sub r8, rax
add r8, rdx
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 4
lea r9, [rbp - 0x18]
mov edx, 4
call qword [rax + 8]
jmp 0x140004129
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov r9d, 4
lea r8, [rbp - 0x18]
call qword [rax + 0x18]
test eax, eax
jne 0x140004134
mov eax, ebx
mov dword [rbp - 0x18], ebx
jmp 0x140004137
mov eax, dword [rbp - 0x18]
mov ebx, eax
add rbx, rdi
mov r8, qword [0x140038e70]
test r8, r8
je 0x14000417b
mov rax, qword [0x140038e58]
cmp rbx, rax
jb 0x14000417b
sub r8, rax
add r8, rbx
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 2
lea r9, [rbp - 0x1c]
mov edx, 4
call qword [rax + 8]
jmp 0x140004195
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov r9d, 2
lea r8, [rbp - 0x1c]
mov rdx, rbx
call qword [rax + 0x18]
test eax, eax
jne 0x1400041a4
xor ebx, ebx
mov word [rbp - 0x1c], bx
jmp 0x140004269
mov eax, 0x4550
cmp word [rbp - 0x1c], ax
jne 0x140004267
mov rcx, qword [r14 + 0x10]
add rcx, r15
mov qword [rbp - 0x40], rcx
mov rcx, qword [r14 + 8]
add rcx, r15
mov qword [rbp - 0x38], rcx
lea rdx, [rbx + 0x50]
mov rcx, qword [0x140038e70]
test rcx, rcx
je 0x14000420d
mov rax, qword [0x140038e58]
cmp rdx, rax
jb 0x14000420d
sub rdx, rax
lea r8, [rcx + rdx]
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 4
lea r9, [rbp - 0x14]
mov edx, 4
call qword [rax + 8]
jmp 0x140004224
mov rcx, qword [0x140038e80]
mov rax, qword [rcx]
mov r9d, 4
lea r8, [rbp - 0x14]
call qword [rax + 0x18]
xor ebx, ebx
test eax, eax
jne 0x140004231
mov eax, ebx
mov dword [rbp - 0x14], ebx
jmp 0x140004234
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140004259
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rdx + 0x10], xmm1
add qword [rsi + 8], 0x18
jmp 0x140004269
lea r8, [rbp - 0x40]
mov rcx, rsi
call fcn.140004bb0
jmp 0x140004269
xor ebx, ebx
inc r12d
mov eax, r12d
cmp rax, qword [r14 + 0x18]
jb 0x140004050
mov r13, qword [rbp - 0x48]
mov r9, qword [rsi + 8]
mov r8, qword [rsi]
mov rcx, r9
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 4
movabs rdx, 0x2aaaaaaaaaaaaaab
jae 0x1400042be
cmp r8, r9
je 0x1400042be
mov qword [rsi + 8], r8
add r14, 0x28
cmp r14, r13
jne 0x140004010
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000ceb0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret