Function at 0x14009c1e0
Capabilities:
Create thread

Disassembly:
test rcx, rcx
je 0x14009c83f
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 0x790], rax
xor r12d, r12d
mov rbx, rcx
cmp dword [rcx + 0x970], r12d
jne 0x14009c22f
call fcn.14009c12c
mov eax, dword [rbx]
mov dword [rbp + 0x380], r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp + 0x170], r12d
test eax, eax
jne 0x14009c562
cmp dword [rbx + 0x960], r12d
jne 0x14009c284
mov qword [rsp + 0x28], r12
lea r8, [0x14009ab54]
mov r9, rbx
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x958], rax
mov eax, dword [rbx]
test eax, eax
jne 0x14009c562
lea r15, [rbx + 0x500]
lea r14, [rbx + 0x910]
cmp dword [rbx + 0x948], 2
mov dword [rbp + 0x380], r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp + 0x170], r12d
jne 0x14009c2b5
mov dword [rbx + 0x948], r12d
mov rcx, qword [rbx + 0x930]
call fcn.14009fea4
mov dword [rbx + 0x974], 0x5265c00
jmp 0x14009c35d
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x14009c370
mov r10, qword [rdi]
test r10, r10
je 0x14009c370
cmp qword [r10], r12
je 0x14009c330
mov eax, dword [rbx + 0x974]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x50], eax
lea r8, [rbp + 0x170]
lea rax, [rsp + 0x50]
mov rcx, r10
lea rdx, [rbp + 0x380]
mov qword [rsp + 0x20], rax
call qword [r10]
mov eax, dword [rsp + 0x50]
cmp eax, dword [rbx + 0x974]
jge 0x14009c330
mov dword [rbx + 0x974], eax
mov rcx, qword [rbx + 0x978]
call fcn.14009fe64
mov ecx, dword [rax + 8]
test ecx, ecx
jle 0x14009c351
cmp ecx, dword [rbx + 0x974]
jge 0x14009c351
mov dword [rbx + 0x974], ecx
mov rcx, qword [rbx + 0x978]
call fcn.14009fea4
mov qword [rbx + 0x978], rax
mov rdi, rax
test rax, rax
jne 0x14009c2d0
mov ecx, dword [rbx + 0x974]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x58], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x5c], eax
mov rdi, qword [rbx + 0x938]
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x14009c428
cmp dword [rdi + 4], r12d
jle 0x14009c428
mov rcx, qword [rbx + 0x938]
call fcn.14009fea4
mov rcx, rax
mov qword [rbx + 0x978], rax
mov rdi, rax
call fcn.140098e0c
test eax, eax
je 0x14009c3dd
mov rdi, qword [rdi]
jmp 0x14009c3e0
mov rdi, r12
mov rcx, qword [rbx + 0x930]
mov rdx, rdi
call fcn.14009ffc0
mov rcx, qword [rbx + 0x978]
call fcn.14009ff38
test rdi, rdi
je 0x14009c39d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14009c40e
mov rcx, rdi
call rax
mov rcx, qword [rdi + 0x30]
call fcn.140098cbc
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401d6b80
jmp 0x14009c39d
mov rax, qword [rbx + 0x4f8]
lea r8, [rsp + 0x58]
inc dword [rbx + 0x94c]
lea rdx, [rsp + 0x54]
mov qword [rsp + 0x40], r12
mov r9, r14
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x60]
mov dword [rsp + 0x54], r12d
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x380]
mov qword [rsp + 0x20], rax
mov dword [r14], r12d
call fcn.140099878
mov ecx, dword [rsp + 0x54]
lea r9, [rsp + 0x60]
mov eax, dword [r14]
lea r8, [rbp + 0x170]
mov dword [rsp + 0x30], eax
lea rdx, [rbp + 0x380]
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0x980], ecx
mov rcx, rbx
mov qword [rsp + 0x20], r15
call fcn.140099618
inc dword [rbx + 0x950]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14009c4d3
mov dword [rbp + 0x380], r12d
mov dword [rbp + 0x170], r12d
mov dword [rsp + 0x60], r12d
mov rcx, qword [rbx + 0x930]
call fcn.14009fea4
jmp 0x14009c54a
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x14009c559
mov rdi, qword [rdi]
test rdi, rdi
je 0x14009c559
mov rax, qword [rdi + 8]
test rax, rax
je 0x14009c51d
lea rcx, [rsp + 0x60]
mov edx, esi
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x170]
mov rcx, rdi
lea r8, [rbp + 0x380]
call rax
mov rcx, qword [rbx + 0x978]
call fcn.14009fe64
mov r8, qword [rax]
test r8, r8
je 0x14009c53e
mov rdx, qword [rbx + 0x978]
mov rcx, rdi
call r8
mov rcx, qword [rbx + 0x978]
call fcn.14009fea4
mov qword [rbx + 0x978], rax
mov rdi, rax
test rax, rax
jne 0x14009c4e1
cmp dword [rbx], r12d
je 0x14009c292
cmp qword [rbx + 0x958], r12
je 0x14009c578
mov rcx, qword [rbx + 0x968]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x928]
test rcx, rcx
je 0x14009c5d3
call fcn.14009fea4
jmp 0x14009c5b8
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x14009c5b0
mov rsi, qword [rdi]
test rsi, rsi
je 0x14009c5b0
mov rdx, qword [rsi + 8]
mov rcx, rbx
call qword [rsi]
mov rcx, rsi
call fcn.1401d6b80
mov rcx, rdi
call fcn.14009fea4
mov rdi, rax
test rax, rax
jne 0x14009c58b
mov rcx, qword [rbx + 0x928]
call fcn.1400a0100
mov qword [rbx + 0x928], r12
mov rcx, qword [rbx + 0x930]
call fcn.14009fea4
mov qword [rbx + 0x978], rax
test rax, rax
je 0x14009c64f
mov rcx, rax
call fcn.14009fea4
mov dword [rbx], 1
jmp 0x14009c63e
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x14009c655
mov rdi, qword [rdi]
test rdi, rdi
je 0x14009c655
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14009c61d
mov rcx, rdi
call rax
mov rcx, qword [rdi + 0x30]
call fcn.140098cbc
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401d6b80
mov rcx, qword [rbx + 0x978]
call fcn.14009ff38
mov qword [rbx + 0x978], rax
mov rdi, rax
test rax, rax
jne 0x14009c5fb
jmp 0x14009c655
mov dword [rbx], 1
mov edx, r12d
mov eax, r12d
mov dword [rsp + 0x50], edx
cdqe
mov r8, qword [rbx + rax*8 + 0x500]
test r8, r8
je 0x14009c68b
lea eax, [rdx + 0x40]
movsxd rcx, eax
cmp qword [rbx + rcx*8 + 0x500], r12
jne 0x14009c68b
mov rcx, r8
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov edx, dword [rsp + 0x50]
inc edx
mov dword [rsp + 0x50], edx
mov eax, edx
cmp edx, 0x40
jl 0x14009c65f
mov rcx, qword [rbx + 0x4f8]
call fcn.1400a0100
mov rax, qword [0x1402ec7d0]
mov rcx, qword [rbx + 0x930]
cmp rax, rbx
cmove rax, r12
mov qword [0x1402ec7d0], rax
call fcn.14009fea4
mov qword [rbx + 0x978], rax
mov rdi, rax
test rax, rax
je 0x14009c70a
mov rcx, rax
call fcn.140098e0c
test eax, eax
je 0x14009c70a
mov rdi, qword [rdi]
test rdi, rdi
je 0x14009c70a
mov rcx, rdi
call qword [rdi + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x30]
call fcn.140098cbc
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401d6b80
mov qword [rbx + 0x918], r12
mov rcx, qword [rbx + 0x930]
call fcn.1400a0100
mov rcx, qword [rbx + 0x938]
call fcn.14009fea4
jmp 0x14009c767
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x14009c776
mov rdi, qword [rdi]
test rdi, rdi
je 0x14009c776
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14009c746
mov rcx, rdi
call rax
mov rcx, qword [rdi + 0x30]
call fcn.140098cbc
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401d6b80
mov rcx, qword [rbx + 0x978]
call fcn.14009fea4
mov qword [rbx + 0x978], rax
mov rdi, rax
test rax, rax
jne 0x14009c724
mov rcx, qword [rbx + 0x938]
call fcn.1400a0100
mov rcx, qword [rbx + 0x940]
test rcx, rcx
je 0x14009c798
xor r8d, r8d
xor edx, edx
call fcn.1400a0330
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x1402eca10], 1
jne 0x14009c807
mov rcx, qword [0x1402eca08]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [0x1402ec7a8], r12
je 0x14009c807
lea rax, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov dword [rsp + 0x28], 0x1081
lea r9, [0x1402eca08]
mov qword [rsp + 0x20], rax
lea r8, str.__p___s:_d
mov edx, 0x200
lea rcx, [rbp + 0x590]
call fcn.1400011e0
mov rdx, qword [0x1402ec798]
lea rcx, [rbp + 0x590]
xor r8d, r8d
call qword [0x1402ec7a8]
dec dword [0x1402eca10]
mov rcx, rbx
call fcn.1401d6b80
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1401c9740
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret