Function at 0x14002f210
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
lea rsi, [rcx + 0xa0]
mov rbp, rcx
cmp qword [rsi + 0x18], 8
mov r8, rsi
jb 0x14002f23f
mov r8, qword [rsi]
lea rdi, [rcx + 0x78]
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x14002f250
mov rdx, qword [rdi]
lea rcx, str._AsusSync_CommDev__Stop___s__s____begin_n
call fcn.140095ab0
mov ecx, WSACleanup
call fcn.1400c26fc
mov ecx, 0x18
mov r14, rax
call fcn.1400c2704
xor r15d, r15d
lea r8, [0x140036040]
mov qword [rsp + 0x28], r15
mov r9, rax
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 1
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 2
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 8], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 3
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x10], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 4
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x18], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 5
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x20], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov dword [rsp + 0x20], r15d
mov r9, rax
xor edx, edx
mov qword [rax], rbp
mov qword [rax + 8], 6
mov qword [rax + 0x10], r15
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x28], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 7
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x30], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 8
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x38], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 9
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x40], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], 0xa
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x48], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], reloc.WS2_32.dll_ntohl
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x50], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [r14 + 0x58], rax
lea ecx, [r15 + 0x18]
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], reloc.WS2_32.dll_recv
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea ecx, [r15 + 0x18]
mov qword [r14 + 0x60], rax
call fcn.1400c2704
mov qword [rsp + 0x28], r15
lea r8, [0x140036040]
mov r9, rax
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
mov qword [rax], rbp
mov qword [rax + 8], socket
mov qword [rax + 0x10], r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r9d, 0x4e20
lea r8d, [r15 + 1]
lea ecx, [r15 + 0xe]
mov qword [r14 + 0x68], rax
mov rdx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_WaitForMultipleObjects]
mov ebx, r15d
mov rcx, qword [r14 + rbx*8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
inc rbx
cmp rbx, 0xe
jl 0x14002f5b2
mov edx, 8
mov rcx, r14
call fcn.1400c2470
lea rcx, str._AsusSync_CommDev__Stop___Wait_Finish._n
call fcn.140095ab0
cmp qword [rsi + 0x18], 8
jb 0x14002f5e8
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x14002f5f2
mov rdi, qword [rdi]
mov r8, rsi
lea rcx, str._AsusSync_CommDev__Stop___s__s____end_n
mov rdx, rdi
call fcn.140095ab0
xor edx, edx
mov dword [rbp + 0x1e8], r15d
lea r8, str.GlobalASUS_ASLDRSrv_Link_To_MyASUS_Status_Event
mov byte [rbp + 8], r15b
lea ecx, [rdx + 2]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x14002f667
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor edx, edx
lea r8, str.GlobalASUS_ASLDRSrv_Link_To_MyASUS_Status_Change_Event
lea ecx, [rdx + 2]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x14002f667
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret