Function at 0x18007fba0
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
sub rsp, 0x38
cmp dword [reloc.WS2_32.dll_connect], 6
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x30], r15
mov r15, rcx
jl 0x18007fbf0
mov rax, qword [rcx + 0x10]
lea r9, str.create_log_producer_manager
mov qword [rsp + 0x28], rax
lea rdx, str.Z:DevelopePublicCodes_aliyun_log_c_sdk_srclog_producer_manager.c
lea rax, str.create_log_producer_manager_:__s
mov r8d, Ordinal_211
mov ecx, 6
mov qword [rsp + 0x20], rax
call fcn.18007f8d0
mov ecx, 0xa8
call fcn.18013e628
xor edx, edx
mov r8d, 0xa0
mov rbx, rax
lea rcx, [rax + 8]
call fcn.180136140
mov qword [rbx], r15
mov ecx, dword [r15 + 0x64]
mov eax, dword [r15 + 0x68]
inc ecx
mov edi, dword [r15 + 0x6c]
cdq
idiv ecx
add eax, 0xa
test edi, edi
cmovle edi, eax
cmp edi, 0x20
jge 0x18007fc36
mov edi, reloc.WLDAP32.dll_Ordinal_32
jmp 0x18007fc40
mov eax, 0x19000
cmp edi, eax
cmovg edi, eax
mov ecx, edi
call fcn.180082e00
add edi, edi
mov qword [rbx + 0x18], rax
movsxd rcx, edi
mov qword [rbx + 0x88], rcx
lea rcx, [rcx*8]
call fcn.18013e628
xor esi, esi
mov qword [rbx + 0x80], rax
cmp dword [r15 + 0x58], esi
jle 0x18007fced
mov dword [rbx + 0xa0], esi
movsxd rcx, dword [r15 + 0x58]
shl rcx, 3
mov qword [rsp + 0x50], rbp
call fcn.18013e628
mov ecx, edi
mov qword [rbx + 0x28], rax
call fcn.180082e00
mov qword [rbx + 0x20], rax
mov ebp, esi
mov rax, qword [rbx]
cmp dword [rax + 0x58], esi
jle 0x18007fce8
mov qword [rsp + 0x60], r14
mov r14d, esi
nop dword [rax]
mov rdi, qword [rbx + 0x28]
lea r8, [0x180082da0]
mov qword [rsp + 0x28], rsi
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + r14], rax
inc ebp
mov rax, qword [rbx]
lea r14, [r14 + 8]
cmp ebp, dword [rax + 0x58]
jl 0x18007fcb0
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov ecx, 8
call fcn.18013e628
mov rdi, rax
test rax, rax
je 0x18007fd1f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
jne 0x18007fd22
mov rcx, rdi
call fcn.18013a4c0
mov rdi, rsi
mov ecx, Ordinal_41
mov qword [rbx + 0x40], rdi
call fcn.18013e628
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r9, rbx
mov qword [rsp + 0x28], rsi
lea r8, [0x180080260]
mov qword [rbx + 0x38], rdi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x30], rax
lea rcx, str.undefined
mov rax, qword [r15 + 0x38]
test rax, rax
cmovne rcx, rax
call fcn.18007f760
mov qword [rbx + 0x58], rax
mov rdx, rax
mov rcx, qword [r15 + 0x10]
call fcn.18007f9c0
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x18007fdf5
lea ecx, [rax + 0x20]
call fcn.18013e628
xor ecx, ecx
mov qword [rbx + 0x60], rax
call fcn.18014a0e0
mov rcx, rax
call fcn.18014d980
call fcn.18014d954
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r8d, ecx
mov rcx, qword [rbx + 0x60]
add r8b, 0x30
mov byte [rsi + rcx], r8b
inc rsi
cmp rsi, 0x10
jl 0x18007fdb6
mov rcx, qword [rbx + 0x60]
mov byte [rcx + 0x10], 0
mov rax, rbx
add rsp, 0x38
pop rsi
pop rbx
ret