Function at 0x140066f20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r13, r9
mov rdi, r8
mov qword [rbp + 0x80], r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rbp + 0x380]
mov qword [rsp + 0x38], rax
xor r12d, r12d
mov qword [rbp - 0x40], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov eax, 7
mov qword [rbp - 0x20], rax
mov word [rbp - 0x38], r12w
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r12
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], r12b
mov dword [rbp + 8], r12d
mov rbx, qword [r8]
test rbx, rbx
jne 0x140066fc7
mov dword [rdx], 0xc00000ef
mov byte [rdx + 0x58], bl
jmp 0x1400672ab
movups xmmword [rbp + 0x90], xmm0
mov rax, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp + 0x90], rax
mov rsi, r12
mov qword [rbp + 0x98], r12
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r15 + 8]
mov qword [rbp + 0x78], r12
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x78]
mov qword [rsp + 0x20], rdx
mov r9d, 0x40
lea r8, [rbp + 0xc0]
mov rdx, rbx
call qword [rax + Ordinal_26]
mov eax, 0x5a4d
cmp word [rbp + 0xc0], ax
je 0x140067064
mov dword [r14], 0xc000012f
mov byte [r14 + 0x58], 0
jmp 0x1400672ab
mov rax, qword [r15 + 8]
movsxd rdx, dword [rbp + 0xfc]
add rdx, qword [rdi]
mov qword [rbp + 0x78], r12
je 0x14006709c
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x78]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rbp + 0x100]
call qword [rax + Ordinal_26]
cmp dword [rbp + 0x100], 0x4550
je 0x1400670b9
mov dword [r14], 0xc000007b
mov byte [r14 + 0x58], 0
jmp 0x1400672ab
mov ebx, dword [rbp + 0x188]
mov edx, 0x10b
mov rax, qword [rbp + 0x118]
cmp ax, dx
cmove ebx, dword [rbp + 0x178]
mov r12d, ebx
test ebx, ebx
je 0x140067290
mov ecx, dword [rbp + 0x18c]
cmp ax, dx
cmove ecx, dword [rbp + 0x17c]
mov dword [rbp + 0x78], ecx
mov r15d, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rdi, rax
mov qword [rbp + 0x98], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov rax, qword [rbp + 0x80]
mov rdx, qword [rax]
mov qword [rbp + 0x10], 0
add rdx, r12
jne 0x140067130
mov eax, 0xc0000141
jmp 0x140067151
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r8
mov r9, r15
mov r8, rsi
call qword [rax + Ordinal_26]
test eax, eax
jns 0x14006715e
mov dword [r14], eax
mov byte [r14 + 0x58], 0
jmp 0x14006729c
mov r10, rsi
mov r15d, dword [rbp + 0x78]
cmp r15d, 0x28
ja 0x140067204
mov ecx, dword [rsi + 0x14]
cmp ecx, dword [rsi + 0x18]
cmovbe ecx, dword [rsi + 0x18]
imul r15d, ecx, 0xff
add r15d, dword [rsi + 0x24]
sub r15d, ebx
mov ebx, r15d
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rbp + 0x98], rax
test rdi, rdi
je 0x1400671ac
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov rax, qword [rbp + 0x80]
mov rdx, qword [rax]
mov qword [rbp + 0x10], 0
add rdx, r12
jne 0x1400671d3
mov eax, 0xc0000141
jmp 0x1400671f7
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r8
mov r9, rbx
mov r8, rsi
call qword [rax + Ordinal_26]
mov r10, rsi
test eax, eax
jns 0x140067204
mov dword [r14], eax
mov byte [r14 + 0x58], 0
jmp 0x14006729c
mov ebx, dword [r10 + 0x24]
sub rbx, r12
add rbx, r10
mov edi, dword [r10 + 0x20]
sub rdi, r12
add rdi, r10
mov eax, dword [r10 + 0x1c]
sub rax, r12
add rax, r10
mov qword [rbp + 0x10], rax
xor r8d, r8d
cmp dword [r10 + 0x14], r8d
jbe 0x140067290
nop
cmp r13, 0xffff
ja 0x14006724d
movzx r11d, r8w
movzx ecx, r8w
add ecx, dword [r10 + 0x10]
movzx eax, r13w
cmp eax, ecx
jmp 0x140067285
cmp r8d, dword [r10 + 0x18]
jae 0x140067d16
mov ecx, dword [rdi + r8*4]
sub rcx, r12
add rcx, r10
movzx r11d, word [rbx + r8*2]
mov r9, r13
sub r9, rcx
nop dword [rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r9]
sub edx, eax
jne 0x140067283
inc rcx
test eax, eax
jne 0x140067270
test edx, edx
je 0x1400672e1
inc r8d
cmp r8d, dword [r10 + 0x14]
jb 0x140067230
mov dword [r14], 0xc0000225
mov byte [r14 + 0x58], 0
test rsi, rsi
je 0x1400672ab
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x40]
call fcn.140063d70
mov rax, r14
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400f79b0
mov rbx, qword [rsp + 0x478]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x80]
mov rdx, qword [rax]
movzx eax, r11w
mov rcx, qword [rbp + 0x10]
mov ebx, dword [rcx + rax*4]
add rbx, rdx
mov qword [rbp - 0x40], rbx
lea rax, [r12 + rdx]
cmp rbx, rax
jb 0x140067cb2
mov eax, r15d
add rax, r12
add rax, rdx
cmp rbx, rax
ja 0x140067cb2
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
xor r15d, r15d
mov qword [rbp + 0x10], r15
test rbx, rbx
je 0x14006736c
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0xff
lea r8, [rbp + 0x210]
mov rdx, rbx
call qword [rax + Ordinal_26]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r15
lea rax, [rbp + 0x210]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140067390
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x18]
call fcn.1400565b0
nop
lea rbx, [rbp + 0x18]
mov r13, qword [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rbx, r13
mov r12, qword [rbp + 0x28]
cmp r12, 1
jb 0x140067407
lea r15, [r12 + rbx]
mov r8, r12
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140067404
nop
cmp byte [rax], 0x2e
je 0x14006747e
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400673e0
xor r15d, r15d
mov rax, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp r12, rax
cmovb rax, r12
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, r13
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.1400565b0
nop
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140067486
lea rax, [rcx + 4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x40]
mov dword [rax + rcx], 0x6c6c642e
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x40]
jmp 0x1400674a8
sub rax, rbx
xor r15d, r15d
jmp 0x14006740a
mov qword [rsp + 0x20], 4
lea r9, str..dll
xor r8d, r8d
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1400566b0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140067521
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006751c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006751c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
movdqa xmm0, xmmword [0x140185320]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rbx, [rbp + 0x18]
mov r13, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
cmova rbx, r13
mov r15, qword [rbp + 0x28]
cmp r15, 1
jb 0x140067598
lea r12, [rbx + r15]
mov r8, r15
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140067594
nop dword [rax + rax]
cmp byte [rax], 0x2e
je 0x140067630
inc rax
mov r8, r12
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140067570
mov rdx, qword [rbp + 0x30]
mov rax, rdi
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xor r12d, r12d
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
cmp r15, rcx
jb 0x140067d27
sub r15, rcx
mov r8, rdi
cmp r15, rdi
cmovb r8, r15
lea rax, [rbp + 0x18]
cmp rdx, 0xf
cmova rax, r13
lea rdx, [rax + rcx]
lea rcx, [rbp + 0x38]
call fcn.1400565b0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x58]
call fcn.140066000
nop
mov byte [rbp + 0xa], 1
mov r15, qword [rbp + 0x68]
lea r9, [rbp + 0x58]
cmp qword [rbp + 0x70], 7
cmova r9, qword [rbp + 0x58]
mov eax, 7
cmp r15, rax
ja 0x14006763c
lea rbx, [rbp - 0x38]
mov qword [rbp - 0x28], r15
lea r8, [r15 + r15]
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r15*2], r12w
jmp 0x140067648
sub rax, rbx
mov rdx, qword [rbp + 0x30]
jmp 0x14006759b
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.140064300
lea rbx, [rbp + 0x38]
mov r13, qword [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rbx, r13
mov r12, qword [rbp + 0x48]
cmp r12, 1
jb 0x1400676a4
lea r15, [rbx + r12]
mov r8, r12
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400676a4
nop dword [rax]
cmp byte [rax], 0x23
je 0x1400677f1
inc rax
mov r8, r15
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140067680
mov byte [rbp + 0xb], 0
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, r13
mov r8, r12
lea rcx, [rbp - 0x18]
call fcn.140069da0
movzx ebx, byte [rbp + 0xb]
movzx r15d, word [rbp + 8]
xor r12d, r12d
mov eax, r12d
mov ecx, 0x10b
cmp word [rbp + 0x118], cx
setne al
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x80]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.140066aa0
nop
cmp qword [rbp + 0x80], r12
jne 0x140067946
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.140063c40
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x70]
call fcn.140045620
movzx eax, word [rbp + 8]
mov word [rbp - 0x50], ax
movzx eax, byte [rbp + 0xa]
mov byte [rbp - 0x4e], al
movzx eax, byte [rbp + 0xb]
mov byte [rbp - 0x4d], al
mov r8d, 0x107
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.1400699f0
nop
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x1400677b3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400677ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400677ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rbp + 0x98]
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x14006782a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067825
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067825
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rax, rbx
sete bl
mov byte [rbp + 0xb], bl
test rax, rax
jne 0x1400676a8
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rcx, r13
inc rcx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r15d, eax
mov word [rbp + 8], ax
jmp 0x1400676ca
call fcn.1400f7d6c
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140067879
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067874
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1400678cd
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400678c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400678c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
movdqa xmm0, xmmword [0x140185320]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140067922
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006791d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006791d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
test rsi, rsi
je 0x140067941
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
jmp 0x1400672ab
lea rax, [rbp + 0x58]
lea r8, [rbp + 0x80]
mov rdx, r14
mov rcx, r13
test bl, bl
je 0x140067af6
cmp qword [rbp + 0x70], 7
cmova rax, qword [rbp + 0x58]
movzx r9d, r15w
mov qword [rsp + 0x20], rax
call fcn.140066ef0
nop
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x1400679b2
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400679ab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400679ab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rbp + 0x98]
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x1400679f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400679ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067b8a
call fcn.1400f7d6c
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140067a3e
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067bd9
call fcn.1400f7d6c
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140067a8f
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067a8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067c2d
call fcn.1400f7d6c
movdqa xmm0, xmmword [0x140185320]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140067ae1
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067adc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067c82
call fcn.1400f7d6c
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
jmp 0x140067c9e
cmp qword [rbp + 0x70], 7
cmova rax, qword [rbp + 0x58]
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r9, qword [rbp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140066ef0
nop
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x140067b53
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140067b4c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140067b4c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rbp + 0x98]
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140067b96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067b91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067b91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140067be5
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067be0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067be0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140067c39
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067c34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
movdqa xmm0, xmmword [0x140185320]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140067c8e
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067c89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067c89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
test rsi, rsi
je 0x140067cad
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
jmp 0x1400672ab
mov qword [rsp + 0x68], rbx
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x80], xmm0
xor r9d, r9d
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r9w
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 8], r9
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], r9b
mov dword [rbp - 0x50], r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.1400699f0
nop
jmp 0x14006729c
mov dword [r14], 0xc0000225
mov byte [r14 + 0x58], 0
jmp 0x14006729c
call fcn.140056590
int3