Function at 0x1400018e8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140065c60
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe0
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rbp - 1], rax
mov rax, qword [rbp + 0x77]
xor edi, edi
mov r13d, ecx
mov rcx, qword [rbp + 0x7f]
mov qword [rbp - 0x39], r9
mov qword [rbp - 0x41], r8
mov ebx, edx
mov dword [rbp - 0x51], edx
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x59], rcx
mov r15d, edi
test rax, rax
jne 0x140065cb5
mov qword [rbp - 0x29], rdi
jmp 0x140065cc6
mov edx, 0x7fffffff
mov rcx, rax
call fcn.14008d154
mov qword [rbp - 0x29], rax
mov eax, edi
test ebx, ebx
lea rcx, [rbp - 0x69]
setns al
mov ebx, edi
mov r14, rdi
mov rsi, rdi
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x61], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs rax, 0x20c49ba5e353f7cf
imul qword [rbp - 0x69]
mov rcx, rdx
sar rcx, 7
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rbp - 0x49]
cqo
idiv rcx
shr r13d, 1
mov qword [rbp - 0x69], rax
je 0x140066536
mov qword [rsp + 0x120], r12
inc ebx
mov dword [rbp - 0x49], ebx
test r13b, 1
je 0x140065dfc
mov ecx, ebx
call fcn.140065a10
mov rbx, rax
test rax, rax
jne 0x140065d57
mov r12, r14
mov rax, rdi
jmp 0x140065d88
mov edx, socket
mov rcx, rax
call fcn.14008d154
cmp rax, 0x11
jb 0x140065d6e
add rbx, 0x11
mov r12, r14
test rbx, rbx
jne 0x140065d7b
mov rax, rdi
jmp 0x140065d88
mov edx, 0x104
mov rcx, rbx
call fcn.14008d154
add rax, 2
mov rcx, r14
add rsi, rax
mov rdx, rsi
call fcn.14008df3c
mov rdi, rax
test r14, r14
jne 0x140065db4
test rax, rax
je 0x140065db4
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14008ca20
mov r14, rdi
test rdi, rdi
je 0x140065eb5
test r12, r12
je 0x140065de0
test rsi, rsi
je 0x140065df7
lea r8, [0x1400f80f4]
or r9, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14008e9ac
test rsi, rsi
je 0x140065df7
or r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14008e9ac
mov ebx, dword [rbp - 0x49]
xor edi, edi
shr r13d, 1
jne 0x140065d31
test r14, r14
je 0x14006650d
movsxd rcx, dword [rbp - 0x51]
mov rsi, qword [rbp - 0x39]
mov edx, 4
cmp rcx, rdx
cmova ecx, edx
mov edx, 0x5c
test ecx, ecx
cmovns edi, ecx
mov rcx, rsi
call fcn.14008d67c
test rax, rax
je 0x140065e40
lea rsi, [rax + 1]
mov qword [rbp - 0x39], rsi
mov ecx, dword [rbp - 0x61]
cmp ebx, 1
mov rax, r15
cmove ecx, eax
movsxd rax, edi
lea r12, str.FATAL
mov r10d, 1
mov dword [rbp - 0x61], ecx
imul rbx, rax, 0x11
mov qword [rbp - 0x51], rbx
test byte [rbx + r12 + 0x10], r10b
je 0x140065f27
mov rax, qword [rbp - 0x69]
mov r9, qword [rbx + r12]
test ecx, ecx
mov ecx, r10d
lea r8, [0x1400dd5dd]
je 0x140065ebd
mov edi, dword [rbp + 0x6f]
mov r13, qword [rbp - 0x41]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rsi
lea rdx, str._s_s:___s__s__s_d___llu_ms_:
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
call fcn.1400013e3
jmp 0x140065eda
mov r14, r12
jmp 0x140066500
mov qword [rsp + 0x28], rax
lea rdx, str._s_s:___s____llu_ms_:
mov qword [rsp + 0x20], r14
call fcn.1400013e3
mov edi, dword [rbp + 0x6f]
mov r13, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x71]
mov r15d, eax
call fcn.140092b70
mov r12, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x71]
mov rcx, r12
call fcn.140001b22
add r15d, eax
xor eax, eax
mov qword [rbp - 0x71], rax
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x140065f32
cmp byte [r12 + rax - 1], 0xa
je 0x140065f32
lea rdx, [0x1400e44e4]
mov ecx, 1
call fcn.1400013e3
jmp 0x140065f32
mov edi, dword [rbp + 0x6f]
mov r12, qword [rbp - 0x31]
mov r13, qword [rbp - 0x41]
lea rax, str.FATAL
test byte [rbx + rax + 0x10], 8
je 0x14006602b
mov ecx, 3
call fcn.14000154b
test eax, eax
je 0x14006602b
xor eax, eax
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], al
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], eax
mov byte [rbp - 4], al
call fcn.140091edc
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x21]
mov edx, 0x1e
call fcn.140092acc
cmp dword [rbp - 0x61], 0
mov rax, qword [rbp - 0x69]
mov byte [rbp - 0xd], 0
lea r8, [rbp - 0x1d]
mov ecx, 3
je 0x140065fd4
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
lea rax, str.FATAL
mov r9, qword [rbx + rax]
mov qword [rsp + 0x30], rsi
lea rdx, str._s_s:___s__s__s_d___llu_ms_:
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
call fcn.1400013c0
jmp 0x140065ff5
mov qword [rsp + 0x28], rax
lea rax, str.FATAL
lea rdx, str._s_s:___s____llu_ms_:
mov r9, qword [rbx + rax]
mov qword [rsp + 0x20], r14
call fcn.1400013c0
mov rdi, qword [rbp - 0x59]
lea rcx, [rbp - 0x71]
mov r15d, eax
mov rdx, rdi
call fcn.140092b70
mov r9, qword [rbp - 0x71]
lea rdx, [0x1400e44e4]
mov r8, r12
mov ecx, 3
call fcn.1400013de
add r15d, eax
xor eax, eax
mov qword [rbp - 0x71], rax
jmp 0x14006602f
mov rdi, qword [rbp - 0x59]
lea rsi, str.FATAL
test byte [rbx + rsi + 0x10], 4
je 0x140066243
lea rcx, [rbp - 0x71]
mov rdx, rdi
call fcn.140092b70
mov rcx, qword [rbx + rsi]
test rcx, rcx
jne 0x14006605d
xor ebx, ebx
mov r12d, ebx
jmp 0x14006606c
mov edx, 0x104
call fcn.14008d154
xor ebx, ebx
mov r12, rax
lea rcx, [0x1400dd5dd]
mov edx, 0x104
call fcn.14008d154
mov r13, rax
mov rax, qword [rbp - 0x41]
test rax, rax
jne 0x14006608e
mov rsi, rbx
jmp 0x14006609e
mov edx, 0x104
mov rcx, rax
call fcn.14008d154
mov rsi, rax
mov rax, qword [rbp - 0x39]
test rax, rax
jne 0x1400660ac
mov rdi, rbx
jmp 0x1400660bc
mov edx, 0x104
mov rcx, rax
call fcn.14008d154
mov rdi, rax
mov edx, 0x104
mov rcx, r14
call fcn.14008d154
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x31]
mov rbx, rax
call fcn.1400909bc
mov edx, 0x104
movsxd rcx, eax
xor eax, eax
add rcx, 0x16
mov qword [rbp - 0x71], rax
add rcx, rbx
add rdi, rcx
lea rcx, str._s_s:___s__s__s_d___llu_ms_:
add rdi, rsi
mov esi, dword [rbp - 0x61]
add rdi, r13
add rdi, r12
test esi, esi
jne 0x14006610f
lea rcx, str._s_s:___s____llu_ms_:
call fcn.14008d154
add rdi, rax
mov rcx, rdi
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x14006623f
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14008ca20
mov rax, qword [rbp - 0x69]
mov r12, qword [rbp - 0x51]
mov rdx, rbx
mov rcx, rdi
test esi, esi
je 0x140066192
mov r9, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x6f]
lea r8, str._s_s:___s__s__s_d___llu_ms_:
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r13
lea rax, str.FATAL
lea r9, [0x1400dd5dd]
mov qword [rsp + 0x28], r14
mov rax, qword [r12 + rax]
mov qword [rsp + 0x20], rax
call fcn.140066870
jmp 0x1400661bf
mov qword [rsp + 0x30], rax
lea rax, str.FATAL
lea r9, [0x1400dd5dd]
mov rax, qword [r12 + rax]
lea r8, str._s_s:___s____llu_ms_:
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140066870
mov rsi, qword [rbp - 0x59]
lea rcx, [rbp - 0x71]
mov r15d, eax
mov rdx, rsi
call fcn.140092b70
mov r9, qword [rbp - 0x31]
movsxd rax, r15d
lea rcx, [rax + rbx]
mov rdx, rdi
or r8, 0xffffffffffffffff
sub rdx, rax
mov rax, qword [rbp - 0x71]
mov qword [rsp + 0x20], rax
call fcn.1400981b8
add r15d, eax
mov eax, 0
mov qword [rbp - 0x71], rax
je 0x140066228
movsxd rax, r15d
cmp byte [rax + rbx - 1], 0xa
je 0x140066228
test rdi, rdi
je 0x140066228
lea r8, [0x1400e44e4]
or r9, 0xffffffffffffffff
mov rdx, rdi
mov rcx, rbx
call fcn.14008e9ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.14008c8c8
mov rbx, qword [rbp - 0x51]
jmp 0x140066247
mov rbx, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x59]
lea rdi, str.FATAL
test byte [rbx + rdi + 0x10], 2
je 0x140066500
lea rcx, [rbp - 0x71]
mov rdx, rsi
call fcn.140092b70
mov rcx, qword [rbx + rdi]
test rcx, rcx
jne 0x140066275
xor ebx, ebx
mov r12d, ebx
jmp 0x140066284
mov edx, 0x104
call fcn.14008d154
xor ebx, ebx
mov r12, rax
lea rcx, [0x1400dd5dd]
mov edx, 0x104
call fcn.14008d154
mov r13, rax
mov rax, qword [rbp - 0x41]
test rax, rax
jne 0x1400662a6
mov rsi, rbx
jmp 0x1400662b6
mov edx, 0x104
mov rcx, rax
call fcn.14008d154
mov rsi, rax
mov rax, qword [rbp - 0x39]
test rax, rax
jne 0x1400662c4
mov rdi, rbx
jmp 0x1400662d4
mov edx, 0x104
mov rcx, rax
call fcn.14008d154
mov rdi, rax
mov edx, 0x104
mov rcx, r14
call fcn.14008d154
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x31]
mov rbx, rax
call fcn.1400909bc
mov edx, 0x104
movsxd rcx, eax
xor eax, eax
add rcx, 0x20
mov qword [rbp - 0x71], rax
add rcx, rbx
add rdi, rcx
lea rcx, str._sESIF__s__TYPE:__s_MODULE:__s_FUNC:__s_FILE:__s_LINE:__d_TIME:__llu_ms_n_n
add rdi, rsi
add rdi, r13
add rdi, r12
mov r12d, dword [rbp - 0x61]
test r12d, r12d
jne 0x140066329
lea rcx, str._sESIF__s__TYPE:__s_MODULE:__s_TIME__llu_ms_n_n
call fcn.14008d154
add rdi, rax
mov rcx, rdi
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x14006634e
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14008ca20
test rbx, rbx
je 0x140066500
lea r8, [0x1400f8188]
lea rdx, [0x1400f80f4]
mov rcx, r14
call fcn.140001627
test r12d, r12d
mov r12, qword [rbp - 0x51]
mov rsi, rax
mov rdx, rbx
je 0x1400663e1
mov r9, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
test rax, rax
mov rcx, r14
lea r8, str._sESIF__s__TYPE:__s_MODULE:__s_FUNC:__s_FILE:__s_LINE:__d_TIME:__llu_ms_n_n
cmovne rcx, rax
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x50], rax
mov eax, dword [rbp + 0x6f]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rcx
lea rax, [0x1400ddcb8]
lea r13, str.FATAL
mov rcx, qword [r12 + r13]
lea r9, [0x1400dd5dd]
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140066870
jmp 0x14006642b
mov rcx, qword [rbp - 0x69]
test rsi, rsi
mov rax, r14
mov qword [rsp + 0x38], rcx
cmovne rax, rsi
lea r13, str.FATAL
mov qword [rsp + 0x30], rax
mov rax, qword [r12 + r13]
lea r9, [0x1400dd5dd]
mov qword [rsp + 0x28], rax
lea rax, [0x1400ddcb8]
lea r8, str._sESIF__s__TYPE:__s_MODULE:__s_TIME__llu_ms_n_n
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140066870
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x71]
mov r15d, eax
call fcn.140092b70
mov r9, qword [rbp - 0x31]
movsxd rax, r15d
sub rdi, rax
lea rcx, [rax + rbx]
mov rax, qword [rbp - 0x71]
or r8, 0xffffffffffffffff
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400981b8
add r15d, eax
mov eax, 0
mov qword [rbp - 0x71], rax
je 0x140066480
movsxd rax, r15d
cmp byte [rax + rbx - 1], 0xa
jne 0x140066480
dec r15d
movsxd rax, r15d
mov byte [rax + rbx], 0
mov eax, dword [r12 + r13 + 8]
test eax, eax
js 0x1400664a3
cmp eax, 1
jle 0x140066497
cmp eax, 2
jne 0x1400664a3
mov edi, eax
jmp 0x1400664a8
mov r13d, 1
movzx edi, r13w
jmp 0x1400664ae
mov edi, 4
mov r13d, 1
lea r8, [0x1400f818c]
lea rdx, [0x1400f8190]
mov rcx, rbx
call fcn.140001627
mov r12, rax
test rax, rax
je 0x1400664d7
mov rcx, rbx
call fcn.14008c8c8
mov rbx, r12
mov r8, rbx
movzx edx, di
movzx ecx, r13w
call fcn.1400016db
test rbx, rbx
je 0x1400664f3
mov rcx, rbx
call fcn.14008c8c8
test rsi, rsi
je 0x140066500
mov rcx, rsi
call fcn.14008c8c8
test r14, r14
je 0x14006650d
mov rcx, r14
call fcn.14008c8c8
mov r12, qword [rsp + 0x120]
mov eax, r15d
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14008d900
add rsp, 0xe0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, edi
jmp 0x140066518