Function at 0x140004d0e
Capabilities:
Print debug messages

Disassembly:
jmp 0x14006b0a0
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xd0
mov rax, qword [0x14016c4a0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x138]
xor edi, edi
mov qword [rsp + 0x78], r9
mov r12d, ecx
mov rcx, qword [rsp + 0x140]
mov ebx, edx
mov qword [rsp + 0x80], rcx
mov r14d, edi
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x98], edx
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x14006b10e
mov qword [rsp + 0x90], rdi
jmp 0x14006b123
mov edx, 0x7fffffff
mov rcx, rax
call fcn.140004e71
mov qword [rsp + 0x90], rax
mov eax, edi
mov qword [rsp + 0x60], rdi
test ebx, ebx
mov qword [rsp + 0xa0], rdi
lea rcx, [rsp + 0x60]
mov r13d, edi
setns al
mov rbp, rdi
mov dword [rsp + 0x68], eax
mov rsi, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs rax, 0x20c49ba5e353f7cf
imul qword [rsp + 0x60]
mov rcx, rdx
sar rcx, 7
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rsp + 0xa0]
cqo
idiv rcx
shr r12d, 1
mov qword [rsp + 0x60], rax
je 0x14006b987
mov qword [rsp + 0x110], r15
inc r13d
test r12b, 1
je 0x14006b267
mov ecx, r13d
call fcn.14006ae40
mov rbx, rax
test rax, rax
jne 0x14006b1c5
mov r15, rbp
mov rax, rdi
jmp 0x14006b1f6
mov edx, socket
mov rcx, rax
call fcn.140004e71
cmp rax, 0x11
jb 0x14006b1dc
add rbx, 0x11
mov r15, rbp
test rbx, rbx
jne 0x14006b1e9
mov rax, rdi
jmp 0x14006b1f6
mov edx, 0x104
mov rcx, rbx
call fcn.140004e71
add rax, 2
mov rcx, rbp
add rsi, rax
mov rdx, rsi
call fcn.14000253b
mov rdi, rax
test rbp, rbp
jne 0x14006b222
test rax, rax
je 0x14006b222
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov rbp, rdi
test rdi, rdi
je 0x14006b32a
test r15, r15
je 0x14006b24e
test rsi, rsi
je 0x14006b265
or r9, 0xffffffffffffffff
lea r8, [0x14013837c]
mov rdx, rsi
mov rcx, rdi
call fcn.140003c65
test rsi, rsi
je 0x14006b265
or r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140003c65
xor edi, edi
shr r12d, 1
jne 0x14006b1a0
test rbp, rbp
je 0x14006b95a
movsxd rcx, dword [rsp + 0x98]
mov edx, 4
mov rsi, qword [rsp + 0x78]
cmp rcx, rdx
mov ebx, edi
cmova ecx, edx
mov edx, 0x5c
test ecx, ecx
cmovns ebx, ecx
mov rcx, rsi
call fcn.140004eb2
test rax, rax
je 0x14006b2b3
lea rsi, [rax + 1]
mov qword [rsp + 0x78], rsi
mov ecx, dword [rsp + 0x68]
lea r15, str.FATAL
cmp r13d, 1
movsxd rax, ebx
mov r10d, 1
cmove ecx, edi
imul r13, rax, 0x11
mov dword [rsp + 0x68], ecx
test byte [r15 + r13 + 0x10], r10b
je 0x14006b39a
mov rax, qword [rsp + 0x60]
lea r8, [0x14011d7d5]
mov r9, qword [r15 + r13]
test ecx, ecx
mov ecx, r10d
je 0x14006b332
mov ebx, dword [rsp + 0x130]
lea rdx, str._s_s:___s__s__s_d___llu_ms_:
mov r12, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call fcn.1400049c1
jmp 0x14006b354
mov rbp, r15
jmp 0x14006b94d
mov qword [rsp + 0x28], rax
lea rdx, str._s_s:___s____llu_ms_:
mov qword [rsp + 0x20], rbp
call fcn.1400049c1
mov ebx, dword [rsp + 0x130]
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
mov r14d, eax
mov rdx, qword [rsp + 0x80]
mov rcx, r15
call fcn.140001505
add r14d, eax
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x14006b3ae
cmp byte [r15 + rax - 1], 0xa
je 0x14006b3ae
lea rdx, [0x1401248fc]
mov ecx, 1
call fcn.1400049c1
jmp 0x14006b3ae
mov ebx, dword [rsp + 0x130]
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x70]
lea rax, str.FATAL
test byte [rax + r13 + 0x10], 8
je 0x14006b4c7
mov ecx, 3
call fcn.1400012f3
test eax, eax
je 0x14006b4c7
xor eax, eax
mov qword [rsp + 0x90], rdi
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xa9], rax
mov qword [rsp + 0xb1], rax
mov qword [rsp + 0xb9], rax
mov dword [rsp + 0xc1], eax
mov byte [rsp + 0xc5], al
mov byte [rsp + 0xa8], 0
call fcn.14000213a
lea r8, [rsp + 0x90]
mov edx, 0x1e
lea rcx, [rsp + 0xa8]
call fcn.140001bef
cmp dword [rsp + 0x68], 0
lea r8, [rsp + 0xac]
mov rax, qword [rsp + 0x60]
mov ecx, 3
mov byte [rsp + 0xbc], 0
je 0x14006b484
mov qword [rsp + 0x40], rax
lea rdx, str._s_s:___s__s__s_d___llu_ms_:
mov dword [rsp + 0x38], ebx
lea rax, str.FATAL
mov r9, qword [rax + r13]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call fcn.14000190b
jmp 0x14006b4a5
mov qword [rsp + 0x28], rax
lea rdx, str._s_s:___s____llu_ms_:
lea rax, str.FATAL
mov qword [rsp + 0x20], rbp
mov r9, qword [rax + r13]
call fcn.14000190b
mov r9, qword [rsp + 0x80]
lea rdx, [0x1401248fc]
mov r8, r15
mov ecx, 3
mov r14d, eax
call fcn.140003ca1
add r14d, eax
lea rbx, str.FATAL
test byte [rbx + r13 + 0x10], 4
je 0x14006b6bc
mov rcx, qword [rbx + r13]
test rcx, rcx
jne 0x14006b4e8
mov r15, rdi
jmp 0x14006b4f5
mov edx, 0x104
call fcn.140004e71
mov r15, rax
mov edx, 0x104
lea rcx, [0x14011d7d5]
call fcn.140004e71
mov r12, rax
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006b518
mov rsi, rdi
jmp 0x14006b528
mov edx, 0x104
mov rcx, rax
call fcn.140004e71
mov rsi, rax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14006b542
mov edx, 0x104
mov rcx, rax
call fcn.140004e71
mov rdi, rax
mov edx, 0x104
mov rcx, rbp
call fcn.140004e71
mov rdx, qword [rsp + 0x80]
mov rbx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1400019ab
movsxd rcx, eax
mov edx, 0x104
add rcx, 0x16
add rcx, rbx
add rdi, rcx
lea rcx, str._s_s:___s__s__s_d___llu_ms_:
add rdi, rsi
mov esi, dword [rsp + 0x68]
add rdi, r12
add rdi, r15
test esi, esi
jne 0x14006b598
lea rcx, str._s_s:___s____llu_ms_:
call fcn.140004e71
add rdi, rax
mov rcx, rdi
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x14006b6b3
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
mov rax, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
test esi, esi
je 0x14006b61e
mov r9, qword [rsp + 0x78]
lea r8, str._s_s:___s__s__s_d___llu_ms_:
mov r12, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x40], eax
lea rax, str.FATAL
mov rax, qword [rax + r13]
mov qword [rsp + 0x38], r9
lea r9, [0x14011d7d5]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14006bbd0
jmp 0x14006b64b
mov qword [rsp + 0x30], rax
lea r9, [0x14011d7d5]
lea rax, str.FATAL
mov qword [rsp + 0x28], rbp
mov rax, qword [rax + r13]
lea r8, str._s_s:___s____llu_ms_:
mov qword [rsp + 0x20], rax
call fcn.14006bbd0
mov r9, qword [rsp + 0x88]
mov r14d, eax
cdqe
mov rdx, rdi
sub rdx, rax
or r8, 0xffffffffffffffff
lea rcx, [rax + rbx]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.1400049fd
add r14d, eax
je 0x14006b6a2
movsxd rax, r14d
cmp byte [rax + rbx - 1], 0xa
je 0x14006b6a2
test rdi, rdi
je 0x14006b6a2
or r9, 0xffffffffffffffff
lea r8, [0x1401248fc]
mov rdx, rdi
mov rcx, rbx
call fcn.140003c65
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.140002d65
lea rbx, str.FATAL
xor edi, edi
test byte [rbx + r13 + 0x10], 2
je 0x14006b94d
mov rcx, qword [rbx + r13]
test rcx, rcx
jne 0x14006b6d6
mov r15, rdi
jmp 0x14006b6e3
mov edx, 0x104
call fcn.140004e71
mov r15, rax
mov edx, 0x104
lea rcx, [0x14011d7d5]
call fcn.140004e71
mov r12, rax
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006b706
mov rsi, rdi
jmp 0x14006b716
mov edx, 0x104
mov rcx, rax
call fcn.140004e71
mov rsi, rax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14006b730
mov edx, 0x104
mov rcx, rax
call fcn.140004e71
mov rdi, rax
mov edx, 0x104
mov rcx, rbp
call fcn.140004e71
mov rdx, qword [rsp + 0x80]
mov rbx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1400019ab
movsxd rcx, eax
mov edx, 0x104
add rcx, 0x20
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, r12
add rdi, r15
mov r15d, dword [rsp + 0x68]
test r15d, r15d
jne 0x14006b788
lea rcx, str._sESIF__s__TYPE:__s_MODULE:__s_TIME__llu_ms_n_n
call fcn.140004e71
add rdi, rax
mov rcx, rdi
call fcn.1400037c9
mov rbx, rax
test rax, rax
je 0x14006b7ad
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400033e1
test rbx, rbx
je 0x14006b94d
lea r8, [0x140138418]
mov rcx, rbp
lea rdx, [0x14013837c]
call fcn.14000451b
test r15d, r15d
mov rsi, rax
lea r15, str.FATAL
mov rdx, rbx
je 0x14006b843
mov r9, qword [rsp + 0x78]
lea r8, str._sESIF__s__TYPE:__s_MODULE:__s_FUNC:__s_FILE:__s_LINE:__d_TIME:__llu_ms_n_n
mov r12, qword [rsp + 0x70]
test rax, rax
mov rcx, rbp
cmovne rcx, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x48], eax
lea rax, [0x14011ded8]
mov qword [rsp + 0x40], r9
lea r9, [0x14011d7d5]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rcx
mov rcx, qword [r15 + r13]
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14006bbd0
jmp 0x14006b887
mov rcx, qword [rsp + 0x60]
lea r9, [0x14011d7d5]
mov qword [rsp + 0x38], rcx
lea r8, str._sESIF__s__TYPE:__s_MODULE:__s_TIME__llu_ms_n_n
test rsi, rsi
mov rax, rbp
mov rcx, rdi
cmovne rax, rsi
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + r13]
mov qword [rsp + 0x28], rax
lea rax, [0x14011ded8]
mov qword [rsp + 0x20], rax
call fcn.14006bbd0
mov r9, qword [rsp + 0x88]
mov r14d, eax
cdqe
or r8, 0xffffffffffffffff
sub rdi, rax
mov rdx, rdi
lea rcx, [rax + rbx]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.1400049fd
add r14d, eax
je 0x14006b8cd
movsxd rax, r14d
cmp byte [rax + rbx - 1], 0xa
jne 0x14006b8cd
dec r14d
movsxd rax, r14d
mov byte [rax + rbx], 0
mov eax, dword [r15 + r13 + 8]
test eax, eax
js 0x14006b8f0
cmp eax, 1
jle 0x14006b8e4
cmp eax, 2
jne 0x14006b8f0
mov edi, eax
jmp 0x14006b8f5
mov r12d, 1
movzx edi, r12w
jmp 0x14006b8fb
mov edi, 4
mov r12d, 1
lea r8, [0x14013841c]
mov rcx, rbx
lea rdx, [0x140138420]
call fcn.14000451b
mov r15, rax
test rax, rax
je 0x14006b924
mov rcx, rbx
call fcn.140002d65
mov rbx, r15
mov r8, rbx
movzx edx, di
movzx ecx, r12w
call fcn.140002ea5
test rbx, rbx
je 0x14006b940
mov rcx, rbx
call fcn.140002d65
test rsi, rsi
je 0x14006b94d
mov rcx, rsi
call fcn.140002d65
test rbp, rbp
je 0x14006b95a
mov rcx, rbp
call fcn.140002d65
mov r15, qword [rsp + 0x110]
mov eax, r14d
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0xd0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, edi
jmp 0x14006b965