Function at 0x1400579d0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1130]
mov eax, 0x1230
call fcn.14006a3e0
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1280], rbx
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov r12, rdx
mov r13, rcx
mov qword [rbp - 0x68], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov ebx, edi
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rdi
mov dword [rsp + 0x30], 1
mov ecx, 0x10000
lea rsi, [rdi - 1]
mov r14d, 0x10b
mov r15d, 0x20b
mov rax, qword [r13]
lea r8, [rbp + 0x70]
mov rdx, rcx
mov rcx, r13
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x140058028
cmp eax, 0xc0000022
je 0x140058028
cmp eax, 0xc000010a
je 0x140058028
test eax, eax
jne 0x14005800a
cmp dword [rbp + 0x90], 0x1000
jne 0x14005800a
mov rax, qword [rbp + 0x80]
cmp eax, 1
je 0x14005800a
bt eax, 8
jb 0x14005800a
mov rdx, qword [rbp + 0x78]
cmp rbx, rdx
je 0x14005800a
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], di
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], di
mov rax, qword [r13]
mov qword [rsp + 0x20], rdi
mov r9d, 0x1000
lea r8, [rbp + 0x120]
mov rcx, r13
call qword [rax + 0x18]
test eax, eax
jne 0x140058001
movsxd rax, dword [rbp + 0x15c]
lea rcx, [rbp + 0x120]
add rcx, rax
mov eax, 0x5a4d
cmp word [rbp + 0x120], ax
jne 0x140058001
cmp dword [rcx], 0x4550
jne 0x140058001
movzx eax, word [rcx + 0x18]
cmp ax, r14w
jne 0x140057b65
mov dword [rbp + 0x5c], edi
jmp 0x140057b72
cmp ax, r15w
jne 0x140057b78
mov dword [rbp + 0x5c], 1
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x58], eax
mov rdx, qword [rbp + 0x78]
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x60], rdi
mov byte [rbp + 0x68], 0
mov rax, qword [r13]
mov qword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x120]
mov r8d, 2
mov rcx, r13
call qword [rax + 0x28]
test eax, eax
jne 0x140057d93
cmp byte [r13 + 0x16], 1
jne 0x140057c67
mov edx, dword [rbp + 0x124]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
lea rcx, [rsp + 0x50]
call fcn.140003dc0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.140022af0
mov rbx, rax
lea rax, [rbp + 0x38]
cmp rax, rbx
je 0x140057c1f
lea rcx, [rbp + 0x38]
call fcn.140003d5c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140057d0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005805b
jmp 0x140057d05
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 0x128]
lea rcx, [rsp + 0x70]
call fcn.140003dc0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.140022af0
mov rbx, rax
lea rax, [rbp + 0x38]
cmp rax, rbx
je 0x140057cca
lea rcx, [rbp + 0x38]
call fcn.140003d5c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140057d0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058067
call fcn.140069674
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x18]
call fcn.140021f50
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x140057d4a
lea rcx, [rbp + 0x18]
call fcn.140003d5c
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140057f3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005806d
call fcn.140069674
jmp 0x140057f3a
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0xa0]
call fcn.140088180
mov r8, qword [rbp + 0x10]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x38]
call fcn.140003dc0
mov r14, qword [rbp + 0x48]
lea r15, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae r15, qword [rbp + 0x38]
mov rsi, qword [rbp + 0x30]
cmp r14, rsi
ja 0x140057e18
lea rdi, [rbp + 0x18]
cmp rsi, 8
cmovae rdi, qword [rbp + 0x18]
mov qword [rbp + 0x28], r14
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.140087d20
xor eax, eax
mov word [rdi + rbx], ax
jmp 0x140057f27
movabs rdx, 0x7ffffffffffffffe
cmp r14, rdx
ja 0x140058061
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x140057e3c
mov rbx, rdx
jmp 0x140057e5d
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x140057e52
mov rbx, rdx
jmp 0x140057e5d
lea rax, [rcx + rsi]
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x140057e80
mov rax, 0xffffffffffffffff
mov rdx, rax
jmp 0x140057e90
cmp rdx, 0x1000
jb 0x140057eb7
mov rax, 0xffffffffffffffff
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, rax
call fcn.14006967c
test rax, rax
je 0x140058073
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140057ec7
test rdx, rdx
je 0x140057ec7
mov rcx, rdx
call fcn.14006967c
mov rdi, rax
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.140087d20
xor eax, eax
mov word [rbx + rdi], ax
cmp rsi, 8
jb 0x140057f23
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058055
call fcn.140069674
mov qword [rbp + 0x18], rdi
mov rsi, 0xffffffffffffffff
mov r14d, 0x10b
mov r15d, 0x20b
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 + 0x10]
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 [r12 + 8]
cmp qword [r12 + 0x10], rdx
je 0x140057fa7
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
add qword [r12 + 8], 0x10
jmp 0x140057fb5
lea r8, [rsp + 0x38]
mov rcx, r12
call fcn.140058250
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140057ff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057ff0
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140057ff0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x78]
lea rcx, [rbp + 0x10]
call fcn.140027a60
xor edi, edi
jmp 0x14005800a
lea rcx, [rbp + 0x10]
call fcn.140027a60
mov rcx, qword [rbp + 0x70]
add rcx, qword [rbp + 0x88]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x140057a72
mov rax, r12
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.140069650
mov rbx, qword [rsp + 0x1280]
add rsp, 0x1230
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.1400080e0
int3
call fcn.1400927c0
int3
call fcn.1400927c0
int3
call fcn.1400927c0
int3