Function at 0x1800012a8
Capabilities:
Access peb ldr_data
Inspect section memory permissions
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
xor esi, esi
mov dword [rbp - 0x69], 0xd33d4aed
xorps xmm0, xmm0
mov dword [rbp - 0x65], 6
lea rax, [rbp - 0x69]
mov dword [rbp - 0x39], 0xbc3f4d89
mov qword [rbp - 9], rax
mov r13, rcx
lea rax, [rbp - 0x39]
mov dword [rbp - 0x35], 5
mov qword [rbp - 1], rax
mov r15d, esi
lea eax, [rsi + 3]
mov dword [rbp - 0x21], 0x534d8ae8
mov dword [rbp - 0x1d], eax
mov r12d, esi
lea rax, [rbp - 0x21]
mov dword [rbp - 0x51], 0x8169adc3
mov qword [rbp + 7], rax
mov r14d, esi
lea eax, [rsi + 4]
mov qword [rbp - 0x79], rsi
mov dword [rbp - 0x4d], eax
lea rax, [rbp - 0x51]
mov qword [rbp + 0xf], rax
movups xmmword [rbp - 0x61], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 0x49], xmm0
call fcn.180001908
mov rdi, rax
lea edx, [rsi + 1]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x18000136f
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax - 0x40]
cmp rcx, 0x3bf
ja 0x18000136f
cmp dword [rax + rdi], 0x4550
je 0x180001374
sub rdi, rdx
jmp 0x18000134b
mov rax, qword gs:[0x60]
mov qword [rbp + 0x7f], rax
mov qword [rsp + 0x48], rdi
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x7f], rax
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1800014c1
mov ebx, 0xffff
mov rcx, qword [r8 + 0x50]
mov rax, rsi
mov qword [rbp + 0x77], rcx
mov r9, rcx
movzx r11d, word [r8 + 0x48]
mov r10, rcx
movzx edx, byte [rcx]
ror eax, 0xd
cmp dl, 0x61
jb 0x1800013c7
add rax, 0xffffffffffffffe0
jmp 0x1800013ca
mov r9, r10
lea rcx, [r9 + 1]
add rax, rdx
mov qword [rbp + 0x77], rcx
mov r9, rcx
mov r10, rcx
add r11w, bx
jne 0x1800013b6
cmp eax, 0x6a4abc5b
jne 0x180001493
mov rdx, qword [r8 + 0x20]
mov r14d, 2
mov qword [rbp + 0x7f], rdx
movzx esi, r14w
mov edi, 0xffff
movsxd rax, dword [rdx + 0x3c]
mov ebx, dword [rax + rdx + 0x88]
mov r9d, dword [rbx + rdx + 0x20]
mov r10d, dword [rbx + rdx + 0x24]
add r9, rdx
add r10, rdx
xor r13d, r13d
mov r11d, dword [r9]
mov ecx, r13d
add r11, rdx
mov al, byte [r11]
inc r11
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [r11]
test al, al
jne 0x18000142d
cmp ecx, 0xec0e4e8e
je 0x18000144f
cmp ecx, 0x7c0dfcaa
jne 0x18000147d
mov eax, dword [rbx + rdx + 0x1c]
movzx r11d, word [r10]
add rax, rdx
cmp ecx, 0xec0e4e8e
jne 0x18000146b
mov r15d, dword [rax + r11*4]
add r15, rdx
jmp 0x18000147a
cmp ecx, 0x7c0dfcaa
jne 0x18000147a
mov r12d, dword [rax + r11*4]
add r12, rdx
add si, di
add r9, 4
add r10, r14
test si, si
jne 0x180001421
mov r14, qword [rbp - 0x79]
xor esi, esi
mov ebx, edi
jmp 0x1800014a2
cmp eax, 0x3cfa685d
jne 0x1800014a2
mov r14, qword [r8 + 0x20]
mov qword [rbp - 0x79], r14
test r15, r15
je 0x1800014ac
test r12, r12
jne 0x1800014b8
mov r8, qword [r8]
test r8, r8
jne 0x1800013a0
mov rdi, qword [rsp + 0x48]
mov r13, qword [rbp + 0x67]
mov r8d, 4
lea rdx, [rbp - 9]
mov rcx, r14
call fcn.180001910
test eax, eax
je 0x1800018cc
movsxd rbx, dword [rdi + 0x3c]
lea r8, [rbp + 0x7f]
add rbx, rdi
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x3000
lea rcx, [rbp - 0x69]
xor r9d, r9d
mov qword [rsp + 0x48], rbx
or rdx, 0xffffffffffffffff
mov eax, dword [rbx + 0x50]
mov qword [rbp - 0x71], rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x7f], rsi
call fcn.180001ab8
test eax, eax
jne 0x1800018cc
lea r14d, [rax + 1]
or rdx, 0xffffffffffffffff
lea r9, [rbp - 0x71]
mov dword [rsp + 0x20], r14d
lea r8, [rbp + 0x7f]
lea rcx, [rbp - 0x51]
call fcn.180001b44
mov eax, dword [rbx + 0x54]
mov rcx, rdi
mov rdx, qword [rbp + 0x7f]
mov r8d, eax
mov qword [rbp + 0x77], rcx
test eax, eax
je 0x180001575
mov al, byte [rcx]
mov byte [rdx], al
add rdx, r14
mov rcx, qword [rbp + 0x77]
add rcx, r14
mov qword [rbp + 0x77], rcx
sub r8, r14
jne 0x18000155a
mov rdx, qword [rbp + 0x7f]
movzx r10d, word [rbx + 6]
movzx eax, word [rbx + 0x14]
test r10, r10
je 0x1800015e1
lea r8, [rbx + 0x2c]
add r8, rax
mov ecx, dword [r8 - 8]
sub r10, r14
add rcx, rdx
mov qword [rbp + 0x77], rcx
mov r9d, dword [r8]
mov eax, dword [r8 - 4]
add r9, rdi
test rax, rax
je 0x1800015d0
sub rax, r14
mov qword [rsp + 0x40], rax
mov al, byte [r9]
add r9, r14
mov byte [rcx], al
mov rcx, qword [rbp + 0x77]
mov rax, qword [rsp + 0x40]
add rcx, r14
mov qword [rbp + 0x77], rcx
test rax, rax
jne 0x1800015a7
mov rdx, qword [rbp + 0x7f]
sub rax, r14
add r8, 0x28
mov qword [rsp + 0x40], rax
test r10, r10
jne 0x18000158a
lea rax, [rbx + 0x90]
mov ecx, 8
mov qword [rbp + 0x77], rax
mov edi, dword [rax]
add rdi, rdx
cmp dword [rdi], esi
je 0x1800016ad
mov r13d, ecx
mov ecx, dword [rdi + 0xc]
add rcx, rdx
call r15
mov rdx, qword [rbp + 0x7f]
mov r14, rax
test rax, rax
je 0x180001694
mov ecx, dword [rdi]
add rcx, rdx
mov qword [rsp + 0x40], rcx
mov esi, dword [rdi + 0x10]
add rsi, rdx
xor eax, eax
cmp qword [rsi], rax
je 0x180001692
test rcx, rcx
je 0x180001662
mov r8, qword [rcx]
test r8, r8
jns 0x180001662
movsxd rax, dword [r14 + 0x3c]
movzx edx, r8w
mov ecx, dword [rax + r14 + 0x88]
mov eax, dword [rcx + r14 + 0x10]
mov ecx, dword [rcx + r14 + 0x1c]
sub rdx, rax
add rcx, r14
mov eax, dword [rcx + rdx*4]
add rax, r14
jmp 0x180001672
mov rax, qword [rsi]
mov rcx, r14
add rax, 2
add rdx, rax
call r12
mov qword [rsi], rax
add rsi, r13
mov rcx, qword [rsp + 0x40]
xor eax, eax
test rcx, rcx
je 0x18000168c
add rcx, r13
mov qword [rsp + 0x40], rcx
mov rdx, qword [rbp + 0x7f]
jmp 0x180001628
xor esi, esi
add rdi, 0x14
cmp dword [rdi], esi
jne 0x180001601
mov r13, qword [rbp + 0x67]
mov ecx, 8
lea r14d, [rcx - 7]
lea rax, [rbx + 0xb0]
mov r11, rdx
sub r11, qword [rbx + 0x30]
mov qword [rbp + 0x77], rax
cmp dword [rax + 4], esi
je 0x180001790
mov r10d, dword [rax]
mov r13d, 2
mov edi, dword [rax + 4]
add r10, rdx
mov r15d, 0xfff
lea r12d, [r13 + 1]
cmp dword [r10 + 4], esi
je 0x18000178c
mov r9d, dword [r10]
lea rax, [r10 + 8]
mov r8d, dword [r10 + 4]
add r9, rdx
sub r8, rcx
mov qword [rsp + 0x40], rax
shr r8, 1
je 0x180001775
mov rax, qword [rsp + 0x40]
sub r8, r14
mov qword [rbp + 0x77], r8
movzx ecx, word [rax]
movzx eax, cx
shr ax, 0xc
cmp ax, 0xa
jne 0x18000172b
and rcx, r15
add qword [rcx + r9], r11
jmp 0x18000175f
cmp ax, r12w
jne 0x18000173a
and rcx, r15
add dword [rcx + r9], r11d
jmp 0x18000175f
cmp ax, r14w
jne 0x180001751
and rcx, r15
mov rax, r11
shr rax, 0x10
add word [rcx + r9], ax
jmp 0x18000175f
cmp ax, r13w
jne 0x180001763
and rcx, r15
add word [rcx + r9], r11w
mov r8, qword [rbp + 0x77]
add qword [rsp + 0x40], r13
test r8, r8
jne 0x180001706
mov rdx, qword [rbp + 0x7f]
lea ecx, [r8 + 8]
sub r8, r14
mov qword [rbp + 0x77], r8
mov eax, dword [r10 + 4]
add r10, rax
sub rdi, rax
jne 0x1800016e1
mov r13, qword [rbp + 0x67]
movzx esi, word [rbx + 6]
xor r14d, r14d
movzx eax, word [rbx + 0x14]
test rsi, rsi
je 0x1800018a0
lea rdi, [rbx + 0x3c]
mov r12d, 0xc0000000
add rdi, rax
lea ebx, [r14 + 2]
lea r13d, [r14 + 1]
lea r15d, [r14 + 8]
mov eax, dword [rdi - 0x18]
sub rsi, r13
add rax, rdx
mov dword [rbp + 0x6f], r14d
mov qword [rbp + 0x77], rax
mov ecx, r14d
cmp dword [rdi], r14d
mov r8d, 0x80
cmovl ecx, r15d
mov dword [rbp + 0x6f], ecx
test dword [rdi], 0x40000000
cmovne ecx, ebx
mov dword [rbp + 0x6f], ecx
mov eax, dword [rdi]
and eax, r12d
cmp eax, r12d
mov eax, 4
cmove ecx, eax
mov eax, reloc.WS2_32.dll_recv
mov dword [rbp + 0x6f], ecx
test dword [rdi], 0x20000000
cmovne ecx, eax
mov dword [rbp + 0x6f], ecx
mov eax, dword [rdi]
and eax, 0xa0000000
cmp eax, 0xa0000000
cmove ecx, r8d
mov r8d, 0x20
mov dword [rbp + 0x6f], ecx
mov eax, dword [rdi]
and eax, 0x60000000
cmp eax, 0x60000000
cmove ecx, r8d
mov r8d, 0x40
mov dword [rbp + 0x6f], ecx
mov eax, dword [rdi]
and eax, 0xe0000000
cmp eax, 0xe0000000
cmove ecx, r8d
mov dword [rbp + 0x6f], ecx
mov eax, dword [rdi - 0x14]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18000188a
lea rax, [rbp + 0x6f]
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], ecx
lea r8, [rbp + 0x77]
lea rcx, [rbp - 0x39]
call fcn.180001b84
mov rdx, qword [rbp + 0x7f]
add rdi, 0x28
test rsi, rsi
jne 0x1800017bd
mov rbx, qword [rsp + 0x48]
mov r13, qword [rbp + 0x67]
mov ebx, dword [rbx + 0x28]
lea rcx, [rbp - 0x21]
add rbx, rdx
xor r9d, r9d
or rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.180001b0c
mov rcx, qword [rbp + 0x7f]
mov r8, r13
mov edx, 1
call rbx
mov rax, rbx
jmp 0x1800018ce
xor eax, eax
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret