Function at 0x180066960
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 - 0x10d0]
mov eax, 0x11d0
call fcn.18007c000
sub rsp, rax
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov r14, rdx
mov rdi, 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 esi, 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 dword [rax + rax]
mov rax, qword [rdi]
lea r8, [rbp + 0x60]
mov rdx, rcx
mov rcx, rdi
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x180066e4a
cmp eax, 0xc0000022
je 0x180066e4a
cmp eax, 0xc000010a
je 0x180066e4a
test eax, eax
jne 0x180066e39
cmp dword [rbp + 0x80], 0x1000
jne 0x180066e39
cmp dword [rbp + 0x88], 0x1000000
jne 0x180066e39
mov rbx, qword [rbp + 0x68]
cmp rsi, rbx
je 0x180066e39
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xc0]
call fcn.180211600
mov rax, qword [rdi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x8c0]
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
js 0x180066e35
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 [rdi]
mov qword [rsp + 0x20], r15
mov r9d, 0x800
lea r8, [rbp + 0xc0]
mov rdx, qword [rbp + 0x68]
mov rcx, rdi
call qword [rax + 0x18]
test eax, eax
je 0x180066af0
lea rcx, [rbp + 0x28]
call fcn.18000db90
lea rcx, [rbp + 8]
call fcn.18000db90
jmp 0x180066e39
movsxd rax, dword [rbp + 0xfc]
lea rcx, [rbp + 0xc0]
add rcx, rax
cmp word [rbp + 0xc0], r13w
jne 0x180066b49
cmp dword [rcx], 0x4550
jne 0x180066b49
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x180066b30
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], r15d
jmp 0x180066bbf
mov edx, 0x20b
cmp ax, dx
jne 0x180066ad9
mov eax, dword [rcx + 0x50]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], 1
jmp 0x180066bbf
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rax, qword [rbp + 0x68]
cmp rax, r12
jae 0x180066bb8
nop word [rax + rax]
mov rcx, qword [rdi]
mov r9, qword [rcx + 0x30]
lea r8, [rbp + 0x90]
mov rdx, rax
mov rcx, rdi
call r9
test eax, eax
js 0x180066bac
cmp dword [rbp + 0xb8], 0x1000000
jne 0x180066bac
mov rax, qword [rbp + 0xa8]
add rax, qword [rbp + 0x90]
cmp rax, r12
jb 0x180066b70
jmp 0x180066bb8
mov eax, dword [rbp + 0x90]
sub eax, dword [rbp + 0x68]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], 3
mov r8, 0xffffffffffffffff
cmp byte [rdi + 0x16], 1
jne 0x180066c4d
mov edx, dword [rbp + 0x8c4]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180066bf0
lea rcx, [rsp + 0x48]
call fcn.18000dc00
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.18004a4d0
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x180066c47
lea rcx, [rbp + 0x28]
call fcn.18000db90
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
lea rcx, [rbp - 0x68]
jmp 0x180066ccb
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov rdx, qword [rbp + 0x8c8]
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180066c70
lea rcx, [rsp + 0x68]
call fcn.18000dc00
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.18004a4d0
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x180066cc7
lea rcx, [rbp + 0x28]
call fcn.18000db90
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
lea rcx, [rbp - 0x48]
call fcn.18000db90
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.180049d20
mov rbx, rax
lea rax, [rbp + 8]
cmp rax, rbx
je 0x180066d11
lea rcx, [rbp + 8]
call fcn.18000db90
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
lea rcx, [rbp - 0x28]
call fcn.18000db90
mov rax, qword [rbp + 0x68]
mov qword [rbp], rax
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x58], 0
mov ecx, WSAStartup
call fcn.18007b16c
mov rsi, 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 [rsi], rax
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x38], rbx
mov rax, qword [rbp]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp + 8]
call fcn.180016740
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x28]
call fcn.180016740
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], rsi
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x180066dd4
mov qword [rdx], rbx
mov qword [rdx + 8], rsi
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x180066de2
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.180067580
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180066e23
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180066e23
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 0x180066e23
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
lea rcx, [rbp + 0x28]
call fcn.18000db90
lea rcx, [rbp + 8]
call fcn.18000db90
mov rsi, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x78]
add rcx, qword [rbp + 0x60]
cmp rcx, r12
jb 0x1800669f0
mov rax, r14
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x1220]
add rsp, 0x11d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret