Function at 0x1400b2bf0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rax, [0x140212e70]
mov qword [rcx], rax
lea r14, [rcx + 0x10]
lea rdi, [rcx + 0x18]
lea rbx, [rsp + 0xa0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400e5760
movzx r13d, byte [rbx + 0x17]
test r13b, r13b
jns 0x1400b2c4f
mov r13, qword [rsp + 0xa8]
jns 0x1400b2c5e
mov rcx, qword [rsp + 0xa0]
call fcn.14015082c
mov rax, qword [rsi + 0x10]
movsxd rcx, dword [rax + 4]
add rcx, r14
lea rbx, [rsp + 0xa0]
mov rdx, rbx
call fcn.1401001f0
lea rdx, [0x140255698]
mov rcx, rbx
call fcn.140100fe0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [case.0x1401bb600.0]
mov ebp, eax
mov rcx, rbx
call fcn.140100300
mov rcx, r14
mov edx, ebp
call fcn.140039150
mov rcx, r14
call fcn.1400382c0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [r14], xmm0
mov rcx, rdi
mov rdx, r14
call fcn.1400e5760
movzx ecx, byte [r14 + 0x17]
mov r15, rcx
test cl, cl
jns 0x1400b2cf3
mov r15, qword [rsp + 0x78]
mov rax, qword [rsi + 0x118]
cmp r15, rax
jb 0x1400b2f3a
test cl, cl
jns 0x1400b2d0c
mov r14, qword [rsp + 0x70]
add r14, rax
sub r15, rax
js 0x1400b2f3d
je 0x1400b2d23
test r14, r14
je 0x1400b30ac
movabs rbp, 0x7fffffffffffffef
cmp r15, rbp
ja 0x1400b2f40
cmp r15, 0x16
ja 0x1400b2eb1
lea r12, [rsp + 0x58]
mov byte [r12 + 0x17], r15b
cmp r12, r14
ja 0x1400b2d5c
lea rax, [r12 + r15]
cmp rax, r14
ja 0x1400b30d8
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.140153c90
mov byte [r12 + r15], 0
mov eax, dword [rsi + 0x128]
mov rcx, qword [rsi + 0x120]
mov dword [rsp + 0x9c], eax
mov qword [rsp + 0x90], rcx
test byte [0x140240f20], 0x19
jne 0x1400b2f4a
cmp byte [rsp + 0x6f], 0
jns 0x1400b2da9
mov rcx, qword [rsp + 0x58]
call fcn.14015082c
cmp dword [rsi + 8], 3
je 0x1400b2f83
mov rax, qword [0x140256b98]
test rax, rax
je 0x1400b2deb
mov r9, qword [rsi + 0x118]
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
mov ecx, dword [rsi + 8]
lea r10, [rsp + 0x70]
mov qword [rsp + 0x20], r10
call qword [case.0x1401bb600.0]
test al, al
jne 0x1400b2e22
mov eax, dword [reloc.WS2_32.dll_accept]
test al, 2
jne 0x1400b301e
test al, 4
jne 0x1400b2ef1
cmp dword [rsi + 8], 2
jl 0x1400b2e10
cmp eax, 1
jbe 0x1400b2ef1
test al, 1
jne 0x1400b3036
cmp dword [rsi + 8], 3
je 0x1400b3083
cmp byte [rsp + 0x87], 0
jns 0x1400b2e36
mov rcx, qword [rsp + 0x70]
call fcn.14015082c
lea rcx, [rsi + 0x12c]
call fcn.14012f560
mov rax, qword [rsi + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x140212be0]
mov qword [rsi + rax + 0x10], rcx
lea rax, [0x140212c00]
mov qword [rsi + 0x18], rax
cmp byte [rsi + 0x6f], 0
jns 0x1400b2e70
mov rcx, qword [rsi + 0x58]
call fcn.14015082c
sub rsi, 0xffffffffffffff80
mov rcx, rdi
call fcn.1400e5070
mov rcx, rdi
call fcn.1400e5750
mov rcx, rsi
call fcn.1400e5060
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1401513b0
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], rdi
mov rdi, r13
mov r13, r15
or r13, 0xf
inc r13
mov rcx, r13
call fcn.1401507f0
mov r12, rax
mov qword [rsp + 0x58], rax
add rbp, 0x11
or rbp, r13
mov r13, rdi
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], r15
jmp 0x1400b2d4a
lea rbx, [rsp + 0x70]
movzx r14d, byte [rbx + 0x17]
test r14b, r14b
cmovs r14, qword [rbx + 8]
cmovs rbx, qword [rbx]
test r14, r14
je 0x1400b2e10
xor r15d, r15d
mov r8d, r14d
sub r8d, r15d
lea rdx, [rbx + r15]
mov ecx, 2
call fcn.14016e648
test eax, eax
jns 0x1400b321a
mov eax, dword [reloc.WS2_32.dll_accept]
jmp 0x1400b2e10
int3
int3
lea rcx, [rsp + 0x58]
call fcn.14018f170
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0xa0]
mov qword [rdx], rax
lea rax, [rsp + 0x9c]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x58]
mov qword [rdx + 0x10], rax
lea rcx, str.LogMessage
call fcn.1401c2d30
jmp 0x1400b2d98
cmp byte [0x140256be4], 0
jne 0x1400b2db3
mov byte [0x140256be4], 1
mov eax, dword [0x140256bf0]
mov ecx, dword [0x14024e434]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b322d
mov rcx, rsi
mov rdx, rbx
call fcn.1401c2920
movzx eax, byte [rsp + 0xb7]
test al, al
cmovs rbx, qword [rsp + 0xa0]
cmovs rax, qword [rsp + 0xa8]
lea rdx, [rsp + 0x58]
mov qword [rdx], rbx
mov qword [rdx + 8], rax
mov rcx, qword [0x140256be8]
call fcn.140124960
cmp byte [rsp + 0xb7], 0
jns 0x1400b3012
mov rcx, qword [rsp + 0xa0]
call fcn.14015082c
mov byte [0x140256be4], 0
jmp 0x1400b2db3
cmp byte [rsp + 0x87], 0
jns 0x1400b3104
mov rcx, qword [rsp + 0x70]
jmp 0x1400b3109
call fcn.1401c25c0
test al, al
je 0x1400b2e18
lea r9, [rsp + 0xa0]
mov dword [r9], 0xaaaaaaaa
lea rdx, [rsp + 0x70]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8d, dword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [0x140256bb0]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400b2e18
lea rbx, [rsp + 0xa0]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.140154340
cmp byte [rsp + 0x87], 0
jns 0x1400b311a
mov rdx, qword [rsp + 0x70]
jmp 0x1400b311f
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x136
call fcn.140191960
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0xf1
call fcn.140191960
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [reloc.WS2_32.dll_accept]
jmp 0x1400b2df9
lea rdx, [rsp + 0x70]
mov r8d, 0x400
mov rcx, rbx
call fcn.140112ff0
mov rcx, rbx
call fcn.1400e5750
call fcn.1401c2840
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 0x18]
je 0x1400b326f
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rax
call fcn.1401c2840
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x18]
test rdx, rdx
cmove rdx, rcx
dec rdx
cmp rcx, rdx
jb 0x1400b3272
shl rdx, 3
add rdx, qword [rax]
lea rbx, [rsp + 0x58]
mov rcx, rbx
call fcn.14011bc90
cmp qword [rbx], 0
jne 0x1400b31a0
lea rcx, [rsp + 0x58]
call fcn.14011bcc0
jmp 0x1400b2e22
cmp byte [rsp + 0x87], 0
jns 0x1400b31b1
mov rbx, qword [rsp + 0x70]
jmp 0x1400b31b6
lea rbx, [rsp + 0x70]
mov rcx, rbx
add rcx, r13
mov qword [rsp + 0x48], rcx
je 0x1400b3275
call fcn.140178f30
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x118]
add rbx, rax
mov qword [rsp + 0x38], rbx
sub r13, rax
mov qword [rsp + 0x40], r13
js 0x1400b3278
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
lea r9, [rsp + 0x38]
call fcn.1401c28b0
jmp 0x1400b3191
mov eax, eax
add r15, rax
cmp r14, r15
ja 0x1400b2f13
jmp 0x1400b2f2f
lea rcx, [0x140256bf0]
call fcn.140150950
cmp dword [0x140256bf0], 0xffffffff
jne 0x1400b2fbc
lea rcx, str.LOG_FATAL
mov edx, 0x400
call fcn.1400bdb10
mov qword [0x140256be8], rax
lea rcx, [0x140256bf0]
call fcn.1401509e8
jmp 0x1400b2fbc
int3
int3
int3
int3