Function at 0x140057430
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.14006a3e0
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1230], rbx
mov rax, qword [0x1400f4080]
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 0x14005798c
cmp eax, 0xc0000022
je 0x14005798c
cmp eax, 0xc000010a
je 0x14005798c
test eax, eax
jne 0x14005797b
cmp dword [rbp + 0x30], 0x1000
jne 0x14005797b
cmp dword [rbp + 0x38], 0x1000000
jne 0x14005797b
mov rbx, qword [rbp + 0x18]
cmp rdi, rbx
je 0x14005797b
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xd0]
call fcn.140088180
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 0x140057977
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 0x1400575c4
lea rcx, [rbp + 0x40]
call fcn.140027a60
jmp 0x14005797b
movsxd rax, dword [rbp + 0x10c]
lea rcx, [rbp + 0xd0]
add rcx, rax
cmp word [rbp + 0xd0], r13w
jne 0x14005762c
cmp dword [rcx], 0x4550
jne 0x14005762c
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x14005760a
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], r15d
jmp 0x1400576c1
mov edx, 0x20b
cmp ax, dx
jne 0x1400575b6
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], 1
jmp 0x1400576c1
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 0x1400576b7
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 0x1400576a8
cmp dword [rbp + 0xc8], 0x1000000
jne 0x1400576a8
mov rcx, qword [rbp + 0xa0]
add rcx, qword [rbp + 0xb8]
cmp rcx, r12
jb 0x140057670
jmp 0x1400576b7
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 0x140057779
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.140003dc0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.140022af0
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x140057731
lea rcx, [rbp + 0x68]
call fcn.140003d5c
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 0x14005781e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057819
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400579bf
jmp 0x140057819
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.140003dc0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140022af0
mov rbx, rax
lea rax, [rbp + 0x68]
cmp rax, rbx
je 0x1400577de
lea rcx, [rbp + 0x68]
call fcn.140003d5c
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 0x14005781e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057819
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400579b9
call fcn.140069674
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.140021f50
mov rbx, rax
lea rax, [rbp + 0x48]
cmp rax, rbx
je 0x14005785f
lea rcx, [rbp + 0x48]
call fcn.140003d5c
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 0x14005789f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005789a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400579c5
call fcn.140069674
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.14006967c
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.140039490
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 0x14005791f
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x14005792d
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.140058250
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005796e
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005796e
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 0x14005796e
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x40]
call fcn.140027a60
mov rdi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
add rcx, qword [rbp + 0x28]
cmp rcx, r12
jb 0x1400574d0
mov rax, r14
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.140069650
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.1400927c0
int3
call fcn.1400927c0
int3
call fcn.1400927c0
int3