Function at 0x1400a34cd
Capabilities:
Create thread

Disassembly:
test rcx, rcx
je 0x1400a3b7b
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 [0x140301ed0]
xor rax, rsp
mov qword [rbp + 0x790], rax
xor r12d, r12d
mov rbx, rcx
cmp dword [rcx + 0x990], r12d
jne 0x1400a3513
call fcn.1400a3410
mov dword [rbp + 0x380], r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp + 0x170], r12d
cmp dword [rbx], r12d
jne 0x1400a385c
cmp dword [rbx + 0x980], r12d
jne 0x1400a355d
mov qword [rsp + 0x28], r12
lea r8, [0x1400a1b44]
mov r9, rbx
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x978], rax
cmp dword [rbx], r12d
jne 0x1400a385c
lea r15, [rbx + 0x520]
lea r14, [rbx + 0x930]
cmp dword [rbx + 0x968], 2
mov dword [rbp + 0x380], r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp + 0x170], r12d
jne 0x1400a3597
mov dword [rbx + 0x968], r12d
mov rcx, qword [rbx + 0x950]
call fcn.1400a7200
mov dword [rbx + 0x994], 0x5265c00
jmp 0x1400a3647
mov rdi, qword [rbx + 0x998]
mov rcx, rdi
call fcn.14009f5c0
test eax, eax
je 0x1400a35ca
mov r10, qword [rdi]
jmp 0x1400a35cd
mov r10, r12
test r10, r10
je 0x1400a3657
cmp qword [r10], r12
je 0x1400a361a
mov eax, dword [rbx + 0x994]
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 + 0x994]
jge 0x1400a361a
mov dword [rbx + 0x994], eax
mov rcx, qword [rbx + 0x998]
call fcn.1400a71c0
mov ecx, dword [rax + 8]
test ecx, ecx
jle 0x1400a363b
cmp ecx, dword [rbx + 0x994]
jge 0x1400a363b
mov dword [rbx + 0x994], ecx
mov rcx, qword [rbx + 0x998]
call fcn.1400a7224
mov qword [rbx + 0x998], rax
test rax, rax
jne 0x1400a35b2
mov ecx, dword [rbx + 0x994]
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 + 0x958]
mov rcx, rdi
call fcn.14009f5c0
test eax, eax
je 0x1400a369c
mov eax, dword [rdi + 4]
jmp 0x1400a369f
mov eax, r12d
test eax, eax
jle 0x1400a3715
mov rcx, qword [rbx + 0x958]
call fcn.1400a7200
mov rcx, rax
mov qword [rbx + 0x998], rax
mov rdi, rax
call fcn.14009f5c0
test eax, eax
je 0x1400a36ca
mov rdi, qword [rdi]
jmp 0x1400a36cd
mov rdi, r12
mov rcx, qword [rbx + 0x950]
mov rdx, rdi
call fcn.1400a7358
mov rcx, qword [rbx + 0x998]
call fcn.1400a72d4
test rdi, rdi
je 0x1400a3684
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400a36fb
mov rcx, rdi
call rax
mov rcx, qword [rdi + 0x30]
call fcn.14009f478
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401e2208
jmp 0x1400a3684
mov rax, qword [rbx + 0x518]
lea r8, [rsp + 0x58]
inc dword [rbx + 0x96c]
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.1400a08c4
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 + 0x9a0], ecx
mov rcx, rbx
mov qword [rsp + 0x20], r15
call fcn.1400a02e4
inc dword [rbx + 0x970]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400a37c0
mov dword [rbp + 0x380], r12d
mov dword [rbp + 0x170], r12d
mov dword [rsp + 0x60], r12d
mov rcx, qword [rbx + 0x950]
call fcn.1400a7200
jmp 0x1400a3843
mov rdi, qword [rbx + 0x998]
mov rcx, rdi
call fcn.14009f5c0
test eax, eax
je 0x1400a37e6
mov rdi, qword [rdi]
jmp 0x1400a37e9
mov rdi, r12
test rdi, rdi
je 0x1400a3853
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400a3816
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 + 0x998]
call fcn.1400a71c0
mov r8, qword [rax]
test r8, r8
je 0x1400a3837
mov rdx, qword [rbx + 0x998]
mov rcx, rdi
call r8
mov rcx, qword [rbx + 0x998]
call fcn.1400a7224
mov qword [rbx + 0x998], rax
test rax, rax
jne 0x1400a37ce
cmp dword [rbx], r12d
je 0x1400a3574
cmp qword [rbx + 0x978], r12
je 0x1400a3872
mov rcx, qword [rbx + 0x988]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x948]
test rcx, rcx
je 0x1400a38d2
call fcn.1400a7200
jmp 0x1400a38b7
mov rcx, rdi
call fcn.14009f5c0
test eax, eax
je 0x1400a3896
mov rsi, qword [rdi]
jmp 0x1400a3899
mov rsi, r12
test rsi, rsi
je 0x1400a38af
mov rdx, qword [rsi + 8]
mov rcx, rbx
call qword [rsi]
mov rcx, rsi
call fcn.1401e2208
mov rcx, rdi
call fcn.1400a7224
mov rdi, rax
test rax, rax
jne 0x1400a3885
mov rcx, qword [rbx + 0x948]
call fcn.1400a7498
mov qword [rbx + 0x948], r12
mov rcx, qword [rbx + 0x950]
call fcn.1400a7200
mov qword [rbx + 0x998], rax
test rax, rax
je 0x1400a38f9
mov rcx, rax
call fcn.1400a7224
mov qword [rbx + 0x998], rax
mov dword [rbx], 1
cmp qword [rbx + 0x998], r12
je 0x1400a3963
mov rdi, qword [rbx + 0x998]
mov rcx, rdi
call fcn.14009f5c0
test eax, eax
je 0x1400a3920
mov rdi, qword [rdi]
jmp 0x1400a3923
mov rdi, r12
test rdi, rdi
je 0x1400a3963
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400a3936
mov rcx, rdi
call rax
mov rcx, qword [rdi + 0x30]
call fcn.14009f478
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401e2208
mov rcx, qword [rbx + 0x998]
call fcn.1400a72d4
mov qword [rbx + 0x998], rax
test rax, rax
jne 0x1400a3908
mov edx, r12d
mov dword [rsp + 0x50], edx
movsxd rax, edx
mov r8, qword [rbx + rax*8 + 0x520]
test r8, r8
je 0x1400a3997
lea eax, [rdx + 0x40]
movsxd rcx, eax
cmp qword [rbx + rcx*8 + 0x520], r12
jne 0x1400a3997
mov rcx, r8
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov edx, dword [rsp + 0x50]
inc edx
mov dword [rsp + 0x50], edx
cmp edx, 0x40
jl 0x1400a396a
mov rcx, qword [rbx + 0x518]
call fcn.1400a7498
mov rax, qword [0x14030adc8]
mov rcx, qword [rbx + 0x950]
cmp rax, rbx
cmove rax, r12
mov qword [0x14030adc8], rax
call fcn.1400a7200
mov qword [rbx + 0x998], rax
mov rdi, rax
test rax, rax
je 0x1400a3a19
mov rcx, rax
call fcn.14009f5c0
test eax, eax
je 0x1400a39ef
mov rdi, qword [rdi]
jmp 0x1400a39f2
mov rdi, r12
test rdi, rdi
je 0x1400a3a19
mov rcx, rdi
call qword [rdi + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x30]
call fcn.14009f478
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401e2208
mov qword [rbx + 0x938], r12
mov rcx, qword [rbx + 0x950]
call fcn.1400a7498
mov rcx, qword [rbx + 0x958]
call fcn.1400a7200
jmp 0x1400a3a82
mov rdi, qword [rbx + 0x998]
mov rcx, rdi
call fcn.14009f5c0
test eax, eax
je 0x1400a3a4b
mov rdi, qword [rdi]
jmp 0x1400a3a4e
mov rdi, r12
test rdi, rdi
je 0x1400a3a8e
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400a3a61
mov rcx, rdi
call rax
mov rcx, qword [rdi + 0x30]
call fcn.14009f478
or dword [rdi + 0x38], 0xffffffff
mov rcx, rdi
call fcn.1401e2208
mov rcx, qword [rbx + 0x998]
call fcn.1400a7224
mov qword [rbx + 0x998], rax
test rax, rax
jne 0x1400a3a33
mov rcx, qword [rbx + 0x958]
call fcn.1400a7498
cmp qword [rbx + 0x10], r12
je 0x1400a3abe
cmp qword [rbx + 8], r12
je 0x1400a3abe
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400a3ab5
mov rcx, rax
call qword [rax + 0x48]
mov rcx, qword [rbx + 8]
call fcn.1400ab5d4
mov rcx, qword [rbx + 0x960]
test rcx, rcx
je 0x1400a3ad4
xor r8d, r8d
xor edx, edx
call fcn.1400a76c4
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x14030ade0], 1
jne 0x1400a3b43
mov rcx, qword [0x14030adf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [0x14030adb8], r12
je 0x1400a3b43
lea rax, str...microstackILibParsers.c
mov dword [rsp + 0x28], 0x111b
lea r9, [0x14030adf0]
mov qword [rsp + 0x20], rax
lea r8, str.__p___s:_d
mov edx, 0x200
lea rcx, [rbp + 0x590]
call fcn.140001138
mov rdx, qword [0x14030ada8]
lea rcx, [rbp + 0x590]
xor r8d, r8d
call qword [0x14030adb8]
dec dword [0x14030ade0]
mov rcx, rbx
call fcn.1401e2208
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1401d9820
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