Function at 0x140051800
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xb0
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
mov qword [rcx + 0x1a8], rdx
xor r8d, r8d
xor edx, edx
call fcn.140051b00
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x14021e5b8], eax
jle 0x14005189c
lea rcx, [0x14021e5b8]
call fcn.140157410
cmp dword [0x14021e5b8], 0xffffffff
jne 0x14005189c
xorps xmm0, xmm0
movups xmmword [0x14021e5c0], xmm0
lea rcx, [0x1401ac1a0]
call fcn.140157820
lea rcx, [0x14021e5b8]
call fcn.1401573b0
mov r14d, 0x15180
xor r15d, r15d
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x88], r15b
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x40], r15b
lea r8d, [r15 + 0x1b]
lea rdx, str.query_notification_interval
lea rcx, [rsp + 0x40]
call fcn.140050e90
nop
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x40]
lea rcx, [0x14021e5c0]
call fcn.14007af10
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140050e10
test bl, bl
je 0x140051936
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0x10
cmovae rcx, qword [rsp + 0x88]
call fcn.14017a5c0
mov r14d, eax
lea rcx, [rsp + 0x88]
call fcn.140050e10
mov rcx, qword [0x14021d9a8]
test rcx, rcx
je 0x140051978
mov rcx, qword [rcx]
mov rbx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x20], r14d
mov r9d, eax
lea r8, str._DEBUG___d___cloud_mgr_timer_interval__d_.
mov edx, 4
mov rcx, qword [0x14021d9a8]
call rbx
lea rdi, [rbp + 0x28]
mov ecx, reloc.WSOCK32.dll_recv
call fcn.140157540
mov rsi, rax
mov qword [rsp + 0x80], rax
mov byte [rax], 0
mov dword [rax + 4], r15d
mov qword [rax + 8], rbp
lea rcx, [rdi + 8]
call fcn.140136084
test eax, eax
jne 0x140051abf
mov eax, 1
xchg byte [rdi + 2], al
mov dword [rdi + 0xb8], r14d
xor ecx, ecx
call fcn.140179804
movsxd rcx, dword [rdi + 0xb8]
add rcx, rax
mov qword [rdi + 0xb0], rcx
lea rax, [0x140053c20]
mov qword [rdi + 0xa0], rax
mov qword [rdi + 0xa8], rsi
lea rcx, [rdi + 8]
call fcn.1401360a8
test eax, eax
jne 0x140051ac7
lea rcx, [rdi + 8]
call fcn.140136084
test eax, eax
jne 0x140051acf
movzx eax, byte [rdi + 1]
test al, al
setne sil
lea rcx, [rdi + 8]
call fcn.1401360a8
test eax, eax
jne 0x140051ad7
test sil, sil
jne 0x140051a8a
lea ecx, [rax + 8]
call fcn.140157540
mov qword [rax], rdi
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140053da0]
xor edx, edx
xor ecx, ecx
call fcn.14017a9c4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140051adf
cmp dword [rsp + 0x38], 0
je 0x140051aef
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140136184
test eax, eax
jne 0x140051ab7
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401571e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, eax
call fcn.140135d24
nop
mov ecx, eax
call fcn.140135d24
nop
mov ecx, eax
call fcn.140135d24
nop
mov ecx, eax
call fcn.140135d24
nop
mov ecx, eax
call fcn.140135d24
nop
mov dword [rsp + 0x38], r15d
mov ecx, 6
call fcn.140135d60
nop
mov ecx, 1
call fcn.140135d60
int3