Function at 0x14001f570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2320]
mov eax, 0x2420
call fcn.140033800
sub rsp, rax
mov rax, qword [0x140047d18]
xor rax, rsp
mov qword [rbp + 0x2310], rax
mov rbx, rcx
xor esi, esi
mov edi, esi
cmp dword [rcx + 0xad8], esi
jbe 0x14001f623
nop dword [rax]
mov ecx, edi
mov rax, qword [rbx + 0xad0]
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x50]
mov r8, rbx
mov rdx, qword [rax + rcx*8]
lea rcx, [0x1400489e8]
call fcn.140013990
mov ecx, eax
cmp eax, 0xffffffff
jne 0x14001f609
mov eax, dword [rbp - 0x50]
cmp eax, 0x2746
jne 0x14001f5f9
mov ecx, esi
jmp 0x14001f609
test eax, eax
je 0x14001f609
movzx eax, byte [rbx + 8]
test al, al
je 0x14001f70a
movzx eax, byte [rbx + 8]
test al, al
jne 0x14001f71c
test ecx, ecx
jg 0x14001f5c0
inc edi
cmp edi, dword [rbx + 0xad8]
jb 0x14001f5c0
mov r13, rsi
mov r15d, esi
mov qword [rsp + 0x60], r15
nop
mov rax, qword [rbx + 0xa60]
cmp rax, qword [rbx + 0xa78]
je 0x14001f76a
movzx eax, byte [rax + 0x40]
test al, al
je 0x14001f76a
mov rdi, qword [rbx + 0xa60]
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0xa60], rax
test rdi, rdi
je 0x14001f76a
mov eax, dword [rdi + 0x38]
test eax, eax
jne 0x14001f723
test r13, r13
jne 0x14001f683
call fcn.140013f20
mov r13, rax
mov qword [rsp + 0x48], r13
mov byte [rsp + 0x40], 1
movzx ecx, byte [rdi + 0x18]
mov byte [rsp + 0x38], cl
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x30], rcx
movzx ecx, byte [rdi + 0xc]
mov byte [rsp + 0x28], cl
mov eax, dword [rdi + 8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
mov rdx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140021750
test al, al
jne 0x14001f6ce
mov rcx, qword [rdi + 0x30]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rdi + 0x1c], esi
je 0x14001f742
lea rdx, [0x1400395f0]
lea rcx, [rdi + 0x10]
call fcn.140010710
test al, al
je 0x14001f742
mov r9b, 1
movzx r8d, r9b
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14001bec0
test rax, rax
je 0x14001f742
mov ecx, dword [rdi + 0x1c]
mov dword [rax + 0x1414], ecx
jmp 0x14001f742
mov byte [rbx + 8], 1
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + 0x68]
xor al, al
jmp 0x140020912
cmp eax, 1
jne 0x14001f742
movzx eax, byte [rdi + 0xc]
mov byte [rsp + 0x20], al
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14001aa80
inc dword [rbx + 0xa80]
mov rax, qword [rbx + 0xa70]
mov byte [rax + 0x40], sil
mov rax, qword [rbx + 0xa70]
mov rcx, qword [rax + 0x48]
mov qword [rbx + 0xa70], rcx
jmp 0x14001f630
mov qword [rbp - 0x60], r13
mov eax, dword [rbx + 0x60c]
movabs rdi, 0x624dd2f1a9fbe77
cmp dword [rbx + 0x608], eax
je 0x14001f98c
test r13, r13
jne 0x14001f7b6
call fcn.140013f20
mov r13, rax
mov qword [rbp - 0x60], rax
mov rax, rdi
mul r13
mov r15, r13
sub r15, rdx
shr r15, 1
add r15, rdx
shr r15, 9
mov qword [rsp + 0x60], r15
xor eax, eax
mov r14d, eax
lea rcx, [rbx + 0x618]
call sub.KERNEL32.dll_EnterCriticalSection
mov edx, dword [rbx + 0x60c]
mov ecx, dword [rbx + 0x608]
cmp ecx, edx
ja 0x14001f7db
sub edx, ecx
jmp 0x14001f7e5
mov eax, dword [rbx + 0x610]
sub eax, ecx
add edx, eax
cmp r14d, edx
jae 0x14001f980
lea eax, [rcx + r14]
mov r8d, dword [rbx + 0x610]
mov rdx, qword [rbx + 0x600]
cmp eax, r8d
jb 0x14001f811
sub ecx, r8d
add ecx, r14d
lea rdi, [rdx + rcx*8]
jmp 0x14001f815
lea rdi, [rdx + rax*8]
mov rdi, qword [rdi]
lea rcx, [rbx + 0x618]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp dword [rdi + 8], r15d
jae 0x14001f8e2
movzx r15d, byte [rdi + 0xc]
lea rdx, [0x1400395f0]
mov rcx, rdi
call fcn.1400106b0
cmp al, 1
sete sil
cmp r15b, 8
je 0x14001f8ea
test sil, sil
jne 0x14001f8ea
inc byte [rdi + 0xc]
mov r15, qword [rsp + 0x60]
lea eax, [r15 + 0x1f4]
mov dword [rdi + 8], eax
mov word [rsp + 0x78], 9
xor eax, eax
mov esi, eax
cmp dword [rbx + 0x5f8], eax
jbe 0x14001f8ab
mov ecx, esi
mov rax, qword [rbx + 0x5f0]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov r9, qword [rdi]
mov r8d, sendto
lea rdx, [rsp + 0x78]
call qword [rax + 0x40]
inc esi
cmp esi, dword [rbx + 0x5f8]
jb 0x14001f880
mov ecx, dword [rdi + 0x11c]
mov rdx, qword [rbx + 0xad0]
movzx eax, word [rdi + 4]
mov word [rsp + 0x28], ax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov r9d, 2
lea r8, [rsp + 0x78]
mov rdx, qword [rdx + rcx*8]
lea rcx, [0x1400489e8]
call fcn.140013a80
inc r14d
jmp 0x14001f7bb
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001f8ff
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [rdi + 0x10], rax
cmp r15b, 8
jne 0x14001f95e
test sil, sil
jne 0x14001f95e
cmp dword [rdi + 0x124], 1
jne 0x14001f95e
mov rax, qword [0x140043150]
mov ecx, 0x29
call rax
lea rdx, [rax + 0x28]
mov qword [rax + 0x18], rdx
mov dword [rax + 0xc], 1
mov byte [rax + 0x20], sil
mov byte [rdx], reloc.WS2_32.dll_ntohs
mov dword [rax + 0x10], 8
mov edx, dword [rdi]
mov dword [rax + 4], edx
movzx edx, word [rdi + 4]
mov word [rax + 8], dx
mov ecx, 0xffff
mov word [rax], cx
mov rdx, rax
mov rcx, rbx
call fcn.140019cd0
mov rcx, rdi
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, r14d
lea rcx, [rbx + 0x600]
call fcn.14001f1c0
mov r15, qword [rsp + 0x60]
jmp 0x14001f7bb
lea rcx, [rbx + 0x618]
call sub.KERNEL32.dll_LeaveCriticalSection
xor r13d, r13d
mov esi, r13d
mov dword [rbp - 0x78], r13d
cmp r13w, word [rbx + 0xc]
jae 0x140020910
nop dword [rax]
nop word [rax + rax]
mov eax, esi
imul r14, rax, 0x1418
add r14, qword [rbx + 0x540]
cmp byte [r14], 0
je 0x1400208ff
mov eax, dword [r14 + 4]
mov dword [rsp + 0x50], eax
movzx eax, word [r14 + 8]
mov word [rsp + 0x54], ax
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x14001fa13
call fcn.140013f20
mov rdi, rax
mov qword [rbp - 0x60], rax
movabs rax, 0x624dd2f1a9fbe77
mul rdi
mov r15, rdi
sub r15, rdx
shr r15, 1
add r15, rdx
shr r15, 9
mov qword [rsp + 0x60], r15
mov ecx, dword [r14 + 0x13e0]
cmp r15d, ecx
jbe 0x14001fa64
mov eax, r15d
sub eax, ecx
cmp eax, 0x1388
jbe 0x14001fa64
cmp dword [r14 + 0x1414], 8
jne 0x14001fa64
lea rcx, [r14 + 0x20]
call fcn.140027190
cmp dword [rax + 0x90], 0
jne 0x14001fa64
mov r9d, 2
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d6c0
mov dword [r14 + 0x13e0], r15d
lea rax, [rbx + 0x5f0]
movsxd rcx, dword [r14 + 0x13fc]
mov rdx, qword [rbx + 0xad0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0xb10]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, dword [r14 + 0x1410]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rdx + rcx*8]
lea rcx, [r14 + 0x20]
call fcn.14002bea0
lea rcx, [r14 + 0x20]
call fcn.14002b130
test al, al
jne 0x140020942
mov eax, dword [r14 + 0x1414]
dec eax
cmp eax, 1
ja 0x14001fad6
lea rcx, [r14 + 0x20]
call fcn.14002b140
test al, al
je 0x140020942
cmp dword [r14 + 0x1414], 3
jne 0x14001fb05
lea rcx, [r14 + 0x20]
call fcn.1400257e0
test al, al
je 0x140020942
mov rdx, rdi
lea rcx, [r14 + 0x20]
call fcn.140025460
cmp al, 1
je 0x140020942
mov eax, dword [r14 + 0x1414]
sub eax, 4
cmp eax, 3
ja 0x14001fb30
mov ecx, dword [r14 + 0x13e4]
cmp r15d, ecx
jbe 0x14001fb30
mov eax, r15d
sub eax, ecx
cmp eax, 0x2710
ja 0x140020942
lea rcx, [r14 + 0x20]
call fcn.14002b120
test al, al
je 0x14001fc2d
mov rax, qword [0x140043150]
mov ecx, 0x29
call rax
mov rdi, rax
lea rcx, [rax + 0x28]
mov qword [rax + 0x18], rcx
mov dword [rax + 0xc], 1
mov byte [rax + 0x20], 0
mov dword [rax + 0x10], 8
mov byte [rcx], 0x18
mov ecx, dword [rsp + 0x50]
mov dword [rax + 4], ecx
movzx ecx, word [rsp + 0x54]
mov word [rax + 8], cx
mov word [rax], si
mov rax, qword [rbx + 0xcc8]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rbx + 0xcd0]
je 0x14001fba9
mov rax, qword [rbx + 0xcc8]
mov rcx, qword [rax + 0x10]
movzx eax, byte [rcx + 8]
cmp al, 1
jne 0x14001fbf0
mov rax, qword [rbx + 0xcc8]
mov rsi, qword [rax + 0x10]
mov ecx, 0x18
call fcn.140032c68
mov rcx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14001fbd0
mov byte [rax + 8], 0
jmp 0x14001fbd3
mov rcx, r13
mov rax, qword [rbx + 0xcc8]
mov qword [rax + 0x10], rcx
mov rax, qword [rbx + 0xcc8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 0x10], rsi
mov esi, dword [rbp - 0x78]
mov rcx, qword [rbx + 0xcc8]
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0xcc8], rax
mov qword [rcx], rdi
inc dword [rbx + 0xce4]
mov rax, qword [rbx + 0xcd8]
mov byte [rax + 8], 1
mov rax, qword [rbx + 0xcd8]
mov rcx, qword [rax + 0x10]
mov qword [rbx + 0xcd8], rcx
jmp 0x1400208ff
cmp dword [r14 + 0x1414], 8
jne 0x14001fc76
cmp r15d, dword [r14 + 0x13dc]
jbe 0x14001fc76
cmp byte [rbx + 0xa], 0
jne 0x14001fc55
mov eax, 0xffff
cmp word [r14 + 0x13d8], ax
jne 0x14001fc76
lea eax, [r15 + 0x1388]
mov dword [r14 + 0x13dc], eax
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d6c0
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.14002b320
mov r13d, eax
test eax, eax
je 0x1400208fc
mov rsi, qword [rsp + 0x58]
movzx ecx, byte [rsi]
cmp cl, 0xf
je 0x1400208f0
cmp cl, 0x18
je 0x1400208f0
lea r15d, [r13 + 7]
shr r15d, 3
cmp qword [rbx + 0xa40], 0
je 0x14001fdd7
mov edx, 0x5d4
lea rcx, [rbp + 0xe0]
call fcn.14000f970
nop
lea rcx, [rbp + 0xe0]
call fcn.14000ffb0
mov r8d, r15d
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0xe0]
call fcn.140010190
mov esi, dword [rbp + 0xe0]
lea edx, [rsi + 7]
shr edx, 3
add dword [rbx + 0xa54], edx
test esi, esi
je 0x14001fdc0
mov rax, qword [0x140043150]
mov ecx, edx
call rax
mov rdi, rax
mov r8d, dword [rbp + 0xe0]
add r8d, 7
shr r8, 3
mov rdx, qword [rbp + 0xf0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0xe0]
call fcn.14000ffb0
lea r9, [rbp + 0xe0]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0xa40]
call fcn.14002d0d0
mov ecx, dword [rbp + 0xe0]
add ecx, 7
shr ecx, 3
add dword [rbx + 0xa5c], ecx
mov rcx, rdi
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, dword [rbp + 0xe0]
add edi, 7
shr edi, 3
mov esi, edi
cmp edi, r15d
jbe 0x14001fda7
mov rcx, qword [rsp + 0x58]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140043150]
mov ecx, esi
call rax
mov qword [rsp + 0x58], rax
jmp 0x14001fdac
mov rax, qword [rsp + 0x58]
mov r8, rsi
mov rdx, qword [rbp + 0xf0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14001fdc4
xor eax, eax
mov edi, eax
lea rcx, [rbp + 0xe0]
call fcn.14000faa0
mov rsi, qword [rsp + 0x58]
jmp 0x14001fdda
mov edi, r15d
mov ecx, dword [r14 + 0x1414]
cmp ecx, 6
jne 0x14001fe57
mov rcx, rbx
cmp byte [rsi], 4
jne 0x14001fe0c
mov dword [rsp + 0x20], edi
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rdx, r14
call fcn.14001d300
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
mov byte [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
call fcn.14001aa80
mov rax, qword [rbx]
mov rsi, qword [rax + 0x108]
lea rcx, [r14 + 0x20]
call fcn.140027370
mov edi, eax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140010980
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call rsi
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
movzx eax, byte [rsi]
cmp al, 4
jne 0x14001fe93
mov rdx, r14
cmp ecx, 4
mov rcx, rbx
jne 0x14001fe84
mov dword [rsp + 0x20], edi
mov r9, rsi
mov r8, qword [rsp + 0x50]
call fcn.14001d300
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
call fcn.1400215e0
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
cmp al, 0x11
jne 0x14001fff5
cmp edi, 0xd
jne 0x140020284
lea eax, [rcx - 4]
test eax, 0xfffffffc
jne 0x14001feb3
cmp ecx, 6
jne 0x14001fed2
lea rdx, [rbx + 0x430]
lea rcx, [rsp + 0x50]
call fcn.1400106b0
test al, al
jne 0x14001fed2
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
mov dword [r14 + 0x1414], 8
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d6c0
xor r9d, r9d
lea r8d, [r9 + 0xd]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0xd40]
call fcn.14000f9d0
nop
mov edx, 8
lea rcx, [rbp + 0xd40]
call fcn.14000fbe0
mov r9b, 1
mov r8d, 0x20
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xd40]
call fcn.14000fcb0
mov r9b, 1
mov r8d, sendto
lea rdx, [rbp - 0x1c]
lea rcx, [rbp + 0xd40]
call fcn.14000fcb0
mov r9b, 1
mov r8d, 0x20
lea rdx, [r14 + 0x14]
lea rcx, [rbp + 0xd40]
call fcn.14000fcb0
lea rdx, [r14 + 0x18]
mov r9b, 1
mov r8d, sendto
lea rcx, [rbp + 0xd40]
call fcn.14000fcb0
mov rax, qword [rbp - 0x20]
mov dword [r14 + 0xc], eax
movzx ecx, word [rbp - 0x1c]
mov word [r14 + 0x10], cx
mov dword [rbx + 0xcb0], eax
mov word [rbx + 0xcb4], cx
mov rdi, qword [rsp + 0x58]
mov rax, qword [0x140043150]
mov ecx, 0x28
call rax
mov qword [rax + 0x18], rdi
mov dword [rax + 0xc], ntohs
mov byte [rax + 0x20], 1
mov dword [rax + 0x10], r13d
mov ecx, dword [rsp + 0x50]
mov dword [rax + 4], ecx
movzx ecx, word [rsp + 0x54]
mov word [rax + 8], cx
mov ecx, dword [rbp - 0x78]
mov word [rax], cx
mov rdx, rax
mov rcx, rbx
call fcn.140019cd0
nop
lea rcx, [rbp + 0xd40]
call fcn.14000faa0
jmp 0x1400208d5
cmp al, 3
jne 0x14002013e
cmp edi, 9
jne 0x140020284
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
lea rcx, [rbp + 0x1580]
call fcn.14000f9d0
nop
lea edx, [rdi - 1]
lea rcx, [rbp + 0x1580]
call fcn.14000fbe0
mov r9b, 1
lea r8d, [rdi + 0x17]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x1580]
call fcn.14000fcb0
mov r9b, 1
lea r8d, [rdi + 0x17]
lea rdx, [rbp - 0x4c]
lea rcx, [rbp + 0x1580]
call fcn.14000fcb0
call fcn.140013f20
mov rdi, rax
mov qword [rbp - 0x60], rax
movabs rax, 0x624dd2f1a9fbe77
mul rdi
mov rax, rdi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
mov r15d, eax
mov qword [rsp + 0x60], r15
mov ecx, eax
sub ecx, dword [rbp - 0x58]
xor r8d, r8d
mov edx, r8d
cmp eax, dword [rbp - 0x58]
cmova edx, ecx
movsxd rax, dword [r14 + 0x13d4]
lea rcx, [r14 + rax*8]
movzx eax, word [rcx + 0x13ac]
test eax, eax
je 0x1400200c0
lea eax, [rax + rax*2]
cmp edx, eax
jae 0x140020121
cmp edx, 0x4b0
jae 0x140020121
mov word [rcx + 0x13ac], dx
mov eax, dword [rbp - 0x58]
shr eax, 1
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
mov eax, r15d
shr eax, 1
sub ecx, eax
movsxd rax, dword [r14 + 0x13d4]
mov dword [r14 + rax*8 + 0x13b0], ecx
movzx eax, word [r14 + 0x13d8]
mov ecx, 0xffff
cmp ax, cx
je 0x1400200fd
cmp eax, edx
jle 0x140020105
mov word [r14 + 0x13d8], dx
inc dword [r14 + 0x13d4]
mov eax, dword [r14 + 0x13d4]
cmp eax, 5
cmove eax, r8d
mov dword [r14 + 0x13d4], eax
mov rcx, qword [rsp + 0x58]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0x1580]
call fcn.14000faa0
jmp 0x1400208da
test al, al
jne 0x14002026b
cmp edi, 5
jne 0x140020284
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
lea rcx, [rbp + 0x1dc0]
call fcn.14000f9d0
nop
lea edx, [rdi + 3]
lea rcx, [rbp + 0x1dc0]
call fcn.14000fbe0
mov r9b, 1
lea r8d, [rdi + 0x1b]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x1dc0]
call fcn.14000fcb0
lea rcx, [rbp + 0x1160]
call fcn.14000fa80
nop
mov byte [rbp - 0x80], 3
mov r9b, 1
lea r8d, [rdi + 3]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x1160]
call fcn.140010230
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x40], eax
mov r9b, 1
lea r8d, [rdi + 0x1b]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1160]
call fcn.140010230
call fcn.140013d80
mov r15d, eax
mov qword [rsp + 0x60], r15
call fcn.140013f20
mov r13, rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x38], r15d
mov r9b, 1
lea r8d, [rdi + 0x1b]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x1160]
call fcn.140010230
mov qword [rsp + 0x48], r13
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], 0
xor eax, eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rbp + 0x1160]
mov rdx, qword [rbp + 0x1170]
mov rcx, rbx
call fcn.140021750
mov rcx, qword [rsp + 0x58]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0x1160]
call fcn.14000faa0
nop
lea rcx, [rbp + 0x1dc0]
call fcn.14000faa0
jmp 0x1400208da
cmp al, 0x13
jne 0x140020284
mov dword [r14 + 0x1414], 3
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
cmp al, 7
jne 0x14002032a
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
lea rcx, [rbp + 0x19a0]
call fcn.14000f9d0
nop
mov edx, 8
lea rcx, [rbp + 0x19a0]
call fcn.14000fbe0
call fcn.140023470
xor ecx, ecx
mov dword [rsp + 0x20], ecx
lea r9, [rbp + 0x19a0]
mov r8d, 0xff
lea rdx, [rbp + 0x2210]
mov rcx, rax
call fcn.140022e60
mov r9b, 1
mov r8d, 8
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x19a0]
call fcn.14000fdd0
lea rcx, [r14 + 0x1400]
movzx r8d, byte [rsp + 0x68]
lea rdx, [rbp + 0x2210]
call fcn.14002c9b0
mov rcx, qword [rsp + 0x58]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0x19a0]
call fcn.14000faa0
jmp 0x1400208d5
cmp al, 5
jne 0x14002034f
cmp edi, 0x39
jne 0x1400208cc
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.140020a80
mov rcx, qword [rsp + 0x58]
jmp 0x1400208cf
cmp al, 6
jne 0x1400205a4
cmp edi, 0x35
jne 0x1400208cc
lea rcx, [rbp + 0x20]
call fcn.140023b20
nop
lea rcx, [rbp + 0x20]
call fcn.140023db0
lea r8d, [rdi - 0x31]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140025030
lea r8d, [rdi - 0x33]
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x20]
call fcn.140025030
lea rdx, [rbx + 0xc84]
lea r8d, [rdi - 0x21]
lea rcx, [rbp + 0x20]
call fcn.140025030
lea rcx, [rbp + 0x20]
call fcn.140023c00
mov rdi, qword [rsp + 0x58]
lea rcx, [rbp + 0x20]
call fcn.140023da0
mov rcx, qword [rax]
cmp rcx, qword [rdi + 1]
jne 0x1400203e1
mov rcx, qword [rax + 8]
cmp rcx, qword [rdi + 9]
jne 0x1400203e1
mov eax, dword [rax + 0x10]
cmp eax, dword [rdi + 0x11]
je 0x140020466
lea rcx, [rbp + 0x20]
call fcn.140023db0
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140025030
mov r8d, 2
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x20]
call fcn.140025030
lea rdx, [rbx + 0xc98]
mov r8d, reloc.WS2_32.dll_sendto
lea rcx, [rbp + 0x20]
call fcn.140025030
lea rcx, [rbp + 0x20]
call fcn.140023c00
mov rdi, qword [rsp + 0x58]
lea rcx, [rbp + 0x20]
call fcn.140023da0
mov rcx, qword [rax]
cmp rcx, qword [rdi + 1]
jne 0x14002058a
mov rcx, qword [rax + 8]
cmp rcx, qword [rdi + 9]
jne 0x14002058a
mov eax, dword [rax + 0x10]
cmp eax, dword [rdi + 0x11]
jne 0x14002058a
mov rcx, qword [rsp + 0x58]
movups xmm0, xmmword [rcx + 0x15]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rcx + 0x25]
movups xmmword [rbp + 0x10], xmm1
cmp byte [rbx + 0xba4], 0
je 0x1400204ef
lea rax, [rbx + 0xc38]
lea rcx, [rbx + 0xc28]
lea rdx, [rbx + 0xc08]
lea r10, [rbx + 0xbf8]
lea r11, [rbx + 0xc48]
lea rdi, [rbx + 0xc18]
lea r9, [rbx + 0xbe8]
lea r8, [rbx + 0xba8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rdi
lea rdx, [rbp]
lea rcx, [rbp + 0x21e0]
call fcn.1400140a0
mov rcx, qword [rsp + 0x58]
xor eax, eax
mov edx, eax
lea r8, [rcx + 1]
lea rax, [rcx + 0x10]
lea r9, [rbp + 0x2200]
cmp r9, rax
ja 0x140020544
lea rax, [rbp + 0x220f]
cmp rax, r8
jb 0x140020544
lea rax, [rbp + 0x21e0]
sub rcx, rax
lea r8, [rcx + 1]
lea rax, [rbp + 0x21e0]
add rax, rdx
movzx ecx, byte [r8 + rax]
xor cl, byte [rax]
mov byte [rbp + rdx + 0x2200], cl
inc rdx
cmp rdx, 0x10
jl 0x140020521
jmp 0x14002055d
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [rbp + 0x21e0]
pxor xmm1, xmm0
movdqu xmmword [rbp + 0x2200], xmm1
mov rdx, r14
mov rcx, rbx
call fcn.1400215e0
mov byte [r14 + 0x13f8], 1
movups xmm0, xmmword [rbp + 0x2200]
movups xmmword [r14 + 0x13e8], xmm0
mov dword [r14 + 0x1414], 7
mov rcx, qword [rsp + 0x58]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0x20]
call fcn.140023b60
jmp 0x1400208d5
cmp al, 8
je 0x1400208cc
cmp al, 0xe
jne 0x140020882
cmp edi, 0xf
jne 0x1400208cc
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x1400206dc
cmp byte [rbx + 0xcac], 0
jne 0x1400206dc
xor al, al
xor r15b, r15b
test al, al
je 0x1400208cc
xor r9d, r9d
lea r8d, [r9 + 0xf]
mov rdx, rsi
lea rcx, [rbp + 0x920]
call fcn.14000f9d0
nop
mov edx, 8
lea rcx, [rbp + 0x920]
call fcn.14000fbe0
mov r9b, 1
mov r8d, 0x20
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x920]
call fcn.14000fcb0
mov r9b, 1
mov r8d, sendto
lea rdx, [rbp - 0x14]
lea rcx, [rbp + 0x920]
call fcn.14000fcb0
mov r9b, 1
mov r8d, sendto
lea rdx, [rbp - 0x54]
lea rcx, [rbp + 0x920]
call fcn.14000fcb0
mov r9b, 1
mov r8d, 0x20
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x920]
call fcn.14000fcb0
mov r9b, 1
mov r8d, sendto
lea rdx, [rbp - 0xc]
lea rcx, [rbp + 0x920]
call fcn.14000fcb0
mov rax, qword [rbp - 0x18]
mov dword [r14 + 0xc], eax
movzx edx, word [rbp - 0x14]
mov word [r14 + 0x10], dx
mov ecx, dword [rbp - 0x10]
mov dword [r14 + 0x14], ecx
movzx ecx, word [rbp - 0xc]
mov word [r14 + 0x18], cx
mov dword [r14 + 0x1414], 8
mov dword [rbx + 0xcb0], eax
mov word [rbx + 0xcb4], dx
test r15b, r15b
jne 0x1400206f7
lea rcx, [r14 + 0x20]
cmp byte [r14 + 0x13f8], r15b
je 0x1400206f0
lea rdx, [r14 + 0x13e8]
jmp 0x1400206f2
mov al, 1
cmp ecx, 5
jne 0x1400205d8
movzx r15d, al
jmp 0x1400205db
xor edx, edx
call fcn.14002bb40
mov rdi, qword [rsp + 0x58]
mov rax, qword [0x140043150]
mov ecx, 0x28
call rax
mov rsi, rax
mov qword [rax + 0x18], rdi
mov dword [rax + 0xc], reloc.WS2_32.dll_ntohs
mov byte [rax + 0x20], 1
mov dword [rax + 0x10], 0x78
mov ecx, dword [rsp + 0x50]
mov dword [rax + 4], ecx
movzx ecx, word [rsp + 0x54]
mov word [rax + 8], cx
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001b590
mov word [rsi], ax
mov rdx, rsi
mov rcx, rbx
call fcn.140019cd0
mov edx, ntohs
lea rcx, [rbp + 0x500]
call fcn.14000f970
nop
mov byte [rsp + 0x70], reloc.WS2_32.dll_recvfrom
mov r9b, 1
mov r8d, 8
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x500]
call fcn.140010230
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x30], eax
mov r9b, 1
mov r8d, 0x20
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x500]
call fcn.140010230
movzx eax, word [rsp + 0x54]
mov word [rbp - 0x70], ax
mov r9b, 1
mov r8d, sendto
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x500]
call fcn.140010230
mov eax, dword [rbx + 0x430]
mov dword [rbp - 0x28], eax
mov r9b, 1
mov r8d, 0x20
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x500]
call fcn.140010230
movzx eax, word [rbx + 0x434]
mov word [rbp - 0x68], ax
mov r9b, 1
mov r8d, sendto
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x500]
call fcn.140010230
call fcn.140013f20
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, dword [rbp + 0x500]
mov rdx, qword [rbp + 0x510]
mov rcx, rbx
call fcn.140021750
test r15b, r15b
jne 0x140020867
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d6c0
nop
lea rcx, [rbp + 0x500]
call fcn.14000faa0
nop
lea rcx, [rbp + 0x920]
call fcn.14000faa0
jmp 0x1400208d5
cmp al, 0xb
jb 0x1400208cc
cmp byte [r14], 0
je 0x1400208cc
mov rax, qword [0x140043150]
mov ecx, 0x28
call rax
mov qword [rax + 0x18], rsi
mov dword [rax + 0xc], edi
mov byte [rax + 0x20], 1
mov dword [rax + 0x10], r13d
mov ecx, dword [rsp + 0x50]
mov dword [rax + 4], ecx
movzx ecx, word [rsp + 0x54]
mov word [rax + 8], cx
mov ecx, dword [rbp - 0x78]
mov word [rax], cx
mov rdx, rax
mov rcx, rbx
call fcn.140019cd0
jmp 0x1400208d5
mov rcx, rsi
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.14002b320
mov r13d, eax
mov rsi, qword [rsp + 0x58]
test r13d, r13d
jne 0x14001fc94
mov esi, dword [rbp - 0x78]
xor r13d, r13d
inc esi
mov dword [rbp - 0x78], esi
movzx eax, word [rbx + 0xc]
cmp esi, eax
jb 0x14001f9b0
mov al, 1
mov rcx, qword [rbp + 0x2310]
xor rcx, rsp
call fcn.140032dc0
lea r11, [rsp + 0x2420]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [r14 + 0x1414]
cmp eax, 8
je 0x140020959
dec eax
cmp eax, 3
ja 0x140020a58
mov rax, qword [0x140043150]
mov ecx, 0x29
call rax
mov rdi, rax
lea rcx, [rax + 0x28]
mov qword [rax + 0x18], rcx
mov dword [rax + 0xc], 1
mov dword [rax + 0x10], 1
mov byte [rax + 0x20], 0
mov eax, dword [r14 + 0x1414]
cmp eax, 4
jne 0x140020995
mov byte [rcx], reloc.WS2_32.dll_ntohs
jmp 0x14002099f
cmp eax, 8
sete al
add al, 0x13
mov byte [rcx], al
mov eax, dword [rsp + 0x50]
mov dword [rdi + 4], eax
movzx eax, word [rsp + 0x54]
mov word [rdi + 8], ax
mov word [rdi], si
mov rax, qword [rbx + 0xcc8]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rbx + 0xcd0]
je 0x1400209d9
mov rax, qword [rbx + 0xcc8]
mov rcx, qword [rax + 0x10]
movzx eax, byte [rcx + 8]
cmp al, 1
jne 0x140020a20
mov rax, qword [rbx + 0xcc8]
mov rsi, qword [rax + 0x10]
mov ecx, 0x18
call fcn.140032c68
mov rcx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x140020a00
mov byte [rax + 8], 0
jmp 0x140020a03
mov rcx, r13
mov rax, qword [rbx + 0xcc8]
mov qword [rax + 0x10], rcx
mov rax, qword [rbx + 0xcc8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 0x10], rsi
mov esi, dword [rbp - 0x78]
mov rcx, qword [rbx + 0xcc8]
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0xcc8], rax
mov qword [rcx], rdi
inc dword [rbx + 0xce4]
mov rax, qword [rbx + 0xcd8]
mov byte [rax + 8], 1
mov rax, qword [rbx + 0xcd8]
mov rcx, qword [rax + 0x10]
mov qword [rbx + 0xcd8], rcx
mov byte [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001aa80
jmp 0x1400208ff