Function at 0x180085560
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
cmp byte [0x180b5ece3], 0
jne 0x1800859ca
cmp byte [0x180b5ece6], 0
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 0x10], rdi
mov byte [0x180b5ece3], 1
je 0x1800855a5
vmovss xmm0, dword [0x18047a8dc]
call fcn.1800442e0
vmovsd xmm0, qword [str.__BSWNT_]
movzx eax, byte [0x1802434d0]
mov r8, 0xffffffffffffffff
vmovsd qword [rbp - 0x49], xmm0
xor byte [rbp - 0x48], 0x34
xor al, 0x3b
xor byte [rbp - 0x47], 0x35
xor byte [rbp - 0x46], 0x36
xor byte [rbp - 0x45], 0x37
xor byte [rbp - 0x44], 0x38
xor byte [rbp - 0x43], 0x39
xor byte [rbp - 0x42], 0x3a
xor esi, esi
mov byte [rbp - 0x41], al
vpxor xmm0, xmm0, xmm0
mov qword [rbp - 0x19], rsi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x11], rsi
mov byte [0x180b5ee95], 0
mov byte [rbp - 0x49], 0x53
vmovups xmmword [rbp - 0x29], xmm0
inc r8
cmp byte [rax + r8], sil
jne 0x180085603
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.180005120
mov edx, 2
lea rcx, [rbp - 0x29]
call fcn.1800fae30
call fcn.1800f5a20
cmp dword [0x180b5ecf0], esi
jne 0x180085644
cmp qword [0x180b5eef8], rsi
je 0x180085644
mov dl, 6
call fcn.18011ba10
movzx eax, byte [0x180b5ee56]
test al, al
je 0x1800856c1
cmp byte [0x180b5eae8], sil
je 0x180085664
call fcn.18001b2c0
movzx eax, byte [0x180b5ee56]
test al, al
je 0x1800856c1
cmp byte [0x180b5eaeb], sil
je 0x18008567d
call fcn.18001ba50
movzx eax, byte [0x180b5ee56]
test al, al
je 0x1800856c1
cmp byte [0x180b5eaec], sil
je 0x180085696
call fcn.18001cde0
movzx eax, byte [0x180b5ee56]
test al, al
je 0x1800856c1
cmp byte [0x180b5eaea], sil
je 0x1800856af
call fcn.18001c7e0
movzx eax, byte [0x180b5ee56]
test al, al
je 0x1800856c1
cmp byte [0x180b5eae9], sil
je 0x1800856c1
call fcn.18001bf30
mov rcx, qword [0x180b5eed0]
xor edx, edx
call fcn.180124bb8
test eax, eax
je 0x180085703
vpxor xmm0, xmm0, xmm0
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov qword [rbp + 7], rsi
lea rdx, str.Failed_to_disable_present_hook
mov qword [rbp + 0xf], rsi
lea rcx, [rbp - 9]
vmovups xmmword [rbp - 9], xmm0
call fcn.180005120
lea rcx, [rbp - 9]
call fcn.18011c5b0
mov rcx, qword [0x180b5eed8]
xor edx, edx
call fcn.180124bb8
test eax, eax
je 0x180085745
vpxor xmm0, xmm0, xmm0
mov r8d, Ordinal_41
mov qword [rbp + 0x27], rsi
lea rdx, str.Failed_to_disable_resizeBuffers_hook
mov qword [rbp + 0x2f], rsi
lea rcx, [rbp + 0x17]
vmovups xmmword [rbp + 0x17], xmm0
call fcn.180005120
lea rcx, [rbp + 0x17]
call fcn.18011c5b0
mov r8, qword [0x180b5ed38]
mov edx, 0xfffffffc
mov rcx, qword [0x180b5ed70]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
cmp byte [0x180b5ecf6], sil
je 0x1800857b2
call fcn.1800973e0
call fcn.180097610
mov rbx, qword [0x180b5ee10]
mov qword [0x180b5ee10], rbx
call fcn.18009f610
mov qword [0x180b5ee10], rsi
test rbx, rbx
je 0x1800857b2
mov rcx, rbx
call fcn.1800b5270
mov rax, qword [0x180b5ee10]
test rax, rax
je 0x1800857aa
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.1801d2aac
call fcn.1800957d0
xor eax, eax
mov rbx, rsi
mov edi, 1
lock cmpxchg dword [0x180b5ef38], edi
je 0x1800857f1
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x1800857da
xor ecx, ecx
jmp 0x1800857dc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180b5ef38], edi
jne 0x1800857d0
cmp qword [0x180b5ef40], rsi
je 0x1800859a4
mov ecx, dword [0x180b60aec]
mov ebx, esi
test ecx, ecx
je 0x1800859a4
mov rdx, qword [0x180b60ae0]
mov rax, rdx
cmp qword [rax], rsi
je 0x18008582c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180085818
jmp 0x1800859a4
cmp ebx, 0xffffffff
je 0x1800859a4
mov eax, ebx
mov qword [rsp + 0xb0], r12
imul r12, rax, 0x38
test byte [r12 + rdx + 0x20], 2
je 0x180085907
xor r8d, r8d
lea rcx, [rbp - 0x39]
mov edx, ebx
call fcn.180124438
test eax, eax
jne 0x18008599c
xor edx, edx
mov qword [rsp + 0xa8], r13
mov ecx, ebx
call fcn.1801247e4
mov r13d, eax
cmp qword [rbp - 0x39], rsi
je 0x1800858ef
mov ecx, dword [rbp - 0x2d]
test ecx, ecx
je 0x1800858dc
mov rdi, qword [rbp - 0x39]
mov qword [rsp + 0xa0], r14
mov r14d, ecx
nop word [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800858c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub r14, 1
jne 0x1800858a0
mov r14, qword [rsp + 0xa0]
xor esi, esi
mov r8, qword [rbp - 0x39]
xor edx, edx
mov rcx, qword [0x180b5ef40]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r13d, r13d
mov r13, qword [rsp + 0xa8]
jne 0x18008599c
mov rdx, qword [0x180b60ae0]
mov rcx, qword [r12 + rdx + 0x10]
call fcn.180125244
mov edx, dword [0x180b60aec]
dec edx
cmp ebx, edx
jae 0x18008594f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x180b60ae0]
vmovups ymm0, ymmword [rcx + rax]
vmovups ymmword [r12 + rax], ymm0
vmovups xmm1, xmmword [rcx + rax + 0x20]
vmovups xmmword [r12 + rax + 0x20], xmm1
vmovsd xmm0, qword [rcx + rax + 0x30]
vmovsd qword [r12 + rax + 0x30], xmm0
mov ecx, dword [0x180b60ae8]
mov eax, ecx
mov dword [0x180b60aec], edx
shr eax, 1
cmp eax, 0x20
jb 0x18008599c
cmp eax, edx
jb 0x18008599c
mov r8, qword [0x180b60ae0]
mov eax, ecx
mov rcx, qword [0x180b5ef40]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
vzeroupper
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18008599c
shr dword [0x180b60ae8], 1
mov qword [0x180b60ae0], rax
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov eax, esi
xchg dword [0x180b5ef38], eax
mov rbx, qword [rsp + 0xd0]
mov dword [reloc.WS2_32.dll_accept], esi
mov rsi, qword [rsp + 0xe0]
vzeroupper
add rsp, 0xc0
pop rbp
ret