Function at 0x14009a8a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1130]
mov eax, 0x1230
call fcn.140110100
sub rsp, rax
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x1120], 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 + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], 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
lea r13d, [r14 + 7]
or r15, 0xffffffffffffffff
mov rax, qword [rsi]
lea r8, [rbp + 0x70]
mov rdx, rcx
mov rcx, rsi
call qword [rax + Ordinal_50]
cmp eax, 0xc000000d
je 0x14009acc2
cmp eax, 0xc0000022
je 0x14009acc2
cmp eax, 0xc000010a
je 0x14009acc2
test eax, eax
jne 0x14009aca4
mov ecx, 0x1000
cmp dword [rbp + 0x90], ecx
jne 0x14009aca4
cmp dword [rbp + 0x80], 1
je 0x14009aca4
test dword [rbp + 0x80], 0x100
jne 0x14009aca4
mov rdx, qword [rbp + 0x78]
cmp rbx, rdx
je 0x14009aca4
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], r13
mov word [rbp + 8], r14w
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r13
mov word [rbp + 0x28], r14w
mov rax, qword [rsi]
mov qword [rsp + 0x20], r14
mov r9d, ecx
lea r8, [rbp + 0x120]
mov rcx, rsi
call qword [rax + Ordinal_26]
test eax, eax
jne 0x14009ac92
movsxd rax, dword [rbp + 0x15c]
mov ecx, 0x5a4d
cmp word [rbp + 0x120], cx
jne 0x14009ac92
cmp dword [rbp + rax + 0x120], 0x4550
jne 0x14009ac92
mov ecx, 0x10b
cmp word [rbp + rax + 0x138], cx
jne 0x14009aa20
mov dword [rbp + 0x4c], r14d
jmp 0x14009aa36
mov ecx, 0x20b
cmp word [rbp + rax + 0x138], cx
jne 0x14009aa40
mov dword [rbp + 0x4c], 1
mov eax, dword [rbp + rax + 0x170]
mov dword [rbp + 0x48], eax
mov rdx, qword [rbp + 0x78]
mov qword [rbp], rdx
mov qword [rbp + 0x50], r14
mov byte [rbp + 0x58], r14b
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x120]
mov r8d, 2
mov rcx, rsi
call qword [rax + Ordinal_41]
test eax, eax
jne 0x14009aba9
xorps xmm0, xmm0
mov r8, r15
cmp byte [rsi + 0x16], 1
jne 0x14009aaf0
mov edx, dword [rbp + 0x124]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14009aa98
lea rcx, [rsp + 0x40]
call fcn.1400099b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400804a8
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x14009aaea
lea rcx, [rbp + 0x28]
call fcn.1400089c0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r13
mov word [rbx], r14w
lea rcx, [rbp - 0x68]
jmp 0x14009ab5c
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rdx, qword [rbp + 0x128]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14009ab06
lea rcx, [rsp + 0x60]
call fcn.1400099b0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.1400804a8
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x14009ab58
lea rcx, [rbp + 0x28]
call fcn.1400089c0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r13
mov word [rbx], r14w
lea rcx, [rbp - 0x48]
call fcn.1400089c0
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.14007fe6c
mov rbx, rax
lea rax, [rbp + 8]
cmp rax, rbx
je 0x14009ab9e
lea rcx, [rbp + 8]
call fcn.1400089c0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r13
mov word [rbx], r14w
lea rcx, [rbp - 0x28]
call fcn.1400089c0
jmp 0x14009ac14
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0xa0]
call fcn.140112010
mov r8, qword [rbp]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0xa0]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x14009abdf
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x28]
call fcn.140008ce0
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rbp + 8]
call fcn.140008ce0
lea rdx, [rbp]
lea rcx, [rbp - 0x78]
call fcn.1400833d0
mov r8, rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14009ac51
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 0x14009ac5a
mov rcx, rdi
call fcn.14007e59c
nop
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14009ac8e
mov eax, r15d
lock xadd dword [rbx + 8], eax
add eax, r15d
jne 0x14009ac8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
add eax, r15d
jne 0x14009ac8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x78]
lea rcx, [rbp + 0x28]
call fcn.1400089c0
lea rcx, [rbp + 8]
call fcn.1400089c0
mov rcx, qword [rbp + 0x70]
add rcx, qword [rbp + 0x88]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x14009a928
mov rax, rdi
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x1230]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret