Function at 0x140035320
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.14004bed0
sub rsp, rax
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x78], 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 ebx, 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 edi, 0x5a4d
mov r12d, 0x10b
mov r13d, 0x20b
nop dword [rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x60]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x140035abf
cmp eax, 0xc0000022
je 0x140035abf
cmp eax, 0xc000010a
je 0x140035abf
test eax, eax
jne 0x140035aa4
cmp dword [rbp + 0x80], 0x1000
jne 0x140035aa4
mov eax, dword [rbp + 0x70]
cmp eax, 1
je 0x140035aa4
bt eax, 8
jb 0x140035aa4
mov rdx, qword [rbp + 0x68]
cmp rbx, rdx
je 0x140035aa4
mov qword [rbp + 8], r15
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
mov qword [rbp + 0x28], r15
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, 0x1000
lea r8, [rbp + 0x110]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x140035503
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x1400354a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400354a4
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af8
call fcn.14004b1e0
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
mov word [rbp + 0x28], r15w
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r15
jb 0x140035aa4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400354f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af8
call fcn.14004b1e0
jmp 0x140035aa4
movsxd rax, dword [rbp + 0x14c]
lea rcx, [rbp + 0x110]
add rcx, rax
cmp word [rbp + 0x110], di
jne 0x140035469
cmp dword [rcx], 0x4550
jne 0x140035469
movzx eax, word [rcx + 0x18]
cmp ax, r12w
jne 0x14003553d
mov dword [rbp + 0x4c], r15d
jmp 0x14003554a
cmp ax, r13w
jne 0x140035550
mov dword [rbp + 0x4c], 1
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x48], eax
mov rdx, qword [rbp + 0x68]
mov qword [rbp], rdx
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x58], 0
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x110]
mov r8d, 2
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
jne 0x140035879
cmp byte [rsi + 0x16], 1
jne 0x140035698
mov edx, dword [rbp + 0x114]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400355b1
lea rcx, [rsp + 0x48]
call fcn.140001bb0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140016590
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x140035650
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140035620
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003561b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af2
call fcn.14004b1e0
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 - 0x50]
cmp rdx, 8
jb 0x1400357a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003579b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af2
jmp 0x14003579b
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov rdx, qword [rbp + 0x118]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400356c0
lea rcx, [rsp + 0x68]
call fcn.140001bb0
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.140016590
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x140035760
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x14003572f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003572a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035afe
call fcn.14004b1e0
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
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400357a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003579b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035afe
call fcn.14004b1e0
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.140015e80
mov rbx, rax
lea rax, [rbp + 8]
cmp rax, rbx
je 0x140035830
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x1400357f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400357f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035aec
call fcn.14004b1e0
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
nop dword [rax]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140035916
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003586f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035aec
call fcn.14004b1e0
jmp 0x140035916
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov r8, qword [rbp]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400358e0
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x28]
call fcn.140001bb0
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rbp + 8]
call fcn.140001bb0
mov ecx, 0x70
call fcn.14004b1e8
mov rdi, rax
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_blackbone::ModuleData_const__.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x38], rbx
mov rax, qword [rbp]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp + 8]
call fcn.140013770
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x28]
call fcn.140013770
mov eax, dword [rbp + 0x48]
mov dword [rbx + 0x48], eax
mov eax, dword [rbp + 0x4c]
mov dword [rbx + 0x4c], eax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x50], rax
movzx eax, byte [rbp + 0x58]
mov byte [rbx + 0x58], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
or dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1400359c0
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x1400359ce
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.140035ce0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140035a0e
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140035a0e
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 0x140035a0e
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140035a52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af8
call fcn.14004b1e0
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140035a9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035a9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035af8
call fcn.14004b1e0
mov edi, 0x5a4d
mov rcx, qword [rbp + 0x60]
add rcx, qword [rbp + 0x78]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x1400353b0
mov rax, r14
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.14004b1c0
mov rbx, qword [rsp + 0x1270]
add rsp, 0x1220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14008ac40
int3
call fcn.14008ac40
nop
call fcn.14008ac40
nop
call fcn.14008ac40
int3