Function at 0x14007c700
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.1400f5a40
sub rsp, rax
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x78], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov ebx, r12d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov esi, 1
mov dword [rsp + 0x30], esi
mov ecx, 0x10000
mov edi, 0x5a4d
mov r13d, 0x20b
nop word [rax + rax]
mov rax, qword [r14]
lea r8, [rbp + 0x10]
mov rdx, rcx
mov rcx, r14
call qword [rax + Ordinal_50]
cmp eax, 0xc000000d
je 0x14007cd5c
cmp eax, 0xc0000022
je 0x14007cd5c
cmp eax, 0xc000010a
je 0x14007cd5c
test eax, eax
jne 0x14007cd41
cmp dword [rbp + 0x30], 0x1000
jne 0x14007cd41
mov eax, dword [rbp + 0x20]
cmp eax, 1
je 0x14007cd41
bt eax, 8
jb 0x14007cd41
mov rdx, qword [rbp + 0x18]
cmp rbx, rdx
je 0x14007cd41
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rax, qword [r14]
mov qword [rsp + 0x20], r12
mov r9d, 0x1000
lea r8, [rbp + 0xc0]
mov rcx, r14
call qword [rax + Ordinal_26]
test eax, eax
jne 0x14007cd2f
movsxd rax, dword [rbp + 0xfc]
lea rax, [rbp + rax + 0xc0]
cmp word [rbp + 0xc0], di
jne 0x14007cd2f
cmp dword [rax], 0x4550
jne 0x14007cd2f
movzx ecx, word [rax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x14007c885
mov dword [rbp - 4], r12d
jmp 0x14007c892
cmp cx, r13w
jne 0x14007c898
mov dword [rbp - 4], 1
mov eax, dword [rax + 0x50]
mov dword [rbp - 8], eax
mov rdx, qword [rbp + 0x18]
mov qword [rbp - 0x50], rdx
mov qword [rbp], r12
mov byte [rbp + 8], 0
mov rax, qword [r14]
mov qword [rsp + 0x20], 0x1000
lea r9, [rbp + 0xc0]
mov r8d, 2
mov rcx, r14
call qword [rax + Ordinal_41]
xorps xmm0, xmm0
test eax, eax
jne 0x14007cb95
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x58], xmm0
cmp byte [r14 + 0x16], 1
jne 0x14007c96e
mov edx, dword [rbp + 0xc4]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007c8f5
lea rcx, [rsp + 0x58]
call fcn.14005af40
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.14005d570
mov rbx, rax
lea rax, [rbp - 0x28]
cmp rax, rbx
je 0x14007ca14
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14007c9e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c9df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007c9df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0xc8]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007c975
lea rcx, [rsp + 0x58]
call fcn.14005af40
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.14005d570
mov rbx, rax
lea rax, [rbp - 0x28]
cmp rax, rbx
je 0x14007ca14
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14007c9e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c9df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007cd89
call fcn.1400f4de8
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov qword [rbx + 0x18], 7
lea rcx, [rbp - 0x78]
call fcn.14005a690
mov r9, qword [rbp - 0x18]
lea rdx, [rbp - 0x28]
test r9, r9
jne 0x14007ca3c
lea rcx, [rsp + 0x38]
call fcn.14005a500
or esi, 4
jmp 0x14007cb1c
mov r10, qword [rbp - 0x28]
mov r11, qword [rbp - 0x10]
cmp r11, 7
cmova rdx, r10
lea rax, [r9 - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
lea r8, [rcx + rcx]
lea rax, [rdx + r8]
cmp word [rax], 0x5c
je 0x14007ca7f
nop dword [rax]
cmp rax, rdx
je 0x14007ca8b
sub rax, 2
cmp word [rax], 0x5c
jne 0x14007ca70
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14007cacf
lea rcx, [rbp - 0x28]
cmp r11, 7
cmova rcx, r10
lea rax, [r8 + rcx]
cmp word [rax], 0x2f
je 0x14007cab0
cmp rax, rcx
je 0x14007cabc
sub rax, 2
cmp word [rax], 0x2f
jne 0x14007caa1
sub rax, rcx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14007cacf
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x38]
call fcn.14005a500
or esi, 4
jmp 0x14007cb1c
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
cmp r9, rcx
jb 0x14007cd97
sub r9, rcx
mov r8, 0xffffffffffffffff
cmp r9, r8
cmovb r8, r9
lea rax, [rbp - 0x28]
cmp r11, 7
cmova rax, r10
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x38]
call fcn.14005af40
or esi, 0xc
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14007cb60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007cb5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007cd90
call fcn.1400f4de8
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x38], xmm1
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
lea rcx, [rsp + 0x38]
call fcn.14005a690
jmp 0x14007cc14
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov r8, qword [rbp - 0x50]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14007cbe1
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.14005a700
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp - 0x48]
call fcn.14005a700
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.1400f4f3c
mov rdi, rax
mov qword [rbp - 0x80], 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 - 0x50]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x48]
call fcn.14005a500
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x28]
call fcn.14005a500
mov eax, dword [rbp - 8]
mov dword [rbx + 0x48], eax
mov eax, dword [rbp - 4]
mov dword [rbx + 0x4c], eax
mov rax, qword [rbp]
mov qword [rbx + 0x50], rax
movzx eax, byte [rbp + 8]
mov byte [rbx + 0x58], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
or esi, 2
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14007ccc0
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
movdqu xmmword [rsp + 0x38], xmm0
add qword [r15 + 8], 0x10
jmp 0x14007ccce
lea r8, [rsp + 0x38]
mov rcx, r15
call fcn.14007da60
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14007cd12
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007cd0e
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 0x14007cd0e
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov esi, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.14005a690
lea rcx, [rbp - 0x48]
call fcn.14005a690
mov edi, 0x5a4d
jmp 0x14007cd41
lea rcx, [rbp - 0x28]
call fcn.14005a690
lea rcx, [rbp - 0x48]
call fcn.14005a690
mov rcx, qword [rbp + 0x10]
add rcx, qword [rbp + 0x28]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x14007c790
mov rax, r15
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.1400f4b80
mov rbx, qword [rsp + 0x1220]
add rsp, 0x11d0
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]
int3
call fcn.14005d7b0
int3