Function at 0x14000d1e0
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14009a080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x60], rax
xor ebp, ebp
mov qword [r11 - 0x58], rbp
mov qword [r11 - 0x48], rbp
mov r15, qword [0x14009dea0]
mov qword [rsp + 0x38], r15
mov eax, 0x5a4d
cmp word [0x14009a120], ax
jne 0x14000d2b5
movsxd rsi, dword [0x14009a15c]
lea rax, [0x14009a120]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x14000d2b5
mov eax, 0x20b
cmp word [rsi + 0x18], ax
jne 0x14000d2b5
mov ebx, dword [rsi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rbp + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x14000d2b5
movzx ecx, word [rsi + 0x14]
mov r13d, dword [rcx + rsi + 0x24]
sub ebx, r13d
mov r12d, ebx
jne 0x14000d2e8
mov rdi, rbp
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, rdi
mov rcx, r15
call fcn.14000a5f0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140071f20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14009dec4], eax
jle 0x14000d3b2
lea rcx, [0x14009dec4]
call fcn.140071fe8
cmp dword [0x14009dec4], 0xffffffff
jne 0x14000d3b2
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, [0x140084960]
lea rcx, [rsp + 0x40]
call fcn.140006c10
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x14009db68]
mov rcx, r15
call fcn.14000a700
mov qword [0x14009df28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000d3a6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d3a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400722dc
nop
lea rcx, [0x14009dec4]
call fcn.140071f7c
cmp qword [0x14009df28], 0
je 0x14000d296
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14000c280
test al, al
je 0x14000d296
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14000d299
mov r8d, dword [rsi + 0x54]
lea rdx, [0x14009a120]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
xor eax, eax
cmp ax, word [rsi + 6]
jae 0x14000d450
add rbx, rsi
lea r15, [0x14009a120]
nop word [rax + rax]
test dword [rbx + 0x14], 0x80
ja 0x14000d43d
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r15
mov ecx, dword [rbx - 4]
add rcx, r14
call sub.VCRUNTIME140.dll_memcpy
inc ebp
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp ebp, eax
jl 0x14000d420
mov r15, qword [rsp + 0x38]
mov rbp, rdi
sub rbp, r13
mov rbx, rbp
sub rbx, qword [rsi + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000deb0
mov rdx, rbx
mov rcx, rax
call fcn.14000d540
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000e000
mov rdx, rax
mov rcx, r15
call fcn.14000d640
test al, al
je 0x14000d299
lea r8, [r14 + r13]
mov r9, r12
mov rdx, rdi
mov rcx, r15
call fcn.14000a3d0
test al, al
je 0x14000d299
mov ebx, dword [rsi + 0x28]
add rbx, rbp
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9, r12
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.1400037c0
test al, al
je 0x14000d299
mov dword [rsp + 0x30], esi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14000da30
test al, al
je 0x14000d299
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000d51a
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14000d2b7