Function at 0x180071ed0
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4020]
mov eax, 0x4120
call fcn.1801344c0
sub rsp, rax
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rbp + 0x4010], rax
movzx edi, byte [rcx + 0x11c]
xor eax, eax
mov r13d, dword [rcx + 0x118]
mov rsi, rcx
movzx r12d, byte [rcx + 0x11d]
mov r15d, eax
movzx ebx, word [rcx + 0x11e]
mov r14, r9
lea rcx, [0x180207cc0]
mov dword [rsp + 0x34], edi
mov dword [r9], eax
mov dword [rsp + 0x68], r8d
mov qword [rbp - 0x20], rdx
call fcn.18006c6e0
xor r8d, r8d
mov edx, r8d
mov dword [rsp + 0x64], edx
cmp dword [rsp + 0x68], r8d
jbe 0x1800735ee
mov eax, r8d
lea r11, [0x180000000]
mov qword [rbp - 0x80], rax
lea r9d, [r8 + 0x10]
mov r10d, 0xfffd
nop word [rax + rax]
mov rcx, qword [rbp - 0x20]
add rax, rax
movups xmm0, xmmword [rcx + rax*8]
mov ecx, r8d
mov dword [rsp + 0x30], ecx
movd eax, xmm0
movups xmmword [rbp - 0x18], xmm0
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x18007359d
nop word [rax + rax]
mov rdx, qword [rbp - 0x10]
mov eax, ecx
movzx edx, byte [rax + rdx]
movzx eax, dl
test dil, dil
jne 0x180071fff
not al
movzx eax, al
bsr r8d, eax
je 0x180072038
cmp r8d, 7
jne 0x180071fd8
mov r13d, edx
jmp 0x18007203b
cmp r8d, 5
ja 0x180072038
mov ecx, 8
mov r13d, 0xff
sub ecx, r8d
mov edi, 6
sar r13d, cl
sub dil, r8b
and r13d, edx
xor r8d, r8d
jmp 0x18007201a
and al, 0xc0
cmp al, 0x80
jne 0x18007202d
mov eax, r13d
mov ecx, edx
and ecx, 0x3f
shl eax, 6
mov r13d, ecx
add dil, 0xff
or r13d, eax
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x34], edi
test dil, dil
jne 0x180073572
jmp 0x18007203b
dec ecx
mov byte [rsp + 0x34], 0
mov dword [rsp + 0x30], ecx
mov r13d, r10d
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x180072419
test bx, bx
jne 0x18007207b
cmp r13d, 0x1b
je 0x180072071
cmp r13d, 0x9b
jne 0x180072419
mov ebx, 4
mov byte [rsi + 0x120], 0
jmp 0x18007356f
mov ebx, 2
jmp 0x18007356f
cmp bx, 2
jne 0x180072328
lea eax, [r13 - 0x1b]
cmp eax, 0x48
ja case.0x1800720a6.33
movzx eax, byte [r11 + rax + 0x736dc]
mov ecx, dword [r11 + rax*4 + 0x736c0]
add rcx, r11
jmp rcx
mov ebx, 4
mov byte [rsi + 0x120], 0
jmp case.0x1800720a6.27
mov ebx, 8
jmp case.0x1800720a6.27
test r15d, r15d
je 0x1800720fc
xor edi, edi
cmp dword [r14], edi
jne 0x1800720f9
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x3c]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800720f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp dword [r14], 0
movzx edi, word [reloc.WS2_32.dll_getsockopt]
mov dword [rsp + 0x38], 0
jne case.0x1800726d7.78
mov rcx, qword [rsi + 0x110]
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
test eax, eax
je 0x180072240
mov ebx, dword [rsp + 0x38]
mov edx, ebx
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
je 0x180072240
nop dword [rax + rax]
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x180072240
movsx eax, word [rbp - 8]
mov edx, reloc.WLDAP32.dll_Ordinal_32
movsx r8d, word [rbp - 6]
mov r9d, ebx
mov rcx, qword [rsi + 0x110]
imul r8d, eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
test eax, eax
je 0x1800721bf
mov r8d, dword [rsp + 0x3c]
lea rax, [rsp + 0x3c]
mov rcx, qword [rsi + 0x110]
mov r9d, ebx
movzx edx, di
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x1800721cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072150
jmp 0x180072240
movsx eax, word [rbp - 8]
xor r10d, r10d
movsx r8d, word [rbp + 8]
mov edx, r10d
mov dword [0x1802015c8], eax
mov ecx, r10d
movsx eax, word [rbp + 4]
sub r8d, eax
movsx eax, word [rbp - 2]
inc r8d
sub eax, r8d
mov dword [0x1802015c4], r8d
inc eax
test eax, eax
jle 0x180072206
mov edx, eax
mov ecx, eax
movsx r9d, word [rbp - 6]
lea eax, [r8 + rcx]
cmp eax, r9d
jle 0x18007221c
mov edx, r9d
sub edx, r8d
mov ecx, edx
test ecx, ecx
cmovs edx, r10d
mov dword [0x1802015c0], edx
lea rdx, [0x180207cd0]
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
test r15d, r15d
je 0x180072292
xor edi, edi
cmp dword [r14], edi
jne 0x18007228f
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x2c]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x18007228f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov r8, r14
mov dl, 1
mov rcx, rsi
call fcn.1800718c0
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
test r15d, r15d
je 0x1800722e8
xor edi, edi
cmp dword [r14], edi
jne 0x1800722e5
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x24]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800722e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov r8, r14
mov dl, 1
mov rcx, rsi
call fcn.1800717e0
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
lea eax, [r13 - 0x40]
cmp eax, 0x1f
ja 0x18007231e
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
xor edi, edi
movzx ebx, di
jmp 0x18007241b
cmp bx, 0x10
jne 0x180072347
lea eax, [r13 - 0x40]
xor r8d, r8d
cmp eax, 0x3e
ja 0x180073572
movzx ebx, r8w
jmp 0x180073572
mov edx, 0x200
cmp bx, dx
jne 0x180072499
lea eax, [r13 - 0x40]
cmp eax, 0x3e
ja 0x180072415
cmp r13d, 0x71
jne case.0x1800726d7.78
cmp byte [rsi + 0x120], 0
je 0x180072387
movzx ebx, word [rsi + 0x122]
cmp ebx, 6
ja case.0x1800726d7.78
jmp 0x18007238c
mov ebx, 1
test r15d, r15d
je 0x1800723c5
xor edi, edi
cmp dword [r14], edi
jne 0x1800723c2
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x78]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800723c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov rcx, qword [rsi + 0x110]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
test eax, eax
je 0x180072240
test ebx, ebx
jne 0x1800723f7
mov eax, dword [0x180207cd0]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
jmp 0x18007222f
cmp ebx, 2
lea rdx, [rsp + 0x70]
mov eax, Ordinal_26
mov ecx, 0x64
cmovbe eax, ecx
mov dword [rsp + 0x70], eax
jmp 0x18007222f
movzx ebx, r9w
xor edi, edi
cmp r13d, 0xa
je 0x180073647
cmp r13d, 0xd
je 0x18007350b
mov eax, r15d
mov ecx, 0x2000
sub rcx, rax
cmp r13d, 0xffff
ja 0x18007348b
cmp rcx, 1
jae 0x180072485
test r15d, r15d
je 0x180072485
cmp dword [r14], 0
jne 0x180072482
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x38]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072482
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov eax, r15d
inc r15d
xor r12b, r12b
mov word [rbp + rax*2 + 0x10], r13w
jmp case.0x1800720a6.27
test bl, 4
je 0x1800733f6
lea eax, [r13 - 0x30]
cmp eax, 9
ja 0x180072519
movzx eax, byte [rsi + 0x120]
test bl, 0x20
jne 0x1800724e4
cmp al, 4
jb 0x1800724c4
movzx ebx, r9w
jmp 0x18007356f
or bx, 0x20
inc al
movzx ecx, al
lea eax, [r13 - 0x30]
mov byte [rsi + 0x120], cl
mov word [rsi + rcx*2 + 0x120], ax
jmp case.0x1800720a6.27
lea rdx, [rsi + rax*2]
movzx eax, word [rdx + 0x120]
lea ecx, [rax + rax*4]
add ecx, ecx
cmp ecx, 0xffff
jbe 0x180072505
movzx ebx, r9w
jmp case.0x1800720a6.27
sub cx, 0x30
add cx, r13w
mov word [rdx + 0x120], cx
jmp case.0x1800720a6.27
cmp r13d, 0x3b
jne 0x180072561
test bl, 0x20
je 0x180072531
mov eax, 0xffdf
and bx, ax
jmp 0x18007356f
movzx eax, byte [rsi + 0x120]
cmp al, 4
jb 0x180072545
movzx ebx, r9w
jmp 0x18007356f
inc al
movzx eax, al
xor r8d, r8d
mov byte [rsi + 0x120], al
mov word [rsi + rax*2 + 0x120], r8w
jmp 0x180073572
cmp r13d, 0x3f
jne 0x180072587
mov eax, 0x120
test ax, bx
jne 0x1800725a3
cmp byte [rsi + 0x120], 0
jne 0x1800725a3
mov eax, 0x100
or bx, ax
jmp 0x18007356f
cmp r13d, 0x20
jne 0x1800725a3
mov eax, 0x100
and bx, ax
jne 0x1800724bb
movzx ebx, dx
jmp 0x18007356f
mov eax, 0x100
and bx, ax
lea eax, [r13 - 0x40]
cmp eax, 0x3e
ja 0x1800724bb
test bx, bx
je 0x1800726b6
cmp r13d, 0x68
je 0x180072642
cmp r13d, 0x6c
jne case.0x1800726d7.78
cmp byte [rsi + 0x120], 1
jne case.0x1800726d7.78
cmp word [rsi + 0x122], 0x19
jne case.0x1800726d7.78
test r15d, r15d
je 0x180072625
xor edi, edi
cmp dword [r14], edi
jne 0x180072622
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x74]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072622
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov r8, r14
xor edx, edx
mov rcx, rsi
call fcn.1800719f0
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
cmp byte [rsi + 0x120], 1
jne case.0x1800726d7.78
cmp word [rsi + 0x122], 0x19
jne case.0x1800726d7.78
test r15d, r15d
je 0x180072696
xor edi, edi
cmp dword [r14], edi
jne 0x180072693
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x70]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072693
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov r8, r14
mov edx, 1
mov rcx, rsi
call fcn.1800719f0
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
lea eax, [r13 - 0x41]
cmp eax, 0x34
ja case.0x1800726d7.78
movzx eax, byte [r11 + rax + 0x73760]
mov ecx, dword [r11 + rax*4 + 0x73728]
add rcx, r11
jmp rcx
xor edi, edi
test r15d, r15d
je 0x180072712
cmp dword [r14], edi
jne 0x18007270f
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x6c]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x18007270f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 0
je 0x180072724
movzx ebx, word [rsi + 0x122]
jmp 0x180072729
mov ebx, 1
cmp dword [r14], 0
jne case.0x1800726d7.78
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180072751
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
movsx r8d, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub r8d, eax
mov ecx, dword [0x1802015c0]
inc r8d
movsx edx, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], r8d
cmp ecx, 0xffffffff
jne 0x180072786
mov ecx, edx
jmp 0x180072792
mov eax, edx
sub eax, r8d
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r9d, word [rbp - 6]
lea eax, [r8 + rcx]
cmp eax, r9d
jle 0x1800727a6
mov ecx, r9d
sub ecx, r8d
test ecx, ecx
cmovs ecx, edi
sub edx, ebx
mov dword [0x1802015c0], ecx
cmp edx, ecx
jge 0x1800727bb
mov edx, ecx
jmp 0x1800727c6
lea eax, [r8 + rcx]
cmp edx, eax
jl 0x1800727c6
lea edx, [rax - 1]
movsx eax, word [rbp - 4]
test eax, eax
jns 0x1800727d2
mov eax, edi
jmp 0x1800727db
cmp eax, r10d
jl 0x1800727db
lea eax, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], dx
mov edx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072733
jmp 0x180072240
xor edi, edi
test r15d, r15d
je 0x18007284b
cmp dword [r14], edi
jne 0x180072848
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x68]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072848
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 0
je 0x18007285d
movzx ebx, word [rsi + 0x122]
jmp 0x180072862
mov ebx, 1
cmp dword [r14], 0
jne case.0x1800726d7.78
nop dword [rax]
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x18007288e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
movsx edx, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub edx, eax
mov ecx, dword [0x1802015c0]
inc edx
movsx r9d, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], edx
cmp ecx, 0xffffffff
jne 0x1800728c1
mov ecx, r9d
jmp 0x1800728cd
mov eax, r9d
sub eax, edx
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r8d, word [rbp - 6]
lea eax, [rdx + rcx]
cmp eax, r8d
jle 0x1800728df
mov ecx, r8d
sub ecx, edx
test ecx, ecx
lea r8d, [r9 + rbx]
cmovs ecx, edi
mov dword [0x1802015c0], ecx
cmp r8d, ecx
jge 0x1800728f8
mov r8d, ecx
jmp 0x180072904
lea eax, [rdx + rcx]
cmp r8d, eax
jl 0x180072904
lea r8d, [rax - 1]
movsx eax, word [rbp - 4]
test eax, eax
jns 0x180072910
mov eax, edi
jmp 0x180072919
cmp eax, r10d
jl 0x180072919
lea eax, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x44], ax
mov word [rsp + 0x46], r8w
mov edx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072870
jmp 0x180072240
xor edi, edi
test r15d, r15d
je 0x18007298a
cmp dword [r14], edi
jne 0x180072987
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x64]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072987
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 0
je 0x18007299c
movzx ebx, word [rsi + 0x122]
jmp 0x1800729a1
mov ebx, 1
cmp dword [r14], 0
jne case.0x1800726d7.78
nop dword [rax + rax]
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1800729ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
movsx r8d, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub r8d, eax
mov ecx, dword [0x1802015c0]
inc r8d
movsx edx, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], r8d
cmp ecx, 0xffffffff
jne 0x180072a03
mov ecx, edx
jmp 0x180072a0f
mov eax, edx
sub eax, r8d
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r9d, word [rbp - 6]
lea eax, [r8 + rcx]
cmp eax, r9d
jle 0x180072a23
mov ecx, r9d
sub ecx, r8d
test ecx, ecx
cmovs ecx, edi
mov dword [0x1802015c0], ecx
cmp edx, ecx
jge 0x180072a36
mov edx, ecx
jmp 0x180072a41
lea eax, [r8 + rcx]
cmp edx, eax
jl 0x180072a41
lea edx, [rax - 1]
movsx eax, word [rbp - 4]
add eax, ebx
jns 0x180072a4d
mov eax, edi
jmp 0x180072a56
cmp eax, r10d
jl 0x180072a56
lea eax, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x48], ax
mov word [rsp + 0x4a], dx
mov edx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x1800729b0
jmp 0x180072240
xor edi, edi
test r15d, r15d
je 0x180072ac6
cmp dword [r14], edi
jne 0x180072ac3
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x60]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072ac3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 0
je 0x180072ad8
movzx ebx, word [rsi + 0x122]
jmp 0x180072add
mov ebx, 1
cmp dword [r14], 0
jne case.0x1800726d7.78
nop word [rax + rax]
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180072b0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
movsx r8d, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub r8d, eax
mov eax, dword [0x1802015c0]
inc r8d
movsx edx, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], r8d
cmp eax, 0xffffffff
jne 0x180072b43
mov eax, edx
jmp 0x180072b4f
mov ecx, edx
sub ecx, r8d
inc ecx
cmp eax, ecx
cmovl eax, ecx
movsx r9d, word [rbp - 6]
lea ecx, [r8 + rax]
cmp ecx, r9d
jle 0x180072b63
mov eax, r9d
sub eax, r8d
test eax, eax
cmovs eax, edi
mov dword [0x1802015c0], eax
cmp edx, eax
jge 0x180072b76
mov edx, eax
jmp 0x180072b81
lea ecx, [r8 + rax]
cmp edx, ecx
jl 0x180072b81
lea edx, [rcx - 1]
movsx eax, word [rbp - 4]
sub eax, ebx
jns 0x180072b8d
mov eax, edi
jmp 0x180072b96
cmp eax, r10d
jl 0x180072b96
lea eax, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x4c], ax
mov word [rsp + 0x4e], dx
mov edx, dword [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072af0
jmp 0x180072240
xor edi, edi
test r15d, r15d
je 0x180072c06
cmp dword [r14], edi
jne 0x180072c03
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x5c]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072c03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 0
je 0x180072c18
movzx ebx, word [rsi + 0x122]
jmp 0x180072c1d
mov ebx, 1
cmp dword [r14], 0
jne case.0x1800726d7.78
nop word [rax + rax]
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180072c4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
mov r11d, edi
movsx edx, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub edx, eax
mov ecx, dword [0x1802015c0]
inc edx
movsx r9d, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], edx
cmp ecx, 0xffffffff
jne 0x180072c84
mov ecx, r9d
jmp 0x180072c90
mov eax, r9d
sub eax, edx
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r8d, word [rbp - 6]
lea eax, [rdx + rcx]
cmp eax, r8d
jle 0x180072ca2
mov ecx, r8d
sub ecx, edx
test ecx, ecx
lea eax, [r9 + rbx]
cmovs ecx, edi
mov dword [0x1802015c0], ecx
cmp eax, ecx
jge 0x180072cb9
mov eax, ecx
jmp 0x180072cc6
lea r8d, [rdx + rcx]
cmp eax, r8d
jl 0x180072cc6
lea eax, [r8 - 1]
test r10d, r10d
jg 0x180072ccf
lea r11d, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x50], r11w
mov word [rsp + 0x52], ax
mov edx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072c30
jmp 0x180072240
xor edi, edi
test r15d, r15d
je 0x180072d40
cmp dword [r14], edi
jne 0x180072d3d
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x58]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072d3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 0
je 0x180072d52
movzx ebx, word [rsi + 0x122]
jmp 0x180072d57
mov ebx, 1
cmp dword [r14], 0
jne case.0x1800726d7.78
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180072d7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
mov r11d, edi
movsx r8d, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub r8d, eax
mov ecx, dword [0x1802015c0]
inc r8d
movsx edx, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], r8d
cmp ecx, 0xffffffff
jne 0x180072db7
mov ecx, edx
jmp 0x180072dc3
mov eax, edx
sub eax, r8d
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r9d, word [rbp - 6]
lea eax, [r8 + rcx]
cmp eax, r9d
jle 0x180072dd7
mov ecx, r9d
sub ecx, r8d
test ecx, ecx
cmovs ecx, edi
sub edx, ebx
mov dword [0x1802015c0], ecx
cmp edx, ecx
jge 0x180072dec
mov edx, ecx
jmp 0x180072df7
lea eax, [r8 + rcx]
cmp edx, eax
jl 0x180072df7
lea edx, [rax - 1]
test r10d, r10d
jg 0x180072e00
lea r11d, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x54], r11w
mov word [rsp + 0x56], dx
mov edx, dword [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072d61
jmp 0x180072240
xor edi, edi
test r15d, r15d
je 0x180072e71
cmp dword [r14], edi
jne 0x180072e6e
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x54]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072e6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp byte [rsi + 0x120], 1
jb 0x180072e89
movzx eax, word [rsi + 0x122]
lea ebx, [rax - 1]
test ax, ax
jne 0x180072e8b
mov ebx, edi
cmp dword [r14], 0
jne case.0x1800726d7.78
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180072eb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
mov r11d, ebx
movsx edx, word [rbp + 8]
movsx r10d, word [rbp - 8]
sub edx, eax
mov ecx, dword [0x1802015c0]
inc edx
movsx r8d, word [rbp - 2]
mov dword [0x1802015c8], r10d
mov dword [0x1802015c4], edx
cmp ecx, 0xffffffff
jne 0x180072ee9
mov ecx, r8d
jmp 0x180072ef5
mov eax, r8d
sub eax, edx
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r9d, word [rbp - 6]
lea eax, [rdx + rcx]
cmp eax, r9d
jle 0x180072f07
mov ecx, r9d
sub ecx, edx
test ecx, ecx
cmovs ecx, edi
mov dword [0x1802015c0], ecx
cmp r8d, ecx
jge 0x180072f1c
mov r8d, ecx
jmp 0x180072f28
lea eax, [rdx + rcx]
cmp r8d, eax
jl 0x180072f28
lea r8d, [rax - 1]
test ebx, ebx
jns 0x180072f31
mov r11d, edi
jmp 0x180072f3a
cmp ebx, r10d
jl 0x180072f3a
lea r11d, [r10 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x58], r11w
mov word [rsp + 0x5a], r8w
mov edx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072e95
jmp 0x180072240
test r15d, r15d
je 0x180072fb1
cmp dword [r14], 0
jne 0x180072faa
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x50]
xor edi, edi
lea rdx, [rbp + 0x10]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180072faa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
xor edx, edx
mov r15d, edx
jmp 0x180072fb3
xor edx, edx
movzx ecx, byte [rsi + 0x120]
cmp cl, 1
jb 0x180072fce
movzx eax, word [rsi + 0x122]
lea edi, [rax - 1]
test ax, ax
jne 0x180072fd0
mov edi, edx
cmp cl, 2
jb 0x180072fe4
movzx eax, word [rsi + 0x124]
lea ebx, [rax - 1]
test ax, ax
jne 0x180072fe6
mov ebx, edx
cmp dword [r14], 0
jne case.0x1800726d7.78
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x18007300e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
mov r10d, ebx
movsx edx, word [rbp + 8]
movsx r9d, word [rbp - 8]
sub edx, eax
mov ecx, dword [0x1802015c0]
inc edx
mov dword [0x1802015c8], r9d
mov dword [0x1802015c4], edx
cmp ecx, 0xffffffff
jne 0x180073040
movsx ecx, word [rbp - 2]
jmp 0x18007304d
movsx eax, word [rbp - 2]
sub eax, edx
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r8d, word [rbp - 6]
lea eax, [rdx + rcx]
cmp eax, r8d
jle 0x18007305f
mov ecx, r8d
sub ecx, edx
test ecx, ecx
mov eax, 0
cmovs ecx, eax
mov dword [0x1802015c0], ecx
lea r8d, [rcx + rdi]
cmp r8d, ecx
jge 0x18007307d
mov r8d, ecx
jmp 0x18007308b
lea eax, [rdx + rcx]
cmp r8d, eax
jl 0x180073089
lea r8d, [rax - 1]
xor eax, eax
test ebx, ebx
jns 0x180073094
mov r10d, eax
jmp 0x18007309d
cmp ebx, r9d
jl 0x18007309d
lea r10d, [r9 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x5c], r10w
mov word [rsp + 0x5e], r8w
mov edx, dword [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180072ff0
jmp 0x180072240
test r15d, r15d
je 0x180073114
cmp dword [r14], 0
jne 0x18007310d
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x4c]
xor edi, edi
lea rdx, [rbp + 0x10]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x18007310d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
xor eax, eax
mov r15d, eax
jmp 0x180073116
xor eax, eax
cmp byte [rsi + 0x120], 0
je 0x18007314d
movzx edx, word [rsi + 0x122]
cmp edx, 2
ja case.0x1800726d7.78
mov r9, r14
mov r8b, 1
mov rcx, rsi
call fcn.180070a60
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
mov edx, eax
mov r9, r14
mov r8b, 1
mov rcx, rsi
call fcn.180070a60
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
test r15d, r15d
je 0x1800731ab
cmp dword [r14], 0
jne 0x1800731a4
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x48]
xor edi, edi
lea rdx, [rbp + 0x10]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800731a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
xor eax, eax
mov r15d, eax
jmp 0x1800731ad
xor eax, eax
cmp byte [rsi + 0x120], 0
je 0x1800731e4
movzx edx, word [rsi + 0x122]
cmp edx, 2
ja case.0x1800726d7.78
mov r9, r14
xor r8d, r8d
mov rcx, rsi
call fcn.180070a60
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
mov edx, eax
mov r9, r14
xor r8d, r8d
mov rcx, rsi
call fcn.180070a60
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
test r15d, r15d
je 0x18007323d
xor edi, edi
cmp dword [r14], edi
jne 0x18007323a
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x44]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x18007323a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov rdx, r14
mov rcx, rsi
call fcn.180071a70
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
test r15d, r15d
je 0x180073291
xor edi, edi
cmp dword [r14], edi
jne 0x18007328e
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x40]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x18007328e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov r8, r14
xor edx, edx
mov rcx, rsi
call fcn.1800718c0
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
test r15d, r15d
je 0x1800732e7
xor edi, edi
cmp dword [r14], edi
jne 0x1800732e4
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x28]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800732e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
cmp dword [r14], 0
jne case.0x1800726d7.78
test dword [rsi + 0x58], 0x4000000
je case.0x1800726d7.78
movsx edi, word [rsi + 0x12c]
movsx ebx, word [rsi + 0x12a]
nop dword [rax]
mov rcx, qword [rsi + 0x110]
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x18007332e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rbp + 4]
mov r10d, ebx
movsx edx, word [rbp + 8]
movsx r9d, word [rbp - 8]
sub edx, eax
mov ecx, dword [0x1802015c0]
inc edx
mov dword [0x1802015c8], r9d
mov dword [0x1802015c4], edx
cmp ecx, 0xffffffff
jne 0x180073360
movsx ecx, word [rbp - 2]
jmp 0x18007336d
movsx eax, word [rbp - 2]
sub eax, edx
inc eax
cmp ecx, eax
cmovl ecx, eax
movsx r8d, word [rbp - 6]
lea eax, [rdx + rcx]
cmp eax, r8d
jle 0x18007337f
mov ecx, r8d
sub ecx, edx
test ecx, ecx
mov eax, 0
cmovs ecx, eax
mov dword [0x1802015c0], ecx
lea r8d, [rdi + rcx]
cmp r8d, ecx
jge 0x18007339d
mov r8d, ecx
jmp 0x1800733ab
lea eax, [rdx + rcx]
cmp r8d, eax
jl 0x1800733a9
lea r8d, [rax - 1]
xor eax, eax
test ebx, ebx
jns 0x1800733b4
mov r10d, eax
jmp 0x1800733bd
cmp ebx, r9d
jl 0x1800733bd
lea r10d, [r9 - 1]
mov rcx, qword [rsi + 0x110]
mov word [rsp + 0x60], r10w
mov word [rsp + 0x62], r8w
mov edx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne case.0x1800726d7.78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180073310
jmp 0x180072240
test bl, 8
je 0x1800736ba
test bl, 0x40
je 0x18007343f
test bl, bl
js 0x180073432
cmp r13d, 0x22
jne 0x18007341b
mov eax, 0xffbf
and bx, ax
jmp 0x18007356f
cmp r13d, 0x5c
jne 0x18007356f
mov eax, 0x80
or bx, ax
jmp 0x18007356f
mov eax, 0xff7f
and bx, ax
jmp 0x18007356f
cmp r13d, 7
je 0x18007347f
cmp r13d, 0x5c
jne 0x180073459
test bl, 2
jne 0x18007347f
and bx, r10w
jmp 0x18007356f
cmp r13d, 0x1b
jne 0x180073468
or bx, 2
jmp 0x18007356f
cmp r13d, 0x22
jne 0x180073450
mov eax, 0xff7d
and bx, ax
or bx, 0x40
jmp 0x18007356f
xor r8d, r8d
movzx ebx, r8w
jmp 0x180073572
cmp rcx, 2
jae 0x1800734c9
test r15d, r15d
je 0x1800734c9
cmp dword [r14], 0
jne 0x1800734c6
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x34]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800734c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
add r13d, 0xffff0000
mov eax, 0x2800
mov ecx, r13d
shr ecx, 0xa
sub cx, ax
mov eax, r15d
inc r15d
mov word [rbp + rax*2 + 0x10], cx
mov eax, 0x3ff
movzx ecx, r13w
and cx, ax
mov eax, 0x2400
sub cx, ax
mov word [rbp + r15*2 + 0x10], cx
inc r15d
xor r12b, r12b
jmp case.0x1800720a6.27
cmp r12b, 0xa
je 0x180073567
mov eax, r15d
mov ecx, 0x2000
sub rcx, rax
cmp rcx, 1
jae 0x18007355b
test r15d, r15d
je 0x18007355b
cmp dword [r14], 0
jne 0x180073558
mov rcx, qword [rsi + 0x110]
lea r9, [rsp + 0x78]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180073558
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov eax, r15d
mov word [rbp + rax*2 + 0x10], r13w
inc r15d
movzx r12d, r13b
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
mov edi, dword [rsp + 0x34]
lea r11, [0x180000000]
inc ecx
mov r9d, reloc.WS2_32.dll_recv
mov r10d, 0xfffd
mov dword [rsp + 0x30], ecx
cmp ecx, dword [rsp + 0x6c]
jb 0x180071fb0
mov edx, dword [rsp + 0x64]
mov rax, qword [rbp - 0x80]
inc edx
inc rax
mov dword [rsp + 0x64], edx
mov qword [rbp - 0x80], rax
cmp edx, dword [rsp + 0x68]
jb 0x180071f80
test r15d, r15d
je 0x1800735ee
cmp dword [r14], 0
jne 0x1800735ee
mov rcx, qword [rsi + 0x110]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r8
lea rdx, [rbp + 0x10]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1800735ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
lea rcx, [0x180207cc0]
mov byte [rsi + 0x11c], dil
mov dword [rsi + 0x118], r13d
mov byte [rsi + 0x11d], r12b
mov word [rsi + 0x11e], bx
call fcn.18006c6b0
mov eax, dword [r14]
neg eax
sbb eax, eax
mov rcx, qword [rbp + 0x4010]
xor rcx, rsp
call fcn.180133630
mov rbx, qword [rsp + 0x4170]
add rsp, 0x4120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r12b, 0xd
je 0x180073511
mov eax, r15d
mov ecx, 0x2000
sub rcx, rax
cmp rcx, 2
jae 0x18007369a
test r15d, r15d
je 0x18007369a
cmp dword [r14], 0
jne 0x180073697
mov rcx, qword [rsi + 0x110]
lea r9, [rbp - 0x30]
mov r8d, r15d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x180073697
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov r15d, edi
mov eax, r15d
mov ecx, reloc.WS2_32.dll_listen
inc r15d
mov word [rbp + rax*2 + 0x10], cx
mov ecx, 0xa
mov word [rbp + r15*2 + 0x10], cx
jmp 0x180073564
call fcn.180144c1c
int3