Function at 0x14009a4a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10e0]
mov eax, 0x11e0
call fcn.140110100
sub rsp, rax
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x80], rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov ebx, r14d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov dword [rsp + 0x30], 1
mov ecx, 0x10000
movabs r12, 0x7ffffffeffff
or r15, 0xffffffffffffffff
mov rax, qword [rsi]
lea r8, [rbp]
mov rdx, rcx
mov rcx, rsi
call qword [rax + Ordinal_50]
cmp eax, 0xc000000d
je 0x14009a871
cmp eax, 0xc0000022
je 0x14009a871
cmp eax, 0xc000010a
je 0x14009a871
test eax, eax
jne 0x14009a860
mov eax, 0x1000
cmp dword [rbp + 0x20], eax
jne 0x14009a860
cmp dword [rbp + 0x28], 0x1000000
jne 0x14009a860
cmp rbx, qword [rbp + 8]
je 0x14009a860
mov r8d, eax
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.140112010
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x8d0]
mov r8d, 2
mov rdx, qword [rbp + 8]
mov rcx, rsi
call qword [rax + Ordinal_41]
test eax, eax
js 0x14009a85c
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r14
mov eax, 7
mov qword [rbp + 0x50], rax
mov word [rbp + 0x38], r14w
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], rax
mov word [rbp + 0x58], r14w
mov rax, qword [rsi]
mov qword [rsp + 0x20], r14
mov r9d, 0x800
lea r8, [rbp + 0xd0]
mov rdx, qword [rbp + 8]
mov rcx, rsi
call qword [rax + Ordinal_26]
test eax, eax
je 0x14009a626
lea rcx, [rbp + 0x58]
call fcn.1400089c0
lea rcx, [rbp + 0x38]
call fcn.1400089c0
jmp 0x14009a860
movsxd rax, dword [rbp + 0x10c]
mov ecx, 0x5a4d
cmp word [rbp + 0xd0], cx
jne 0x14009a68c
cmp dword [rbp + rax + 0xd0], 0x4550
jne 0x14009a68c
mov ecx, 0x10b
cmp word [rbp + rax + 0xe8], cx
jne 0x14009a66a
mov eax, dword [rbp + rax + 0x120]
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], r14d
jmp 0x14009a6f5
mov ecx, 0x20b
cmp word [rbp + rax + 0xe8], cx
jne 0x14009a60f
mov eax, dword [rbp + rax + 0x120]
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], 1
jmp 0x14009a6f5
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rcx, qword [rbp + 8]
jmp 0x14009a6db
mov rax, qword [rsi]
lea r8, [rbp + 0xa0]
mov rdx, rcx
mov rcx, rsi
call qword [rax + Ordinal_50]
test eax, eax
js 0x14009a6e2
cmp dword [rbp + 0xc8], 0x1000000
jne 0x14009a6e2
mov rcx, qword [rbp + 0xa0]
add rcx, qword [rbp + 0xb8]
cmp rcx, r12
jb 0x14009a6aa
jmp 0x14009a6ee
mov eax, dword [rbp + 0xa0]
sub eax, dword [rbp + 8]
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], 3
xorps xmm0, xmm0
mov r8, r15
cmp byte [rsi + 0x16], 1
jne 0x14009a74a
mov edx, dword [rbp + 0x8d4]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14009a716
lea rcx, [rsp + 0x40]
call fcn.1400099b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400804a8
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.14004b590
lea rcx, [rbp - 0x68]
jmp 0x14009a792
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rdx, qword [rbp + 0x8d8]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14009a760
lea rcx, [rsp + 0x60]
call fcn.1400099b0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.1400804a8
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.14004b590
lea rcx, [rbp - 0x48]
call fcn.1400089c0
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.14007fe6c
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.14004b590
lea rcx, [rbp - 0x28]
call fcn.1400089c0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x80], r14
mov byte [rbp + 0x88], r14b
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.1400833d0
mov r8, rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14009a80c
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov rax, qword [rax]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8], r14
mov qword [r8 + 8], r14
add qword [rdi + 8], 0x10
jmp 0x14009a815
mov rcx, rdi
call fcn.14007e59c
nop
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14009a84a
mov eax, r15d
lock xadd dword [rbx + 8], eax
add eax, r15d
jne 0x14009a84a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
add eax, r15d
jne 0x14009a84a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x58]
call fcn.1400089c0
lea rcx, [rbp + 0x38]
call fcn.1400089c0
mov rbx, qword [rbp + 8]
mov rcx, qword [rbp + 0x18]
add rcx, qword [rbp]
cmp rcx, r12
jb 0x14009a528
mov rax, rdi
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x11e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret