Function at 0x1800221f0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x100]
add rax, 8
mov r8, rax
mov rax, qword [rsp + 0x100]
mov edx, dword [rax]
mov rax, qword [rsp + 0x100]
mov ecx, dword [rax + 4]
call fcn.1800c1490
test eax, eax
je 0x180022243
xor al, al
jmp 0x18002251c
mov dword [rsp + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x68], 0x40
mov dword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.18002ca30
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.18002ca10
mov qword [rsp + 0x88], rax
jmp 0x1800222a0
mov rax, qword [rsp + 0x40]
add rax, 0x20
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x40], rax
je 0x18002251a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x100]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
add rax, 0x10
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
lea r9, [rsp + 0xd8]
mov r8d, dword [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022316
xor al, al
jmp 0x18002251c
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8d, ecx
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
call fcn.1800c1c40
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x38], 0
jmp 0x180022374
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x38], rax
jae 0x1800224d6
imul rax, qword [rsp + 0x38], 0xf0
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0xde
je 0x1800223c1
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0xdf
jne 0x1800224d1
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rcx, [rsp + 0xb0]
call fcn.18002d130
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xac], eax
mov dword [rsp + 0xa8], 0
mov byte [rsp + 0x31], 1
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
cmp eax, 0xcc
je 0x180022440
movzx eax, byte [rsp + 0x30]
cmp eax, 0xf1
jne 0x180022474
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xb0]
call fcn.18002d300
mov eax, dword [rsp + 0xa8]
inc eax
mov dword [rsp + 0xa8], eax
jmp 0x180022479
mov byte [rsp + 0x31], 0
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x18002241c
cmp dword [rsp + 0xa8], 1
jbe 0x1800224c3
mov rax, qword [rsp + 0x100]
add rax, 0x48
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
call fcn.18002d2b0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800233e0
nop
jmp 0x180022367
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
call fcn.1800c2400
nop
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
lea r9, [rsp + 0xd8]
mov r8d, dword [rsp + 0x6c]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022515
xor al, al
jmp 0x18002251c
jmp 0x180022292
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0xf0
pop rdi
ret