Function at 0x140058d60
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.14006c780
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1220], rbx
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov edi, r15d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
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 word [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x60]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x140059488
cmp eax, 0xc0000022
je 0x140059488
cmp eax, 0xc000010a
je 0x140059488
test eax, eax
jne 0x140059477
cmp dword [rbp + 0x80], 0x1000
jne 0x140059477
cmp dword [rbp + 0x88], 0x1000000
jne 0x140059477
mov rbx, qword [rbp + 0x68]
cmp rdi, rbx
je 0x140059477
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xc0]
call fcn.14008a450
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x8c0]
mov r8d, 2
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
js 0x140059473
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
mov rax, qword [rsi]
mov qword [rsp + 0x20], r15
mov r9d, 0x800
lea r8, [rbp + 0xc0]
mov rdx, qword [rbp + 0x68]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x140058f87
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140058f2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140058f28
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594c1
call fcn.14006bb24
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
mov word [rbp + 0x28], r15w
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r15
jb 0x140059477
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140058f7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594c1
call fcn.14006bb24
jmp 0x140059477
movsxd rax, dword [rbp + 0xfc]
lea rcx, [rbp + 0xc0]
add rcx, rax
cmp word [rbp + 0xc0], r13w
jne 0x140058fe4
cmp dword [rcx], 0x4550
jne 0x140058fe4
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x140058fc7
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], r15d
jmp 0x14005905b
mov edx, 0x20b
cmp ax, dx
jne 0x140058eed
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], 1
jmp 0x14005905b
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rcx, qword [rbp + 0x68]
cmp rcx, r12
jae 0x140059054
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x90]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
js 0x140059048
cmp dword [rbp + 0xb8], 0x1000000
jne 0x140059048
mov rcx, qword [rbp + 0x90]
add rcx, qword [rbp + 0xa8]
cmp rcx, r12
jb 0x140059010
jmp 0x140059054
mov eax, dword [rbp + 0x90]
sub eax, dword [rbp + 0x68]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], 3
cmp byte [rsi + 0x16], 1
jne 0x14005915b
mov edx, dword [rbp + 0x8c4]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
lea rcx, [rsp + 0x48]
call fcn.140004c64
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.140025b70
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x140059113
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x1400590e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400590de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594bb
call fcn.14006bb24
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140059249
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059244
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594bb
jmp 0x140059244
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov rdx, qword [rbp + 0x8c8]
lea rcx, [rsp + 0x68]
call fcn.140004c64
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x40]
call fcn.140025b70
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x140059209
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x1400591d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400591d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594c7
call fcn.14006bb24
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140059249
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059244
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594c7
call fcn.14006bb24
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.140024f50
mov rbx, rax
lea rax, [rbp + 8]
cmp rax, rbx
je 0x1400592d2
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x1400592a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005929d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594b5
call fcn.14006bb24
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140059312
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005930d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594b5
call fcn.14006bb24
mov rax, qword [rbp + 0x68]
mov qword [rbp], rax
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x58], 0
mov ecx, 0x70
call fcn.14006bb2c
mov rbx, rax
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
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]
mov rcx, rdi
call fcn.14003a7d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
or dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140059397
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x1400593a5
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.14002fe00
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400593e6
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400593e6
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 0x1400593e6
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140059426
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059421
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594c1
call fcn.14006bb24
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140059473
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005946e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400594c1
call fcn.14006bb24
mov rdi, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
add rcx, qword [rbp + 0x78]
cmp rcx, r12
jb 0x140058e00
mov rax, r14
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.14006bb00
mov rbx, qword [rsp + 0x1220]
add rsp, 0x11d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140095014
int3
call fcn.140095014
nop
call fcn.140095014
nop
call fcn.140095014
int3