Function at 0x1400584d0
Capabilities:
Check for debugger via api
Check for peb ntglobalflag flag

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov esi, ecx
xor r14d, r14d
cmp ecx, 2
jne 0x140058f00
cmp dword [0x14019e8c8], ecx
je 0x140058db9
lea rcx, [rsp + 0x70]
call fcn.140007ca0
nop
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
lea ebx, [rsi + 1]
xorps xmm0, xmm0
mov qword [rbp + 0xe8], reloc.WS2_32.dll_ntohs
movups xmmword [rbp + 0xd0], xmm0
cmp dword [rsp + 0x20], r14d
je 0x14005858f
mov r8d, ebx
mov qword [rbp + 0xe0], rbx
mov eax, dword [0x140162690]
mov word [rbp + 0xd0], ax
movzx eax, byte [0x140162692]
mov byte [rbp + 0xd2], al
mov byte [rbp + 0xd3], r14b
jmp 0x1400585a0
mov r8, r14
mov qword [rbp + 0xe0], r14
mov byte [rbp + 0xd0], r8b
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x80]
call fcn.14000a2d0
mov rdi, rax
lea rcx, [rbp + 0x180]
call fcn.140002cd0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400585ce
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.14000a2d0
mov rdi, rax
lea rcx, [rbp + 0x300]
call fcn.140002e70
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400585f7
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.14000a2d0
mov r9, rax
mov rcx, qword gs:[0x60]
xorps xmm0, xmm0
test byte [rcx + 0xbc], 0x70
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
movups xmmword [rbp + 0x70], xmm0
je 0x140058643
mov ecx, dword [0x1401626a4]
mov word [rbp + 0x70], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_50]
mov byte [rbp + 0x72], al
mov byte [rbp + 0x73], 0
jmp 0x140058649
mov rbx, r14
mov byte [rbp + 0x70], bl
mov qword [rbp + 0x80], rbx
lea rdx, [rbp + 0x70]
mov r8, rbx
mov rcx, r9
call fcn.14000a2d0
mov rbx, rax
lea rcx, [rbp + 0x2e0]
call fcn.1400030c0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14005867d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a2d0
mov rbx, rax
lea rcx, [rbp + 0x2c0]
call fcn.140003190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400586a6
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a2d0
mov rbx, rax
lea rcx, [rbp + 0x2a0]
call fcn.140003a90
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400586cf
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a2d0
mov rbx, rax
lea rcx, [rbp + 0x280]
call fcn.140006090
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400586f8
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a2d0
mov rbx, rax
lea rcx, [rbp + 0x260]
call fcn.140003e40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140058721
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a2d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.14000a2d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
xor r8d, r8d
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.14000a2d0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400587d8
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400587d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058f5a
call fcn.14010f640
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140058832
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005882d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058f60
call fcn.14010f640
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
lea rcx, [rbp + 0x260]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x280]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x2a0]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x2c0]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x2e0]
call fcn.140008ae0
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400588ca
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400588c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058f66
call fcn.14010f640
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
lea rcx, [rbp + 0x300]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x180]
call fcn.140008ae0
nop
lea rcx, [rbp + 0xd0]
call fcn.140008ae0
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x78]
call fcn.140008910
cmp qword [rbp + 0xa0], 0
seta bl
lea rcx, [rbp + 0x90]
call fcn.140008ae0
test bl, bl
je 0x140058daf
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x78]
call fcn.140008910
nop
lea r8, [rbp + 0xd0]
lea rcx, [rbp + 0x180]
call fcn.14006c880
nop
mov r8d, 0xa
lea rdx, str.sc10s1
mov rcx, rax
call fcn.140008b40
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov rax, qword [str.handler]
mov dword [rbp + 0x90], eax
movzx eax, word [0x1401628fc]
mov word [rbp + 0x94], ax
movzx eax, byte [0x1401628fe]
mov byte [rbp + 0x96], al
mov byte [rbp + 0x97], 0
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x100]
call fcn.14000b230
nop
lea rcx, [rbp + 0x180]
call fcn.140008ae0
nop
lea rcx, [rbp + 0xd0]
call fcn.140008ae0
movabs rax, 0xc54a04813514af39
mov qword [rbp + 0xf0], rax
movabs rcx, 0xe26676bebc086dc6
mov qword [rbp + 0xf8], rcx
movabs rax, 0xc57404f33576af05
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rcx
movdqa xmm0, xmmword [rbp + 0xf0]
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0xf0], xmm0
lea rcx, [rbp + 0xf0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140058a90
lea r8, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae r8, qword [rbp + 0x100]
mov rdx, qword [rbp + 0x110]
cmp rdx, rax
jne 0x140058da2
lea rcx, [rbp + 0xf0]
test rdx, rdx
je 0x140058af8
lea rax, [rbp + 0xf0]
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140058da2
add rcx, 2
sub rdx, 1
jne 0x140058ae0
lea rax, [rsp + 0x50]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x70], 1
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], r14
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor edx, edx
lea rcx, [rbp + 0x240]
call fcn.1400547c0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x1e0]
call fcn.14006e910
mov rdi, rax
mov dword [rbp + 0x70], 1
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x80], r14
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dl, 1
lea rcx, [rbp + 0x220]
call fcn.1400547c0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x1c0]
call fcn.14006e910
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
mov r8d, 8
lea rdx, str.repsban
lea rcx, [rbp + 0x140]
call fcn.1400099b0
nop
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x1a0]
call fcn.14006e910
nop
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.datacdesktop
mov rcx, rax
call fcn.140008b40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp + 0x160]
lea rcx, [rbp + 0x200]
call fcn.14006d4c0
nop
mov r8d, 9
lea rdx, str.monitor
lea rcx, [rbp + 0x200]
call fcn.140008b40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rdi
lea r8, [rbp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.14006d4c0
nop
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov rax, qword [str.handler]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1401628fc]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x1401628fe]
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0x320]
call fcn.14000b230
lea rcx, [rbp + 0x320]
call fcn.1400089c0
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140058d31
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058d2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058f6c
call fcn.14010f640
nop
lea rcx, [rbp + 0x200]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x160]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x1a0]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x140]
call fcn.1400089c0
nop
lea rcx, [rbp + 0x1c0]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x220]
call fcn.1400089c0
nop
lea rcx, [rbp + 0x1e0]
call fcn.140008ae0
nop
lea rcx, [rbp + 0x240]
call fcn.1400089c0
mov dword [0x14019e8c8], 2
lea rcx, [rbp + 0x100]
call fcn.1400089c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400039a0
call fcn.140057e30
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x1a0]
call fcn.1400701b0
nop
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.toLognewHw___N:
mov rcx, rax
call fcn.140012260
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x1e0]
call fcn.14006e910
nop
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov rcx, qword [str.handler]
mov dword [rsp + 0x28], ecx
movzx ecx, word [0x1401628fc]
mov word [rsp + 0x2c], cx
movzx ecx, byte [0x1401628fe]
mov byte [rsp + 0x2e], cl
mov byte [rsp + 0x2f], 0
mov r9, rax
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0x1c0]
call fcn.14000b230
lea rcx, [rbp + 0x1c0]
call fcn.1400089c0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140058eda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058f54
call fcn.14010f640
movdqa xmm0, xmmword [0x14017ced0]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r14w
lea rcx, [rbp + 0x1a0]
call fcn.1400089c0
jmp 0x140058f22
cmp esi, 3
jne 0x140058f22
mov rcx, qword [0x14019eb80]
add rcx, 0xa0
cmp qword [rcx + 0x18], 8
jb 0x140058f1d
mov rcx, qword [rcx]
call fcn.140122d18
mov dword [reloc.WS2_32.dll_closesocket], esi
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140118cb4
nop
call fcn.140118cb4
nop
call fcn.140118cb4
nop
call fcn.140118cb4
nop
call fcn.140118cb4
int3