Function at 0x672720
Capabilities:
Allocate thread local storage
Initialize winsock library

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [rdx]
mov r12, qword [rdx + 8]
mov r15, qword [0x006d1040]
lea r13, [rcx + 8]
mov rsi, rcx
mov dword [rcx + 8], 0
mov qword [rcx + 0x10], 0
add r12, rbx
mov qword [rcx + 0x18], r13
mov qword [rcx + 0x20], r13
mov rax, qword [r15]
mov qword [rsp + 0x38], rax
xor eax, eax
cmp rbx, r12
mov qword [rcx + 0x28], 0
je 0x6726d0
lea r14, [rsp + 0x20]
jmp 0x6726a5
mov rbp, qword [rsi + 0x20]
movzx eax, byte [rbx]
cmp byte [rbp + 0x20], al
jge 0x6726aa
xor eax, eax
cmp r13, rbp
sete dil
test rax, rax
setne cl
or dil, cl
je 0x6726f0
mov ecx, 0x28
call fcn.00670540
movzx edx, byte [rbx]
movzx ecx, dil
mov r9, r13
mov r8, rbp
add rbx, 1
mov byte [rax + 0x20], dl
mov rdx, rax
call fcn.006604b0
add qword [rsi + 0x28], 1
cmp r12, rbx
je 0x6726d0
mov rax, qword [rsi + 0x28]
test rax, rax
jne 0x672651
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.006595e0
mov rbp, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
test rbp, rbp
jne 0x67265f
add rbx, 1
cmp r12, rbx
jne 0x6726a1
mov rax, qword [rsp + 0x38]
xor rax, qword [r15]
jne 0x6726ff
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rbp + 0x20]
cmp byte [rbx], al
setl dil
jmp 0x672671
call fcn.00582f30
mov rdx, qword [rsi + 0x10]
mov rbx, rax
mov rcx, rsi
call fcn.006596c0
mov rcx, rbx
call fcn.0058e700
nop
nop dword [rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1f8
mov rax, qword [0x006d1040]
lea rcx, [0x0072d240]
mov rdi, qword [rax]
mov qword [rsp + 0x1e8], rdi
xor edi, edi
call fcn.0065a390
lea rcx, [0x004118e0]
call fcn.0058ce30
cmp byte [0x0067ea00], 0
je 0x672c93
cmp byte [0x0067ea10], 0
je 0x672c6f
lea rcx, [0x00411890]
call fcn.0058ce30
mov eax, 1
lock xadd dword [0x00680890], eax
test eax, eax
lea rbx, [rsp + 0x50]
je 0x672cb7
lea rdx, [0x00686034]
lea rcx, [0x0072d220]
lea r14, [0x0072d1c8]
mov rsi, rbx
lea r15, [rsp + 0x40]
lea r13, [rbx + 0x160]
call fcn.00411c80
lea rcx, [0x00411600]
call fcn.0058ce30
lea rcx, [0x00411660]
mov qword [0x0072d1f0], 0
mov qword [0x0072d1f8], 0
mov qword [0x0072d200], 0
call fcn.0058ce30
lea rdx, [0x0068603a]
lea rcx, [0x0072d120]
call fcn.00411c80
lea rcx, [0x004115a0]
call fcn.0058ce30
lea rdx, str.127.0.0.1:9051
lea rcx, [0x0072d100]
call fcn.00411c80
lea rcx, [0x00411540]
call fcn.0058ce30
lea rdx, [0x0068602f]
mov rcx, rbx
call fcn.00411c80
lea rcx, [rbx + 0x20]
lea rdx, str.10tfyno
call fcn.00411c80
lea rcx, [rbx + 0x40]
lea rdx, [0x0068604f]
call fcn.00411c80
lea rcx, [rbx + 0x60]
lea rdx, [0x00686051]
call fcn.00411c80
lea rcx, [rbx + 0x80]
lea rdx, [0x00686053]
call fcn.00411c80
lea rcx, [rbx + 0xa0]
lea rdx, [0x00686055]
call fcn.00411c80
lea rcx, [rbx + 0xc0]
lea rdx, [0x00686057]
call fcn.00411c80
lea rcx, [rbx + 0xe0]
lea rdx, [0x00686059]
call fcn.00411c80
lea rcx, [rbx + 0x100]
lea rdx, [0x0068605e]
call fcn.00411c80
lea rcx, [rbx + 0x120]
lea rdx, [0x00686064]
call fcn.00411c80
lea rcx, [rbx + 0x140]
lea rdx, [0x00686068]
call fcn.00411c80
mov dword [0x0072d1c8], 0
mov qword [0x0072d1d0], 0
xor eax, eax
mov qword [0x0072d1d8], r14
mov qword [0x0072d1e0], r14
mov qword [0x0072d1e8], 0
jmp 0x67293c
mov rax, qword [0x0072d1e8]
test rax, rax
je 0x67295a
mov rbp, qword [0x0072d1e0]
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.005d32c0
xor edx, edx
test eax, eax
js 0x672976
lea rdx, [0x0072d1c0]
mov r8, rsi
mov rcx, r15
call fcn.00655a60
mov rdx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x6729d8
cmp rbp, r14
sete dil
test rdx, rdx
setne al
or dil, al
je 0x672b30
mov ecx, 0x40
call fcn.00670540
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov r12, rax
lea rcx, [rax + 0x20]
lea rax, [rax + 0x30]
add r8, rdx
mov qword [r12 + 0x20], rax
call fcn.004119b0
lea r9, [0x0072d1c8]
movzx ecx, dil
mov r8, rbp
mov rdx, r12
call fcn.006604b0
add qword [0x0072d1e8], 1
add rsi, 0x20
cmp rsi, r13
jne 0x672935
lea rsi, [rsp + 0x30]
add rbx, 0x140
mov rcx, qword [rbx]
lea rax, [rbx + 0x10]
cmp rcx, rax
je 0x672a02
call fcn.00670500
sub rbx, 0x20
cmp rsi, rbx
jne 0x6729f1
lea rcx, [0x00413110]
call fcn.0058ce30
lea rax, [0x0068b0f8]
lea rcx, [0x0072d180]
mov rdx, rsi
mov qword [rsp + 0x38], 0xa
mov qword [rsp + 0x30], rax
call fcn.006725f0
lea rcx, [0x00413190]
call fcn.0058ce30
lea rax, str..0123456789
lea rcx, [0x0072d140]
mov rdx, rsi
mov qword [rsp + 0x38], 0xb
mov qword [rsp + 0x30], rax
call fcn.006725f0
lea rcx, [0x00413150]
call fcn.0058ce30
cmp byte [0x0067ea30], 0
je 0x672c42
cmp byte [0x0067ea20], 0
je 0x672c15
cmp byte [0x0067ea50], 0
je 0x672bfd
cmp byte [0x0067ea40], 0
je 0x672bd0
cmp byte [0x0067ea60], 0
je 0x672ba3
cmp byte [0x0067ea70], 0
je 0x672b8b
cmp byte [0x0067ea80], 0
je 0x672b73
cmp byte [0x0067eab0], 0
je 0x672b5b
cmp byte [0x0067eaa0], 0
je 0x672b46
cmp byte [0x0067ea90], 0
jne 0x672b04
lea rcx, [0x00411c50]
mov byte [0x0067ea90], 1
call fcn.0058ce30
mov rax, qword [0x006d1040]
mov rdi, qword [rsp + 0x1e8]
xor rdi, qword [rax]
jne 0x672d57
add rsp, 0x1f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.005d32c0
shr eax, 0x1f
mov edi, eax
jmp 0x672991
lea rcx, [0x00411c20]
mov byte [0x0067eaa0], 1
call fcn.0058ce30
jmp 0x672ae8
lea rcx, [0x00411bf0]
mov byte [0x0067eab0], 1
call fcn.0058ce30
jmp 0x672adf
lea rcx, [0x00411bc0]
mov byte [0x0067ea80], 1
call fcn.0058ce30
jmp 0x672ad2
lea rcx, [0x00411da0]
mov byte [0x0067ea70], 1
call fcn.0058ce30
jmp 0x672ac5
mov byte [0x0067ea60], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x672cd0
lea rcx, [0x00411850]
mov dword [0x006808a0], eax
call fcn.0058ce30
jmp 0x672ab8
mov byte [0x0067ea40], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x672d06
lea rcx, [0x00411810]
mov dword [0x00680880], eax
call fcn.0058ce30
jmp 0x672aab
lea rcx, [0x00411510]
mov byte [0x0067ea50], 1
call fcn.0058ce30
jmp 0x672a9e
mov byte [0x0067ea20], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x672cf4
lea rcx, [0x004117d0]
mov dword [0x00680860], eax
call fcn.0058ce30
jmp 0x672a91
mov byte [0x0067ea30], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x672ce2
lea rcx, [0x00411790]
mov dword [0x00680870], eax
call fcn.0058ce30
jmp 0x672a84
lea rcx, [0x00680850]
mov byte [0x0067ea10], 1
call fcn.005b7100
lea rcx, [0x00412360]
call fcn.0058ce30
jmp 0x672779
lea rcx, [0x00680840]
mov byte [0x0067ea00], 1
call fcn.005b6db0
lea rcx, [0x004122c0]
call fcn.0058ce30
jmp 0x67276c
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x00680894], eax
jmp 0x67279f
mov dword [rsp + 0x2c], eax
call fcn.00672540
mov eax, dword [rsp + 0x2c]
jmp 0x672bb9
mov dword [rsp + 0x2c], eax
call fcn.00672540
mov eax, dword [rsp + 0x2c]
jmp 0x672c58
mov dword [rsp + 0x2c], eax
call fcn.00672540
mov eax, dword [rsp + 0x2c]
jmp 0x672c2b
mov dword [rsp + 0x2c], eax
call fcn.00672540
mov eax, dword [rsp + 0x2c]
jmp 0x672be6
mov rdx, qword [0x0072d1d0]
lea rcx, [0x0072d1c0]
lea rsi, [rbx + 0x160]
call fcn.00655e30
sub rsi, 0x20
mov rcx, qword [rsi]
lea rax, [rsi + 0x10]
cmp rcx, rax
je 0x672d4a
call fcn.00670500
cmp rsi, rbx
jne 0x672d35
mov rcx, rdi
call fcn.0058e700
call fcn.00582f30
mov rcx, rax
call fcn.00670770
mov rcx, r12
call fcn.00670500
call fcn.00670ea0
mov rdi, rax
call fcn.00670990
jmp 0x672d1b