Function at 0x14005d570
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10e0]
mov eax, 0x11e0
call fcn.1400707c0
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1230], rbx
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x68], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov edi, r15d
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x30], 1
mov ecx, 0x10000
mov r13d, 0x5a4d
movabs r12, 0x7ffffffeffff
nop dword [rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x10]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x14005dacc
cmp eax, 0xc0000022
je 0x14005dacc
cmp eax, 0xc000010a
je 0x14005dacc
test eax, eax
jne 0x14005dabb
cmp dword [rbp + 0x30], 0x1000
jne 0x14005dabb
cmp dword [rbp + 0x38], 0x1000000
jne 0x14005dabb
mov rbx, qword [rbp + 0x18]
cmp rdi, rbx
je 0x14005dabb
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xd0]
call fcn.14008e5d0
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x8d0]
mov r8d, 2
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
js 0x14005dab7
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r15w
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], r15w
mov rax, qword [rsi]
mov qword [rsp + 0x20], r15
mov r9d, 0x800
lea r8, [rbp + 0xd0]
mov rdx, qword [rbp + 0x18]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x14005d704
lea rcx, [rbp + 0x40]
call fcn.14002deb0
jmp 0x14005dabb
movsxd rax, dword [rbp + 0x10c]
lea rcx, [rbp + 0xd0]
add rcx, rax
cmp word [rbp + 0xd0], r13w
jne 0x14005d76c
cmp dword [rcx], 0x4550
jne 0x14005d76c
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x14005d74a
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], r15d
jmp 0x14005d801
mov edx, 0x20b
cmp ax, dx
jne 0x14005d6f6
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], 1
jmp 0x14005d801
xor eax, eax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0x18]
cmp rcx, r12
jae 0x14005d7f7
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp + 0xa0]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
js 0x14005d7e8
cmp dword [rbp + 0xc8], 0x1000000
jne 0x14005d7e8
mov rcx, qword [rbp + 0xa0]
add rcx, qword [rbp + 0xb8]
cmp rcx, r12
jb 0x14005d7b0
jmp 0x14005d7f7
mov eax, dword [rbp + 0xa0]
sub eax, dword [rbp + 0x18]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], 3
cmp byte [rsi + 0x16], 1
jne 0x14005d8b9
mov edx, dword [rbp + 0x8d4]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rcx, [rsp + 0x50]
call fcn.1400056b0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.140028cb0
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x14005d871
lea rcx, [rbp + 0x68]
call fcn.14000564c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14005d95e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d959
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005daff
jmp 0x14005d959
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
mov rdx, qword [rbp + 0x8d8]
lea rcx, [rsp + 0x70]
call fcn.1400056b0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140028cb0
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x14005d91e
lea rcx, [rbp + 0x68]
call fcn.14000564c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14005d95e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d959
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005daf9
call fcn.14006fa74
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400281e0
mov rbx, rax
lea rax, [rbp + 0x48]
cmp rax, rbx
je 0x14005d99f
lea rcx, [rbp + 0x48]
call fcn.14000564c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005d9df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d9da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005db05
call fcn.14006fa74
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x90], r15
mov byte [rbp + 0x98], 0
mov ecx, 0x70
call fcn.14006fa7c
mov rbx, rax
mov qword [rbp - 0x60], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_struct_blackbone::ModuleData_const__.0
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14002dca0
nop
or dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x14005da5f
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x14005da6d
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.14005e410
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005daae
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005daae
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005daae
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x40]
call fcn.14002deb0
mov rdi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
add rcx, qword [rbp + 0x28]
cmp rcx, r12
jb 0x14005d610
mov rax, r14
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.14006fa50
mov rbx, qword [rsp + 0x1230]
add rsp, 0x11e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140097f2c
int3
call fcn.140097f2c
int3
call fcn.140097f2c
int3