Function at 0x140074180
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 - 0x1050]
mov eax, 0x1150
call fcn.1400877d0
sub rsp, rax
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], 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 dword [rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x10]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x1400748a5
cmp eax, 0xc0000022
je 0x1400748a5
cmp eax, 0xc000010a
je 0x1400748a5
test eax, eax
jne 0x140074894
cmp dword [rbp + 0x30], 0x1000
jne 0x140074894
cmp dword [rbp + 0x38], 0x1000000
jne 0x140074894
mov rbx, qword [rbp + 0x18]
cmp rdi, rbx
je 0x140074894
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x840]
mov r8d, 2
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
js 0x140074890
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
mov rax, qword [rsi]
mov qword [rsp + 0x20], r15
mov r9d, 0x800
lea r8, [rbp + 0x40]
mov rdx, qword [rbp + 0x18]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x140074396
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14007433c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140074337
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748e0
call fcn.140086344
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
mov word [rbp - 0x58], r15w
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
jbe 0x140074894
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14007438c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748e0
call fcn.140086344
jmp 0x140074894
movsxd rax, dword [rbp + 0x7c]
lea rax, [rbp + rax + 0x40]
cmp word [rbp + 0x40], r13w
jne 0x1400743e5
cmp dword [rax], 0x4550
jne 0x1400743e5
movzx ecx, word [rax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x1400743c8
mov eax, dword [rax + 0x50]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], r15d
jmp 0x14007443c
mov edx, 0x20b
cmp cx, dx
jne 0x1400742fc
mov eax, dword [rax + 0x50]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], 1
jmp 0x14007443c
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov rcx, qword [rbp + 0x18]
cmp rcx, r12
jae 0x140074435
nop dword [rax]
mov rax, qword [rsi]
lea r8, [rbp - 0x20]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
js 0x14007442c
cmp dword [rbp + 8], 0x1000000
jne 0x14007442c
mov rcx, qword [rbp - 0x20]
add rcx, qword [rbp - 8]
cmp rcx, r12
jb 0x140074400
jmp 0x140074435
mov eax, dword [rbp - 0x20]
sub eax, dword [rbp + 0x18]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], 3
xorps xmm0, xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x48], xmm0
cmp byte [rsi + 0x16], 1
jne 0x14007454a
mov edx, dword [rbp + 0x844]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140074465
lea rcx, [rsp + 0x48]
call fcn.1400523d0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140054de0
mov rbx, rax
lea rax, [rbp - 0x58]
cmp rax, rbx
je 0x140074500
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400744d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400744cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074543
call fcn.140086344
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140074630
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007462b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007462b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0x848]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140074551
lea rcx, [rsp + 0x48]
call fcn.1400523d0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140054de0
mov rbx, rax
lea rax, [rbp - 0x58]
cmp rax, rbx
je 0x1400745f0
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400745c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400745bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748d2
call fcn.140086344
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140074630
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007462b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748d2
call fcn.140086344
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x20]
call fcn.140054760
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x1400746b9
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140074689
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074684
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748d9
call fcn.140086344
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x1400746f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400746f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748d9
call fcn.140086344
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x30], r15
mov byte [rbp - 0x28], 0
mov ecx, WSACleanup
call fcn.1400860c0
mov rdi, rax
mov qword [rsp + 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 - 0x80]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x78]
call fcn.140052020
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x58]
call fcn.140052020
mov eax, dword [rbp - 0x38]
mov dword [rbx + 0x48], eax
mov eax, dword [rbp - 0x34]
mov dword [rbx + 0x4c], eax
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x50], rax
movzx eax, byte [rbp - 0x28]
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 0x1400747b4
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x1400747c2
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.14006d530
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140074803
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140074803
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 0x140074803
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140074843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007483e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748e0
call fcn.140086344
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140074890
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007488b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400748e0
call fcn.140086344
mov rdi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
add rcx, qword [rbp + 0x28]
cmp rcx, r12
jb 0x140074210
mov rax, r14
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140085f80
mov rbx, qword [rsp + 0x11a0]
add rsp, 0x1150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3