Function at 0x140215f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1e28
call fcn.140262f90
sub rsp, rax
movdqa xmmword [rsp + 0x1e10], xmm7
movdqa xmmword [rsp + 0x1e00], xmm6
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x1df8], rax
cmp dword [r9], 0
jg 0x140217dab
cmp edx, 1
ja 0x140216019
cmp r8d, 3
jae 0x140216019
mov rbp, rcx
mov esi, edx
cmp r8d, 2
je 0x140216025
test r8d, r8d
jne 0x140216097
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x1403830f0]
movq qword [rbp + 0x28], xmm0
movzx eax, word [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov ecx, dword [rbp + 0x30]
sar ecx, 4
test ecx, ecx
jle 0x140215fe8
mov eax, ecx
cmp ecx, 1
jne 0x1402168ba
xor ecx, ecx
test al, 1
je 0x140215fe8
cmp byte [rbp + rcx + 0x40], 0
jne 0x140215fe8
mov rax, qword [rbp]
movzx edx, word [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140216097
xor eax, eax
nop word cs:[rax + rax]
mov rcx, qword [rbp + 0x10]
movzx edx, word [rcx + rax*4]
mov dword [rcx + rax*4], edx
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x140216000
jmp 0x140216097
mov dword [r9], 1
jmp 0x140217dab
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x140383100]
movq qword [rbp + 0x28], xmm0
movzx eax, byte [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov ecx, dword [rbp + 0x30]
sar ecx, 4
test ecx, ecx
jle 0x14021606b
mov eax, ecx
cmp ecx, 1
jne 0x140216910
xor ecx, ecx
test al, 1
je 0x14021606b
cmp byte [rbp + rcx + 0x40], 0
jne 0x14021606b
mov rax, qword [rbp]
movzx edx, byte [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140216097
xor eax, eax
nop word cs:[rax + rax]
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rcx + rax*4]
mov dword [rcx + rax*4], edx
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x140216080
mov eax, esi
test esi, esi
mov eax, 0x10000
mov ebx, 0x1000
cmove ebx, eax
mov r14d, dword [rbp + 0x30]
cmp r14d, 0x10ffff
jle 0x1402160d5
cmp byte [rbp + 0x1103f], 0
je 0x1402160db
mov rax, qword [rbp]
mov eax, dword [rax + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [rbp + 0x10]
jmp 0x1402160e4
lea rax, [rbp + 0x34]
jmp 0x1402160e4
mov eax, 0x43ffc
add rax, qword [rbp]
mov r13d, ebx
shr r13d, 4
mov eax, dword [rax]
mov dword [rbp + 0x34], eax
sar r14d, 4
test r14d, r14d
jle 0x1402161d9
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x10]
mov r10d, r14d
shl r14d, 4
add r14d, 0x1ff
jmp 0x140216133
cmp r11d, eax
jne 0x1402161b3
dec r10
add r14d, 0xfffffff0
lea r11, [r10 + 1]
cmp r11, 1
jbe 0x1402161d9
cmp byte [rbp + r10 + 0x3f], 0
mov r11d, dword [rcx + r10*4 - 4]
je 0x140216115
cmp dword [rdx + r11*4], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 4], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 8], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0xc], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x10], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x14], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x18], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x1c], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x20], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x24], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x28], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x2c], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x30], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x34], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x38], eax
jne 0x1402161b3
cmp dword [rdx + r11*4 + 0x3c], eax
je 0x14021611e
and r14d, 0x7ffffe00
cmp r14d, 0x110000
jne 0x1402161de
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x34], eax
mov r14d, 0x110000
mov edx, 0x110000
jmp 0x140216261
xor r14d, r14d
jmp 0x1402161e6
mov edx, r14d
cmp r14d, ebx
jae 0x140216261
mov ecx, r14d
shr ecx, 4
cmp ecx, r13d
jae 0x14021625f
mov r10d, ecx
mov edx, r13d
lea r11, [r10 + rbp]
add r11, 0x43
shl ecx, 2
sub rdx, r10
xor edi, edi
nop word [rax + rax]
mov byte [r11 + rdi - 3], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4], eax
mov byte [r11 + rdi - 2], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4 + 4], eax
mov byte [r11 + rdi - 1], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4 + 8], eax
mov byte [r11 + rdi], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4 + 0xc], eax
add rdi, 4
cmp rdx, rdi
jne 0x140216210
mov edx, ebx
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x90], r9
lea r11, [rbp + 0x34]
mov dword [rbp + 0x30], edx
mov rax, qword [rbp]
mov rcx, qword [rbp + 0x10]
mov ebx, edx
xor edx, edx
jmp 0x1402162b6
mov r9d, edx
and r9d, 0xf
add r9d, dword [rax + r10*4]
lea r9, [rcx + r9*4]
mov r9d, dword [r9]
mov dword [rsp + rdx*4 + 0x2f0], r9d
inc rdx
cmp rdx, 0x80
je 0x1402162d3
mov r9, r11
cmp rdx, rbx
jae 0x14021629f
mov r10d, edx
shr r10d, 4
cmp byte [rbp + r10 + 0x40], 0
jne 0x140216290
lea r9, [rax + r10*4]
jmp 0x14021629f
mov qword [rsp + 0x118], r11
mov dword [rsp + 0xcc], r14d
mov dword [rsp + 0xbc], esi
mov dword [rsp + 0xfc], r8d
movabs rax, 0xffffffff00000000
mov qword [rsp + 0x168], rax
test rbx, rbx
mov qword [rsp + 0x38], rbp
je 0x14021673d
shr ebx, 4
mov r15d, 0x40
mov r12d, 4
xor edi, edi
mov r14d, 0x94
mov r11d, 1
jmp 0x140216387
mov dword [rsp + 0x16c], r8d
mov dword [rsp + r8*4 + 0x170], edi
movsxd rcx, dword [rsp + 0x168]
mov dword [rsp + rcx*4 + 0x1f0], eax
movsxd rcx, dword [rsp + 0x168]
lea eax, [rcx + 1]
mov dword [rsp + 0x168], eax
mov dword [rsp + rcx*4 + 0x270], r12d
add r14d, r15d
add edi, r12d
cmp edi, ebx
jge 0x140216733
cmp edi, r13d
mov eax, reloc.WS2_32.dll_recv
cmove r15d, eax
cmove r12d, r11d
mov rax, qword [rbp]
movsxd rcx, edi
mov edx, dword [rax + rcx*4]
cmp byte [rbp + rcx + 0x40], 1
jne 0x1402163f0
mov r8, qword [rbp + 0x10]
lea r9, [r8 + rdx*4]
mov eax, dword [r8 + rdx*4]
lea rdx, [r8 + rdx*4]
add rdx, 4
mov r8d, r15d
lea r8, [r9 + r8*4]
nop word cs:[rax + rax]
cmp dword [rdx], eax
jne 0x1402163dd
add rdx, 4
cmp rdx, r8
jb 0x1402163d0
cmp rdx, r8
jne 0x140216379
mov byte [rbp + rcx + 0x40], 0
mov rdx, qword [rbp]
mov dword [rdx + rcx*4], eax
jmp 0x140216452
cmp r12d, 2
jl 0x140216450
lea r8d, [r12 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x140216450
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x140216410
mov rcx, rbp
mov edx, edi
call fcn.140218f20
mov ecx, 0
test eax, eax
cmovns ecx, r15d
js 0x140217d67
add r14d, ecx
mov r11d, 1
jmp 0x14021637c
mov eax, edx
mov edx, dword [rsp + 0x16c]
test edx, edx
js 0x140216466
cmp dword [rsp + rdx*4 + 0x1f0], eax
je 0x1402164a3
movsxd r8, dword [rsp + 0x168]
test r8, r8
jle 0x140216340
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1f0], eax
je 0x14021649c
inc rdx
cmp r9, rdx
jne 0x140216480
cmp r9d, 0x20
je 0x1402164bb
jmp 0x140216340
mov dword [rsp + 0x16c], edx
add dword [rsp + rdx*4 + 0x270], r12d
mov edx, dword [rsp + rdx*4 + 0x170]
cmp edx, 0xfffffffe
jne 0x14021671a
test edi, edi
je 0x14021651d
mov r9, qword [rbp]
mov r8d, 4
xor edx, edx
jmp 0x1402164d7
add edx, r8d
cmp edx, edi
je 0x14021651d
cmp edx, r13d
cmove r8d, r11d
movsxd r10, edx
cmp byte [rbp + r10 + 0x40], 0
jne 0x1402164d0
cmp dword [r9 + r10*4], eax
jne 0x1402164d0
mov r9d, dword [rsp + 0x168]
test r9d, r9d
jle 0x14021661d
cmp r9d, 4
jae 0x140216628
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
jmp 0x1402166c0
mov ecx, dword [rsp + 0x168]
test ecx, ecx
jle 0x14021655d
cmp ecx, 4
jae 0x14021657f
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
and ecx, 3
je 0x140216562
mov r10d, dword [rsp + r8*4 + 0x270]
cmp r10d, r9d
cmovl edx, r8d
cmovl r9d, r10d
inc r8
dec rcx
jne 0x140216540
jmp 0x140216562
mov edx, 0xffffffff
mov dword [rsp + 0x16c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x170], edi
mov dword [rsp + rcx*4 + 0x1f0], eax
jmp 0x140216371
mov r10d, ecx
and r10d, 0x7ffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x1402165ac
mov r9d, esi
add r8, 4
cmp r8, r10
je 0x14021653b
mov esi, dword [rsp + r8*4 + 0x270]
cmp esi, r9d
cmovl edx, r8d
mov r11d, dword [rsp + r8*4 + 0x274]
cmovl r9d, esi
cmp r11d, r9d
jl 0x1402165e0
mov r11d, r9d
jmp 0x1402165e4
lea edx, [r8 + 1]
mov esi, dword [rsp + r8*4 + 0x278]
cmp esi, r11d
jl 0x140216600
mov esi, r11d
jmp 0x140216604
lea edx, [r8 + 2]
mov r11d, 1
mov r9d, dword [rsp + r8*4 + 0x27c]
cmp r9d, esi
jge 0x1402165a0
lea edx, [r8 + 3]
jmp 0x1402165a3
mov r10d, 0xffffffff
jmp 0x1402166e9
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x70], r13
mov r14d, r9d
and r14d, 0x7ffffffc
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
jmp 0x14021665b
mov ebp, esi
add r11, 4
cmp r11, r14
je 0x1402166b6
mov esi, dword [rsp + r11*4 + 0x270]
cmp esi, ebp
cmovl r10d, r11d
mov r13d, dword [rsp + r11*4 + 0x274]
cmovl ebp, esi
cmp r13d, ebp
jl 0x140216680
mov r13d, ebp
jmp 0x140216684
lea r10d, [r11 + 1]
mov esi, dword [rsp + r11*4 + 0x278]
cmp esi, r13d
jl 0x1402166a0
mov esi, r13d
jmp 0x1402166a4
lea r10d, [r11 + 2]
mov ebp, dword [rsp + r11*4 + 0x27c]
cmp ebp, esi
jge 0x140216650
lea r10d, [r11 + 3]
jmp 0x140216652
mov r13, qword [rsp + 0x70]
mov r14, qword [rsp + 0x58]
and r9d, 3
je 0x1402166e9
nop word cs:[rax + rax]
mov esi, dword [rsp + r11*4 + 0x270]
cmp esi, ebp
cmovl r10d, r11d
cmovl ebp, esi
inc r11
dec r9
jne 0x1402166d0
add r8d, r12d
mov dword [rsp + 0x16c], r10d
movsxd r9, r10d
mov dword [rsp + r9*4 + 0x170], edx
mov dword [rsp + r9*4 + 0x1f0], eax
mov dword [rsp + r9*4 + 0x270], r8d
mov rbp, qword [rsp + 0x38]
mov r11d, 1
test edx, edx
js 0x140216379
mov byte [rbp + rcx + 0x40], 2
mov rax, qword [rbp]
mov dword [rax + rcx*4], edx
jmp 0x14021637c
test r14d, r14d
jns 0x140216743
jmp 0x140217d67
mov r14d, 0x94
lea ecx, [r14*4]
call fcn.1401e2190
test rax, rax
je 0x140217d67
mov rsi, rax
lea rdx, [rsp + 0x2f0]
mov r8d, 0x200
mov rcx, rax
call fcn.140266320
mov r8d, dword [rsp + 0x168]
test r8, r8
je 0x1402167cf
test r8d, r8d
jle 0x1402167d6
mov eax, r8d
and eax, 3
cmp r8d, 4
jae 0x140216960
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x1402167ca
nop word cs:[rax + rax]
mov r8d, dword [rsp + rcx*4 + 0x270]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x1402167b0
movsxd rax, edx
jmp 0x1402167dd
mov eax, 0xffffffff
jmp 0x1402167e4
mov rax, 0xffffffffffffffff
mov eax, dword [rsp + rax*4 + 0x170]
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0x130], 0
mov rax, qword [rbp]
mov dword [rax], 0
mov rax, qword [rbp]
mov dword [rax + 0x10], 0x40
cmp r14d, 0x103e
mov qword [rsp + 0x70], r13
ja 0x140216848
movabs rax, 0xfff0000000c
mov qword [rsp + 0x130], rax
mov r15d, 0x1777
mov dword [rsp + 0x88], send
mov r12d, 0xfff
jmp 0x140216a1e
lea eax, [r14 - 0x40]
cmp eax, 0x7ffe
ja 0x140216881
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x130], rax
mov r15d, 0xc365
mov dword [rsp + 0x88], reloc.WS2_32.dll_ntohs
mov r12d, 0x7fff
jmp 0x140216a1e
cmp eax, 0x1fffe
ja 0x1402169f5
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x130], rax
mov r15d, 0x30d43
mov dword [rsp + 0x88], send
mov r12d, 0x1ffff
jmp 0x140216a1e
mov edx, eax
and edx, 0x7ffffffe
xor ecx, ecx
jmp 0x1402168f1
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x1402168ff
add rcx, 2
cmp rdx, rcx
je 0x140215fd2
cmp byte [rbp + rcx + 0x40], 0
je 0x1402168d0
cmp byte [rbp + rcx + 0x41], 0
jne 0x1402168e4
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x1402168e4
mov edx, eax
and edx, 0x7ffffffe
xor ecx, ecx
jmp 0x140216941
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x14021694f
add rcx, 2
cmp rdx, rcx
je 0x140216055
cmp byte [rbp + rcx + 0x40], 0
je 0x140216920
cmp byte [rbp + rcx + 0x41], 0
jne 0x140216934
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x140216934
and r8d, 0x7ffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x140216990
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x14021679e
mov r11d, dword [rsp + rcx*4 + 0x270]
cmp r11d, r9d
cmovg edx, ecx
mov r10d, dword [rsp + rcx*4 + 0x274]
cmovg r9d, r11d
cmp r10d, r9d
jg 0x1402169c0
mov r10d, r9d
jmp 0x1402169c3
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x278]
cmp r11d, r10d
jg 0x1402169e0
mov r11d, r10d
jmp 0x1402169e3
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x27c]
cmp r9d, r11d
jle 0x140216980
lea edx, [rcx + 3]
jmp 0x140216983
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x130], rax
mov r15d, 0x16e367
mov dword [rsp + 0x88], reloc.WS2_32.dll_setsockopt
mov r12d, 0x1fffff
xor ecx, ecx
call fcn.1401e2260
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e2190
mov qword [rsp + 0x120], rax
test rax, rax
je 0x1402174a9
mov rbx, rax
mov dword [rsp + 0x128], r15d
mov dword [rsp + 0x12c], r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140266160
mov dword [rsp + 0x138], 0x40
lea rcx, [rsp + 0x120]
mov dword [rsp + 0x34], 0x80
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x80
call fcn.140219100
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0xa8], eax
cmp eax, 9
mov qword [rsp + 0x78], rsi
jl 0x140217464
lea ecx, [r14 - 0x10]
xor edx, edx
cmp r14d, 0x100f
setae dl
mov r8d, 0xfff
mov eax, 0x7fff
cmovb eax, r8d
mov r8d, 0x1777
mov r9d, 0xc365
cmovb r9d, r8d
xor r8d, r8d
cmp ecx, 0x1ffff
mov ecx, 0x1ffff
mov r10d, 0x1fffff
cmovb r10d, ecx
mov ecx, 0x30d43
mov r11d, 0x16e367
cmovb r11d, ecx
setae r8b
cmp r14d, 0x800f
lea ecx, [rdx + rdx*2 + 0xc]
lea edx, [r8*4 + 0x11]
cmovb edx, ecx
mov dword [rsp + 0xa4], edx
cmovb r10d, eax
mov dword [rsp + 0x84], r10d
cmovb r11d, r9d
mov qword [rsp + 0xf0], r11
lea eax, [r11*4]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0xe0], rax
lea rax, [rsi - 4]
mov qword [rsp + 0x98], rax
lea rax, [rsi + 4]
mov qword [rsp + 0x110], rax
lea rax, [rsi + 0x10]
mov qword [rsp + 0x100], rax
lea rax, [rsi + 0xc]
mov qword [rsp + 0x108], rax
mov edx, 4
mov r13d, 8
mov dword [rsp + 0x34], 0x80
mov eax, 0x40
mov qword [rsp + 0x48], rax
mov eax, r15d
mov dword [rsp + 0xb0], r15d
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x58], r14
mov rdi, r15
jmp 0x140216bf0
mov rax, qword [rbp]
mov ecx, dword [rax + r8*4]
mov ecx, dword [rax + rcx*4]
mov dword [rax + r8*4], ecx
add r13d, edx
cmp r13d, dword [rsp + 0xa8]
jge 0x140217464
cmp r13d, dword [rsp + 0x70]
jne 0x140216cd1
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x134], eax
mov rdi, qword [rsp + 0xf0]
cmp edi, dword [rsp + 0xb0]
jle 0x140216c68
mov rcx, rbx
call fcn.1401e2260
mov rcx, qword [rsp + 0xe8]
call fcn.1401e2190
mov qword [rsp + 0x120], rax
test rax, rax
mov r15d, dword [rsp + 0x34]
je 0x1402174a9
mov rbx, rax
mov dword [rsp + 0x128], edi
mov eax, edi
mov dword [rsp + 0xb0], edi
jmp 0x140216c6d
mov r15d, dword [rsp + 0x34]
mov dword [rsp + 0x12c], edi
mov rcx, rbx
xor edx, edx
mov r8, qword [rsp + 0xe8]
call fcn.140266160
mov dword [rsp + 0x138], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x120]
mov rdx, rsi
xor r8d, r8d
mov r9d, r15d
call fcn.140219100
mov edx, 1
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x48], rax
mov r12d, dword [rsp + 0x84]
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x54], r15d
movsxd r8, r13d
movzx eax, byte [rbp + r8 + 0x40]
cmp eax, 1
je 0x140216e20
test eax, eax
jne 0x140216bd0
mov dword [rsp + 0x44], edx
mov r10, qword [rbp]
mov qword [rsp + 0x68], r8
mov r9d, dword [r10 + r8*4]
mov rax, qword [rsp + 0x48]
lea ecx, [rax - 1]
lea edx, [rax - 2]
mov eax, r9d
cmp edx, 7
jb 0x140216d7d
mov edx, ecx
and edx, 0xfffffff8
mov eax, r9d
nop word [rax + rax]
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
add edx, 0xfffffff8
jne 0x140216d20
and ecx, 7
je 0x140216d9d
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x140216d90
mov r11d, eax
mov ecx, dword [rsp + 0x88]
shl r11d, cl
lea ecx, [rdi - 1]
xor edx, edx
div ecx
lea ecx, [rdx + 1]
mov eax, dword [rbx + rdx*4 + 4]
test eax, eax
je 0x140216faa
mov ebp, r12d
not ebp
mov r14d, dword [rsp + 0x48]
mov edx, ecx
jmp 0x140216def
cmp rax, rsi
je 0x140216fae
add edx, ecx
mov eax, edx
xor edx, edx
div edi
movsxd rax, edx
mov eax, dword [rbx + rax*4]
test eax, eax
je 0x140216fac
mov esi, eax
and esi, ebp
cmp esi, r11d
jne 0x140216dd9
and eax, r12d
cdqe
mov r8, qword [rsp + 0x98]
lea rax, [r8 + rax*4]
lea rsi, [rax + r14*4]
nop dword [rax]
cmp dword [rax], r9d
jne 0x140216dd0
add rax, 4
cmp rax, rsi
jb 0x140216e10
jmp 0x140216dd0
mov dword [rsp + 0x44], edx
mov rax, qword [rbp]
mov r10, qword [rbp + 0x10]
mov qword [rsp + 0x68], r8
mov qword [rsp + 0xc0], rax
mov r8d, dword [rax + r8*4]
mov eax, dword [r10 + r8*4]
mov rcx, qword [rsp + 0x48]
cmp ecx, 3
mov r9d, 2
cmovge r9d, ecx
lea rcx, [r9 - 1]
add r9, 0xfffffffffffffffe
mov edx, 1
cmp r9, 3
jb 0x140216ebf
mov r11, rcx
and r11, 0xfffffffffffffffc
lea r14, [r10 + r8*4]
add r14, 0x10
xor edx, edx
nop word [rax + rax]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [r14 + rdx*4 - 0xc]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [r14 + rdx*4 - 8]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [r14 + rdx*4 - 4]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [r14 + rdx*4]
add rdx, 4
cmp r11, rdx
jne 0x140216e80
inc rdx
and ecx, 3
je 0x140216ef4
lea r9, [r8*4]
lea rdx, [r9 + rdx*4]
add rdx, r10
xor r11d, r11d
nop word cs:[rax + rax]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [rdx + r11*4]
inc r11
cmp rcx, r11
jne 0x140216ee0
mov qword [rsp + 0xd8], r10
mov qword [rsp + 0xd0], r8
lea r11, [r10 + r8*4]
mov ebp, eax
mov ecx, dword [rsp + 0x88]
shl ebp, cl
mov r8, rdi
lea ecx, [rdi - 1]
xor edx, edx
div ecx
lea ecx, [rdx + 1]
mov rdi, rbx
mov eax, dword [rbx + rdx*4 + 4]
test eax, eax
je 0x1402170d0
mov r15d, r12d
not r12d
mov rdx, qword [rsp + 0x48]
lea ebx, [rdx + 1]
mov edx, ecx
jmp 0x140216f67
add edx, ecx
mov eax, edx
xor edx, edx
div r8d
movsxd rax, edx
mov eax, dword [rdi + rax*4]
test eax, eax
je 0x1402170d5
mov r9d, eax
and r9d, r12d
cmp r9d, ebp
jne 0x140216f50
and eax, r15d
cdqe
mov r9, qword [rsp + 0x98]
lea rax, [r9 + rax*4]
mov esi, ebx
xor r9d, r9d
nop dword [rax + rax]
mov r10d, dword [rax + r9]
cmp r10d, dword [r11 + r9]
jne 0x140216f50
add r9, 4
dec esi
cmp esi, 1
jg 0x140216f90
jmp 0x1402170d7
mov edx, ecx
not edx
test edx, edx
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xa0]
mov r8, qword [rsp + 0xe0]
js 0x140216fd7
mov eax, edx
mov eax, dword [rbx + rax*4]
and eax, r12d
dec eax
jmp 0x140216fdc
mov eax, 0xffffffff
mov r11d, eax
shr r11d, 0x1f
cmp r13d, ecx
jne 0x140217331
cmp r13d, dword [rsp + 0x70]
jl 0x140217331
test eax, eax
js 0x140217331
cmp eax, dword [rsp + 0x54]
jge 0x140217331
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
sub ecx, edx
mov r11d, edx
mov edx, 1
sub rdx, r11
xor r11d, r11d
nop word cs:[rax + rax]
cmp dword [r10 + r11*4], eax
je 0x140217044
add r11, 4
cmp r11, r8
jb 0x140217030
jmp 0x1402173b5
cmp ecx, eax
jle 0x140217336
mov r11d, eax
jmp 0x140217067
add r11d, esi
mov eax, r11d
mov r14, qword [rsp + 0x58]
mov r11d, eax
cmp eax, ecx
jge 0x140217336
lea eax, [r11 + 1]
movsxd rsi, r11d
mov r15, qword [rsp + 0x78]
cmp dword [r15 + rsi*4 + 4], r9d
jne 0x14021705c
lea r14, [r15 + rsi*4]
mov esi, 2
nop word cs:[rax + rax]
cmp dword [r14 + rsi*4], r9d
jne 0x140217051
lea r15, [rdx + rsi]
inc r15
inc rsi
cmp r15, 2
jne 0x140217090
cmp r11d, 0xffffffff
setl r11b
jl 0x14021732c
cmp eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x58]
mov r8, qword [rsp + 0xe0]
jl 0x14021701f
jmp 0x140217331
mov r15d, r12d
mov edx, ecx
not edx
test edx, edx
mov r12d, r15d
mov rbx, rdi
js 0x140217118
mov eax, edx
mov eax, dword [rbx + rax*4]
and eax, r12d
jle 0x140217118
dec eax
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xc0]
mov dword [rdx + rcx*4], eax
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x78]
mov rdi, r8
mov edx, dword [rsp + 0x44]
jmp 0x140216bdf
mov dword [rsp + 0x64], r12d
mov ecx, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x34]
movsxd rax, r12d
lea rdx, [rax*4]
lea r9, [rcx*4]
mov r15, rdx
sub r15, r9
add r15, qword [rsp + 0x110]
mov r14, rcx
mov rdi, r8
mov rbp, r14
dec r14
mov esi, ebp
xor r9d, r9d
nop dword [rax + rax]
mov r10d, dword [r15 + r9]
cmp r10d, dword [r11 + r9]
jne 0x140217177
add r9, 4
dec esi
cmp esi, 1
jg 0x140217160
jmp 0x140217184
add r15, 4
cmp rbp, 3
jge 0x14021714d
xor r14d, r14d
mov r9d, r12d
sub r9d, r14d
mov r8, qword [rsp + 0x68]
mov r10, qword [rsp + 0xc0]
mov dword [r10 + r8*4], r9d
mov r15d, r12d
cmp r14d, dword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
jge 0x140217307
movsxd rbp, r14d
mov r14, rcx
sub r14, rbp
cmp r14, 0x10
jb 0x1402171eb
lea r8, [rsi + rax*4]
mov r10, qword [rsp + 0xd0]
lea r9, [r10 + rbp]
mov r15, qword [rsp + 0xd8]
lea r9, [r15 + r9*4]
sub r8, r9
cmp r8, 0x20
jae 0x140217294
mov r8, rbp
mov rbp, qword [rsp + 0x38]
mov r14d, ecx
sub r14d, r8d
mov rdx, r8
and r14d, 3
je 0x140217223
nop word cs:[rax + rax]
mov r9d, dword [r11 + rdx*4]
inc rdx
mov dword [rsi + rax*4], r9d
inc rax
dec r14
jne 0x140217210
sub r8, rcx
cmp r8, 0xfffffffffffffffc
ja 0x140217304
mov r8, qword [rsp + 0xd0]
shl r8, 2
lea r8, [r8 + rdx*4]
mov r9, qword [rsp + 0xd8]
add r8, r9
add r8, 0xc
sub rcx, rdx
mov rdx, qword [rsp + 0x108]
lea r9, [rdx + rax*4]
xor edx, edx
mov r10d, dword [r8 + rdx*4 - 0xc]
mov dword [r9 + rdx*4 - 0xc], r10d
mov r10d, dword [r8 + rdx*4 - 8]
mov dword [r9 + rdx*4 - 8], r10d
mov r10d, dword [r8 + rdx*4 - 4]
mov dword [r9 + rdx*4 - 4], r10d
mov r10d, dword [r8 + rdx*4]
mov dword [r9 + rdx*4], r10d
add rdx, 4
cmp rcx, rdx
jne 0x140217260
add rax, rdx
jmp 0x140217304
mov rsi, r15
mov r15, r14
and r15, 0xfffffffffffffff8
lea r8, [r15 + rbp]
add rax, r15
add rdx, qword [rsp + 0x100]
lea r9, [r10*4]
lea r9, [r9 + rbp*4]
add r9, rsi
add r9, 0x10
xor esi, esi
nop word cs:[rax + rax]
movdqu xmm0, xmmword [r9 + rsi*4 - 0x10]
movdqu xmm1, xmmword [r9 + rsi*4]
movdqu xmmword [rdx + rsi*4 - 0x10], xmm0
movdqu xmmword [rdx + rsi*4], xmm1
add rsi, 8
cmp r15, rsi
jne 0x1402172d0
cmp r14, r15
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
jne 0x1402171f3
mov r15d, eax
lea rcx, [rsp + 0x120]
mov rdx, rsi
mov r8d, r12d
mov r9d, r15d
call fcn.140219100
mov dword [rsp + 0x34], r15d
mov r14, qword [rsp + 0x58]
jmp 0x140217456
mov r14, qword [rsp + 0x58]
test r11b, r11b
je 0x1402173b5
mov r8d, dword [rsp + 0x34]
mov eax, r8d
sub eax, dword [rsp + 0x48]
inc eax
mov ecx, r8d
cmp eax, r8d
mov rsi, qword [rsp + 0x78]
jge 0x14021737d
movsxd rcx, r8d
movsxd rdx, eax
nop word [rax + rax]
mov r8, qword [rsp + 0x98]
cmp dword [r8 + rcx*4], r9d
jne 0x140217378
dec rcx
cmp rcx, rdx
jg 0x140217360
mov ecx, eax
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x64], r12d
mov eax, r8d
sub eax, ecx
mov rdx, qword [rsp + 0x68]
mov dword [r10 + rdx*4], ecx
mov r15d, r8d
cmp eax, dword [rsp + 0x48]
jge 0x14021743b
movsxd r10, r8d
add ecx, dword [rsp + 0x48]
mov edx, r8d
not edx
add edx, ecx
cmp edx, 7
jae 0x1402173cc
mov r15, r10
jmp 0x14021741b
mov rcx, qword [rsp + 0x68]
mov dword [r10 + rcx*4], eax
mov rsi, qword [rsp + 0x78]
mov edx, dword [rsp + 0x44]
jmp 0x140216bdf
inc rdx
mov rcx, rdx
and rcx, 0xfffffffffffffff8
lea r15, [rcx + r10]
add eax, ecx
movd xmm0, r9d
pshufd xmm0, xmm0, 0
mov r11, qword [rsp + 0x100]
lea r11, [r11 + r10*4]
xor r10d, r10d
nop word cs:[rax + rax]
movdqu xmmword [r11 + r10*4 - 0x10], xmm0
movdqu xmmword [r11 + r10*4], xmm0
add r10, 8
cmp rcx, r10
jne 0x140217400
cmp rdx, rcx
je 0x14021743b
mov rcx, qword [rsp + 0x48]
sub ecx, eax
nop word cs:[rax + rax]
mov dword [rsi + r15*4], r9d
inc r15
dec ecx
jne 0x140217430
lea rcx, [rsp + 0x120]
mov rdx, rsi
mov r9d, r15d
call fcn.140219100
mov eax, r15d
mov dword [rsp + 0x34], r15d
mov r12d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x44]
jmp 0x140216bdf
mov rsi, qword [rsp + 0x90]
cmp dword [rsi], 0
jg 0x1402174b9
mov rcx, qword [rbp + 0x10]
call fcn.1401e2260
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], r14d
mov eax, dword [rsp + 0x34]
mov dword [rbp + 0x1c], eax
cmp eax, 0x40010
mov r15d, dword [rsp + 0x80]
jl 0x1402175bb
mov dword [rsi], 8
jmp 0x1402174b9
mov rsi, qword [rsp + 0x90]
mov dword [rsi], 7
xor ebx, ebx
xor r13d, r13d
mov rcx, rbx
call fcn.1401e2260
cmp dword [rsi], 0
jg 0x140217d75
mov esi, dword [rsp + 0xfc]
cmp esi, 1
jne 0x140217506
mov eax, r13d
and eax, 1
je 0x140217506
mov rax, qword [rbp + 0x38]
movsxd rcx, r13d
lea r14d, [r13*2 + 2]
lea edx, [r13 + 1]
mov word [rax + rcx*2], 0xffee
mov r13d, edx
mov ebx, dword [rsp + 0xbc]
jmp case.default.0x14021753d
lea r14d, [r13*2]
test esi, esi
mov ebx, dword [rsp + 0xbc]
je 0x1402175e4
cmp esi, 1
je case.default.0x14021753d
mov edx, dword [rbp + 0x1c]
movsxd r8, edx
lea eax, [rdx + r14]
and eax, 3
lea rcx, [0x140383120]
movsxd r9, dword [rcx + rax*4]
add r9, rcx
jmp r9
mov rdx, qword [rbp + 0x10]
mov r9d, dword [rdx + r8*4 - 4]
mov ecx, dword [rbp + 0x34]
cmp r9d, dword [rbp + 0x2c]
jne 0x140217c80
cmp dword [rdx + r8*4 - 8], ecx
jne 0x140217c80
jmp 0x140217ccc
mov rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
movsxd rdx, eax
mov r10d, dword [rcx + rdx*4 - 4]
mov r8d, dword [rbp + 0x2c]
mov r9d, dword [rbp + 0x34]
cmp r10d, r8d
jne 0x140217589
cmp dword [rcx + rdx*4 - 8], r9d
je 0x1402175b2
cmp r10d, r9d
je 0x1402175a6
lea eax, [rdx + 1]
mov dword [rbp + 0x1c], eax
mov dword [rcx + rdx*4], r9d
mov r8d, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
movsxd rdx, eax
inc eax
mov dword [rbp + 0x1c], eax
mov dword [rcx + rdx*4], r8d
mov eax, dword [rbp + 0x1c]
lea eax, [r14 + rax*4]
jmp 0x140217cd2
mov ecx, dword [rsp + 0xa0]
test ecx, ecx
js 0x14021764f
mov rax, qword [rbp]
mov ecx, ecx
movsxd rax, dword [rax + rcx*4]
mov dword [rbp + 0x20], eax
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov dword [rbp + 0x28], eax
jmp 0x140217656
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
mov edx, eax
xor edx, r13d
test dl, 1
je 0x140217608
cdqe
mov rdx, qword [rbp + 0x10]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rdx + rax*4], ecx
mov eax, dword [rbp + 0x1c]
mov rdx, qword [rbp + 0x10]
movsxd r8, eax
mov r9d, dword [rbp + 0x34]
cmp dword [rdx + r8*4 - 4], ecx
jne 0x140217621
cmp dword [rdx + r8*4 - 8], r9d
je 0x140217645
lea eax, [r8 + 1]
mov dword [rbp + 0x1c], eax
mov dword [rdx + r8*4], r9d
mov eax, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rbp + 0x1c]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rcx + rdx*4], eax
mov eax, dword [rbp + 0x1c]
add eax, r13d
add eax, eax
jmp 0x140217cd2
mov dword [rbp + 0x20], 0xfffff
mov rcx, qword [rsp + 0x70]
mov r13d, r15d
shr r13d, 6
mov eax, dword [rbp + 0x30]
sar eax, 6
cmp eax, r13d
jle 0x1402176f8
dec ecx
shr ecx, 2
lea rax, [rcx*2 + 2]
mov r9d, 0xffffffff
xor ecx, ecx
xor edx, edx
jmp 0x1402176be
mov r11d, r9d
lea r9d, [r8 + 0x10]
mov dword [r10 + rdx*8 + 4], r9d
lea r9d, [r8 + 0x20]
mov r10, qword [rbp]
mov dword [r10 + rdx*8 + 8], r9d
add r8d, 0x30
mov r9, qword [rbp]
mov dword [r9 + rdx*8 + 0xc], r8d
add rdx, 2
inc ecx
mov r9d, r11d
cmp rax, rdx
je 0x14021770e
mov r10, qword [rbp]
mov r8d, dword [r10 + rdx*8]
mov word [rsp + rdx + 0x15f0], r8w
mov r11d, 0xffffffff
cmp r8d, dword [rbp + 0x20]
jne 0x14021768d
mov r11d, ecx
test r9d, r9d
js 0x14021768d
cmp dword [rbp + 0xc], 0
jns 0x14021768a
lea r11d, [r9 + 0x1f]
cmp r11d, ecx
jne 0x14021768a
mov dword [rbp + 0xc], r9d
jmp 0x14021768a
mov dword [rbp + 0xc], 0x7fff
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x1402174bc
xor r14d, r14d
cmp dword [rsp + 0xbc], 0
sete r14b
mov dword [rsp + 0x48], 0
mov r8d, 0x5ddc
mov r12, rbx
mov rcx, rbx
xor edx, edx
call fcn.140266160
movdqa xmm0, xmmword [0x140383110]
movdqu xmmword [rsp + 0x12c], xmm0
mov qword [rsp + 0xb0], r13
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x15f0]
xor r8d, r8d
xor r9d, r9d
call fcn.140219250
shl r14d, 0xc
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x70], eax
mov ecx, eax
mov eax, 0
sub ecx, r14d
mov qword [rsp + 0x98], rcx
jle 0x140217bbb
mov edi, dword [rbp + 0xc]
mov ecx, r14d
mov edx, dword [rsp + 0x70]
lea r9d, [r14*4]
xor eax, eax
movdqa xmm0, xmmword [0x1402b36b0]
mov dword [rsp + 0x48], 0
jmp 0x1402177de
mov byte [rbp + rcx + 0x40], 3
add eax, 0x24
mov r8b, 1
mov dword [rsp + 0x48], r8d
add rcx, 0x20
sub r9, 0xffffffffffffff80
cmp rcx, rdx
jae 0x140217bbb
mov r11, qword [rbp]
movd xmm1, dword [rbp + 0x20]
pshufd xmm3, xmm1, 0
movdqu xmm1, xmmword [r11 + rcx*4]
movdqu xmm4, xmmword [r11 + rcx*4 + 0x10]
movdqu xmm5, xmmword [r11 + rcx*4 + 0x20]
movdqu xmm2, xmmword [r11 + rcx*4 + 0x30]
movdqa xmm6, xmm4
por xmm6, xmm1
pcmpeqd xmm1, xmm3
pcmpeqd xmm4, xmm3
movdqa xmm7, xmm2
por xmm7, xmm5
pcmpeqd xmm5, xmm3
por xmm7, xmm6
pcmpeqd xmm2, xmm3
pand xmm2, xmm5
pand xmm2, xmm4
movdqu xmm5, xmmword [r11 + rcx*4 + 0x40]
movdqu xmm6, xmmword [r11 + rcx*4 + 0x50]
movdqa xmm4, xmm6
por xmm4, xmm5
pcmpeqd xmm5, xmm3
pcmpeqd xmm6, xmm3
pand xmm6, xmm5
movdqu xmm5, xmmword [r11 + rcx*4 + 0x60]
por xmm4, xmm5
por xmm4, xmm7
pcmpeqd xmm5, xmm3
movdqu xmm7, xmmword [r11 + rcx*4 + 0x70]
por xmm4, xmm7
pcmpeqd xmm7, xmm3
pand xmm7, xmm5
pand xmm7, xmm6
pand xmm7, xmm2
pand xmm7, xmm1
pand xmm7, xmm0
packuswb xmm7, xmm7
packuswb xmm7, xmm7
movd r10d, xmm7
pshufd xmm1, xmm4, 0xee
por xmm1, xmm4
pshufd xmm2, xmm1, 0x55
por xmm2, xmm1
movd r8d, xmm2
cmp r10d, 0x1010101
jne 0x1402178f9
mov byte [rbp + rcx + 0x40], 0
test edi, edi
jns 0x1402177cd
xor r10d, r10d
cmp r8d, 0x10000
setae r10b
mov r8d, dword [rsp + 0x48]
movzx r8d, r8b
mov r11d, 1
cmovae r8d, r11d
mov dword [rsp + 0x48], r8d
lea eax, [rax + r10*4]
add eax, 0x20
xor edi, edi
jmp 0x1402177cd
cmp r8d, 0xffff
ja 0x1402177bd
mov r8d, dword [r11 + rcx*4]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 4]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 8]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0xc]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x10]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x14]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x18]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x1c]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x20]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x24]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x28]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x2c]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x30]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x34]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x38]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x3c]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x40]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x44]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x48]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x4c]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x50]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x54]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x58]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x5c]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x60]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x64]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x68]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x6c]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x70]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x74]
lea r10d, [r8 + r8*8]
lea r8d, [r8 + r10*4]
add r8d, dword [r11 + rcx*4 + 0x78]
lea r10d, [r8 + r8*8]
lea ebp, [r8 + r10*4]
add ebp, dword [r11 + rcx*4 + 0x7c]
imul r8, rbp, 0x574b4629
shr r8, 0x2b
imul r8d, r8d, 0x1776
mov r10d, ebp
sub r10d, r8d
inc r10d
mov r15d, dword [r12 + r10*4]
test r15d, r15d
je 0x140217b9a
shl ebp, 0xc
lea r8, [r11 + r9]
mov ebx, r10d
jmp 0x140217afa
add ebx, r10d
mov rsi, rbx
mov r15d, 0xae8f1b93
imul rsi, r15
shr rsi, 0x2c
imul esi, esi, 0x1777
sub ebx, esi
mov r15d, dword [r12 + rbx*4]
test r15d, r15d
je 0x140217b9a
mov esi, r15d
and esi, 0xfffff000
cmp esi, ebp
jne 0x140217ad1
and r15d, 0xfff
lea rsi, [rsp + 0x15ee]
lea r15, [rsi + r15*2]
xor r13d, r13d
nop dword [rax]
movzx esi, word [r15 + r13*2]
cmp dword [r8 + r13*4], esi
jne 0x140217ad1
movzx esi, word [r15 + r13*2 + 2]
cmp dword [r8 + r13*4 + 4], esi
jne 0x140217ad1
movzx esi, word [r15 + r13*2 + 4]
cmp dword [r8 + r13*4 + 8], esi
jne 0x140217ad1
movzx esi, word [r15 + r13*2 + 6]
cmp dword [r8 + r13*4 + 0xc], esi
jne 0x140217ad1
add r13, 4
cmp r13d, 0x20
jne 0x140217b20
test ebx, ebx
js 0x140217b9a
mov r8d, ebx
mov r10d, dword [r12 + r8*4]
mov rbp, qword [rsp + 0x38]
lea r8, [rcx + rbp]
add r8, 0x40
mov esi, 0xfff
and r10d, esi
je 0x140217ba7
dec r10d
mov byte [r8], 1
mov dword [r11 + rcx*4], r10d
mov r15d, dword [rsp + 0x80]
jmp 0x1402177cd
mov rbp, qword [rsp + 0x38]
lea r8, [rcx + rbp]
add r8, 0x40
mov r15d, dword [rsp + 0x80]
mov byte [r8], 2
add eax, 0x20
jmp 0x1402177cd
mov r12, qword [rsp + 0x98]
sar r12d, 5
lea ebx, [r12 + 0x1f]
sar ebx, 5
mov rcx, qword [rsp + 0xb0]
add ecx, ebx
add r12d, eax
mov dword [rsp + 0x34], ecx
add r12d, ecx
lea eax, [r12*2 + 2]
movsxd rcx, eax
call fcn.1401e2190
mov qword [rbp + 0x38], rax
test rax, rax
je 0x140218103
mov r8d, r15d
shr r8d, 5
lea rdx, [rsp + 0x15f0]
mov rcx, rax
call fcn.140266320
cmp r12d, 0x101e
jge 0x140217c34
mov esi, 0x1777
mov edx, 0xfff
mov ecx, listen
jmp 0x1402180ac
lea eax, [r12 - 0x1f]
cmp eax, 0x7fff
jae 0x140218081
mov esi, 0xc365
mov edx, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x1402180ac
mov rcx, qword [rsp + 0x118]
mov ecx, dword [rcx]
jmp 0x140217c80
mov rdx, qword [rbp + 0x10]
movsxd r8, dword [rbp + 0x1c]
lea r9d, [r8 + 1]
mov dword [rbp + 0x1c], r9d
mov dword [rdx + r8*4], ecx
inc eax
and eax, 3
cmp eax, 2
jne 0x140217c80
mov edx, dword [rbp + 0x1c]
mov eax, dword [rbp + 0x34]
mov rcx, qword [rbp + 0x10]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov eax, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rbp + 0x1c]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rcx + rdx*4], eax
mov eax, dword [rbp + 0x1c]
add eax, r14d
add eax, 0x30
movsxd rcx, eax
call fcn.1401e2190
test rax, rax
je 0x140217d67
mov rdi, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm0
movdqu xmmword [rax], xmm0
mov dword [rax + 0x10], r13d
mov eax, dword [rbp + 0x1c]
mov dword [rdi + 0x14], eax
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x18], eax
add eax, 0xfff
shr eax, 0xc
mov word [rdi + 0x1c], ax
mov byte [rdi + 0x1e], bl
mov byte [rdi + 0x1f], sil
movzx eax, word [rbp + 0xc]
mov word [rdi + 0x26], ax
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x28], eax
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x2c], eax
lea rbx, [rdi + 0x30]
mov qword [rdi], rbx
movsxd r14, r14d
mov eax, dword [rsp + 0x80]
cmp dword [rbp + 0x30], eax
jle 0x140217de4
mov rdx, qword [rbp + 0x38]
mov rcx, rbx
mov r8, r14
call fcn.140266320
movsxd rax, r13d
lea rax, [rbx + rax*2]
jmp 0x140217e7e
mov rax, qword [rsp + 0x90]
mov dword [rax], 7
mov dword [rbp + 0xc], 0xffffffff
movabs rax, 0xffffffff00000000
mov qword [rbp + 0x1c], rax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x38]
call fcn.1401e2260
mov qword [rbp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1df8]
xor rcx, rsp
call fcn.140262cb0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x1e00]
movaps xmm7, xmmword [rsp + 0x1e10]
add rsp, 0x1e28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbx
test r13d, r13d
jle 0x140217e7e
mov ecx, r13d
and ecx, 3
cmp r13d, 4
jae 0x140217e03
xor edx, edx
mov rax, rbx
jmp 0x140217e5d
and r13d, 0x7ffffffc
xor eax, eax
xor edx, edx
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8]
mov word [rbx + rax], r8w
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8 + 0x10]
mov word [rbx + rax + 2], r8w
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8 + 0x20]
mov word [rbx + rax + 4], r8w
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8 + 0x30]
mov word [rbx + rax + 6], r8w
add rdx, 0x10
add rax, 8
add r13d, 0xfffffffc
jne 0x140217e0e
add rax, rbx
test ecx, ecx
je 0x140217e7e
shl rdx, 2
mov r8, qword [rbp]
movzx r8d, word [r8 + rdx]
mov word [rax], r8w
add rax, 2
add rdx, 0x10
dec ecx
jne 0x140217e65
add rbx, r14
mov rdx, qword [rbp + 0x10]
cmp esi, 2
je 0x140217ea8
cmp esi, 1
jne 0x140217f07
mov qword [rdi + 8], rbx
movsxd r8, dword [rbp + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.140266320
jmp 0x140217f62
mov qword [rdi + 8], rbx
mov r8d, dword [rbp + 0x1c]
test r8d, r8d
jle 0x140217f62
cmp r8d, 0x14
jb 0x140217ee8
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x140217f9d
lea rcx, [rdi + r14]
add rax, rcx
add rax, 0x31
cmp rdx, rax
jae 0x140217f9d
mov eax, r8d
mov rcx, rdx
inc eax
xor edx, edx
movzx r8d, byte [rcx + rdx*4]
mov byte [rbx + rdx], r8b
dec eax
inc rdx
cmp eax, 1
ja 0x140217ef2
jmp 0x140217f62
mov qword [rdi + 8], rax
mov r10d, dword [rbp + 0x1c]
test r10d, r10d
jle 0x140217f62
cmp r10d, 0x14
jb 0x140217f40
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x140218010
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x140218010
mov ecx, r10d
mov r8, rdx
mov r9, rax
inc ecx
xor eax, eax
movzx edx, word [r8 + rax*2]
mov word [r9 + rax], dx
dec ecx
add rax, 2
cmp ecx, 1
ja 0x140217f4d
mov dword [rbp + 0xc], 0xffffffff
movabs rax, 0xffffffff00000000
mov qword [rbp + 0x1c], rax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x38]
call fcn.1401e2260
mov qword [rbp + 0x38], 0
jmp 0x140217dad
mov r9d, r8d
and r9d, 0x7ffffff8
mov eax, r8d
sub eax, r9d
lea rcx, [rdx + r9*4]
add rbx, r9
lea r10, [r14 + rdi]
add r10, 0x34
xor r11d, r11d
movdqa xmm0, xmmword [0x1402b0da0]
movdqu xmm1, xmmword [rdx + r11*4]
movdqu xmm2, xmmword [rdx + r11*4 + 0x10]
pand xmm1, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
pand xmm2, xmm0
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd dword [r10 + r11 - 4], xmm1
movd dword [r10 + r11], xmm2
add r11, 8
cmp r9, r11
jne 0x140217fc7
cmp r9, r8
jne 0x140217eee
jmp 0x140217f62
mov r11d, r10d
and r11d, 0x7ffffff8
mov ecx, r10d
sub ecx, r11d
lea r8, [rdx + r11*4]
mov r9d, r11d
lea r9, [rax + r9*2]
lea ebx, [r10 + r10]
and ebx, 0xfffffff0
xor r14d, r14d
movdqu xmm0, xmmword [rdx + r14*2]
movdqu xmm1, xmmword [rdx + r14*2 + 0x10]
pshuflw xmm0, xmm0, 0xe8
pshufhw xmm0, xmm0, 0xe8
pshufd xmm0, xmm0, 0xe8
pshuflw xmm1, xmm1, 0xe8
pshufhw xmm1, xmm1, 0xe8
pshufd xmm1, xmm1, 0xe8
punpcklqdq xmm0, xmm1
movdqu xmmword [rax + r14], xmm0
add r14, 0x10
cmp rbx, r14
jne 0x140218035
cmp r11, r10
jne 0x140217f49
jmp 0x140217f62
xor ecx, ecx
cmp eax, 0x1ffff
setae cl
lea ecx, [rcx*4 + 0x11]
mov eax, 0x1ffff
mov edx, 0x1fffff
cmovb edx, eax
mov eax, 0x30d43
mov esi, 0x16e367
cmovb esi, eax
mov dword [rsp + 0x84], ecx
mov dword [rsp + 0x130], ecx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x134], edx
mov rcx, qword [rsp + 0x120]
cmp esi, dword [rsp + 0x128]
jle 0x140218119
call fcn.1401e2260
lea edi, [rsi*4]
mov rcx, rdi
call fcn.1401e2190
mov qword [rsp + 0x120], rax
test rax, rax
je 0x140218103
mov rcx, rax
mov dword [rsp + 0x128], esi
jmp 0x140218120
mov rsi, qword [rsp + 0x90]
mov dword [rsi], 7
xor r13d, r13d
jmp 0x140218ee8
lea edi, [rsi*4]
mov dword [rsp + 0x12c], esi
mov qword [rsp + 0x78], rcx
xor edx, edx
mov r8, rdi
call fcn.140266160
mov dword [rsp + 0x138], 0x20
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x14c], xmm0
movdqa xmmword [rsp + 0x140], xmm0
test byte [rsp + 0x48], 1
jne 0x140218182
mov dword [rsp + 0x54], 0
xor eax, eax
mov qword [rsp + 0xa8], rax
xor r15d, r15d
mov dword [rsp + 0x64], 0
xor eax, eax
jmp 0x1402182aa
cmp r12d, 0x1021
jg 0x1402181b8
movabs rax, 0xfff0000000c
mov qword [rsp + 0x150], rax
mov r15d, 0x1777
mov dword [rsp + 0x64], send
mov dword [rsp + 0x54], 0xfff
jmp 0x14021824a
add r12d, 0xffffffdd
cmp r12d, 0x7ffe
ja 0x1402181ef
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x150], rax
mov r15d, 0xc365
mov dword [rsp + 0x64], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x54], 0x7fff
jmp 0x14021824a
cmp r12d, 0x1fffe
ja 0x140218222
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x150], rax
mov r15d, 0x30d43
mov dword [rsp + 0x64], send
mov dword [rsp + 0x54], 0x1ffff
jmp 0x14021824a
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x150], rax
mov r15d, 0x16e367
mov dword [rsp + 0x64], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x54], 0x1fffff
xor r13d, r13d
xor ecx, ecx
call fcn.1401e2260
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e2190
mov qword [rsp + 0x140], rax
test rax, rax
je 0x140218eff
mov dword [rsp + 0x148], r15d
mov dword [rsp + 0x14c], r15d
mov rcx, rax
mov qword [rsp + 0xa8], rax
xor edx, edx
mov r8, rdi
call fcn.140266160
mov dword [rsp + 0x158], 0x24
mov eax, 0x24
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x70]
mov eax, dword [rbp + 0xc]
cmp edx, r14d
mov r9d, 0
mov qword [rsp + 0x98], rsi
jle 0x140218b2a
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xe8], r15
lea ecx, [r15 - 1]
mov dword [rsp + 0xe0], ecx
mov ecx, dword [rsp + 0x54]
not ecx
mov dword [rsp + 0xa4], ecx
mov edi, r14d
mov ecx, r14d
not ecx
add edx, ecx
shr edx, 5
mov r9d, edx
inc r9d
lea ecx, [rsi - 1]
mov dword [rsp + 0xa0], ecx
mov ebp, dword [rsp + 0x44]
mov ecx, ebp
not ecx
mov dword [rsp + 0x88], ecx
mov ecx, dword [rsp + 0x34]
movsxd rdx, ecx
mov qword [rsp + 0xd8], rdx
shl r14d, 2
mov rdx, qword [rsp + 0xc0]
inc edx
mov dword [rsp + 0xf0], edx
xor r15d, r15d
mov esi, eax
mov r13d, ecx
mov qword [rsp + 0x68], r9
jmp 0x140218380
mov esi, dword [rsp + 0x70]
mov word [rsp + r15*2 + 0x4f0], bx
inc r15
add rdi, 0x20
sub r14, 0xffffffffffffff80
cmp r15, r9
je 0x140218b33
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rcx + rdi + 0x40]
test dl, dl
sete r8b
test esi, esi
sets r9b
cmp dword [rcx + 0x20], 0x10000
setl cl
xor cl, 3
movzx ecx, cl
test r8b, r9b
cmove ecx, edx
mov edx, 0
cmovne esi, edx
test cl, cl
mov dword [rsp + 0x70], esi
je 0x1402184ce
movzx eax, cl
cmp eax, 2
je 0x1402183e6
cmp eax, 1
jne 0x1402184d5
mov rsi, qword [rsp + 0x38]
mov rax, qword [rsi]
mov ebx, dword [rax + rdi*4]
mov r9, qword [rsp + 0x68]
jmp 0x140218aee
movsxd r10, edi
shl r10, 2
mov rax, qword [rsp + 0x38]
mov r9, qword [rax]
mov r8, qword [rax + 0x38]
movsxd rdx, edi
mov eax, dword [r9 + rdx*4]
mov rcx, rdx
or rcx, 1
add edx, 0x20
movsxd rdx, edx
nop dword [rax]
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [r9 + rcx*4]
inc rcx
cmp rcx, rdx
jl 0x140218410
mov r11d, eax
mov ecx, dword [rsp + 0x84]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xa0]
lea ecx, [rdx + 1]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + rdx*4 + 4]
test eax, eax
je 0x14021879d
lea rbx, [r8 - 2]
add r10, r9
mov edx, ecx
jmp 0x140218476
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x98]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + rdx*4]
test eax, eax
je 0x14021879f
mov esi, eax
and esi, dword [rsp + 0x88]
cmp esi, r11d
jne 0x140218459
and eax, ebp
lea rax, [rbx + rax*2]
xor r12d, r12d
movzx esi, word [rax + r12*2]
cmp dword [r10 + r12*4], esi
jne 0x140218459
movzx esi, word [rax + r12*2 + 2]
cmp dword [r10 + r12*4 + 4], esi
jne 0x140218459
movzx esi, word [rax + r12*2 + 4]
cmp dword [r10 + r12*4 + 8], esi
jne 0x140218459
movzx esi, word [rax + r12*2 + 6]
cmp dword [r10 + r12*4 + 0xc], esi
jne 0x140218459
add r12, 4
cmp r12d, 0x20
jne 0x14021848d
jmp 0x1402187a1
mov ebx, eax
jmp 0x1402187ce
lea rax, [rdi + 0x20]
mov qword [rsp + 0x58], r13
movsxd r13, r13d
lea r9, [r13*2]
mov rcx, r9
mov rdx, rdi
mov rsi, qword [rsp + 0x38]
nop word cs:[rax + rax]
mov r8, qword [rsi]
mov r10, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4]
mov word [r10 + rcx + 2], r8w
shr r8d, 2
and r8d, 0xc000
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 4]
mov word [r11 + rcx + 4], r10w
shr r10d, 4
and r10d, 0x3000
or r10d, r8d
mov r8, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4 + 8]
mov word [r11 + rcx + 6], r8w
shr r8d, 6
and r8d, 0xc00
or r8d, r10d
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 0xc]
mov word [r11 + rcx + 8], r10w
shr r10d, 8
and r10d, 0x300
or r10d, r8d
mov r8, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4 + 0x10]
mov word [r11 + rcx + 0xa], r8w
shr r8d, 0xa
and r8d, 0xc0
or r8d, r10d
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 0x14]
mov word [r11 + rcx + 0xc], r10w
shr r10d, 0xc
and r10d, 0x30
or r10d, r8d
mov r8, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4 + 0x18]
mov word [r11 + rcx + 0xe], r8w
shr r8d, 0xe
and r8d, 0xc
or r8d, r10d
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 0x1c]
add rdx, 8
mov word [r11 + rcx + 0x10], r10w
shr r10d, 0x10
and r10d, 3
or r10d, r8d
mov r8, qword [rsi + 0x38]
mov word [r8 + rcx], r10w
add rcx, 0x12
cmp rdx, rax
jb 0x140218500
mov rbp, qword [rsi + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
lea edx, [rax + rcx]
lea ecx, [rax + 1]
lea r10, [r13*2]
add r10, rbp
movzx eax, word [rbp + r13*2]
movsxd rcx, ecx
movsxd rdx, edx
nop dword [rax + rax]
lea r11d, [rax + rax*8]
lea r11d, [rax + r11*4]
movzx eax, word [rbp + rcx*2]
inc rcx
add eax, r11d
cmp rcx, rdx
jl 0x140218640
mov r11d, eax
mov ecx, dword [rsp + 0x64]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xe0]
mov ecx, edx
inc ecx
movsxd rax, ecx
mov rdx, qword [rsp + 0xa8]
mov eax, dword [rdx + rax*4]
mov edx, ecx
test eax, eax
jne 0x1402186a8
mov edx, ecx
not edx
jmp 0x1402186e3
add edx, ecx
mov eax, edx
cdq
idiv dword [rsp + 0xe8]
movsxd rax, edx
mov r8, qword [rsp + 0xa8]
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140218685
mov esi, eax
and esi, dword [rsp + 0xa4]
cmp esi, r11d
jne 0x140218689
test byte [rsp + 0x48], 1
je 0x1402186e3
and eax, dword [rsp + 0x54]
mov esi, dword [rsp + 0xf0]
mov rbx, rbp
movzx r12d, word [rbx + rax*2 - 2]
cmp r12w, word [rbx + r9]
jne 0x140218689
add rbx, 2
dec esi
cmp esi, 1
jg 0x1402186cb
test edx, edx
js 0x140218706
mov eax, edx
mov rcx, qword [rsp + 0xa8]
mov ebx, dword [rcx + rax*4]
and ebx, dword [rsp + 0x54]
jle 0x140218706
dec ebx
mov r13, qword [rsp + 0x58]
jmp 0x140218ada
mov r8d, dword [rsp + 0x34]
mov ebx, r8d
mov rsi, qword [rsp + 0x58]
cmp esi, r8d
je 0x1402189d3
mov ecx, 0x23
mov rdx, 0xffffffffffffffba
mov r11d, 0x24
mov rbx, 0xffffffffffffffbc
mov eax, r11d
mov r8, r10
mov rsi, r10
movzx r10d, word [rsi + rdx]
cmp r10w, word [rsi]
jne 0x140218759
add rsi, 2
dec eax
cmp eax, 1
jg 0x14021873e
jmp 0x140218860
cmp rcx, 2
jb 0x140218b1e
lea rax, [rcx - 1]
mov esi, ecx
mov r12, r8
movzx r10d, word [r12 + rbx]
cmp r10w, word [r12]
jne 0x140218788
add r12, 2
dec esi
cmp esi, 1
jg 0x14021876c
jmp 0x140218978
add rcx, 0xfffffffffffffffe
add rdx, 4
add r11d, 0xfffffffe
add rbx, 4
mov r10, r8
jmp 0x140218735
mov edx, ecx
not edx
test edx, edx
js 0x1402187b6
mov eax, edx
mov rcx, qword [rsp + 0x78]
mov ebx, dword [rcx + rax*4]
and ebx, ebp
sub ebx, 1
jae 0x1402187ce
mov ebx, dword [rsp + 0x34]
cmp r13d, ebx
jne 0x1402187dd
mov rax, qword [rsp + 0xd8]
xor edx, edx
jmp 0x14021887e
mov rsi, qword [rsp + 0x38]
mov r9, qword [rsp + 0x68]
jmp 0x140218aee
movsxd rax, r13d
lea r10, [r8 + rax*2]
add r10, 0xffffffffffffffc2
add r9, r14
lea r11, [r8 + rax*2]
add r11, 0xffffffffffffffc4
mov ecx, 0x1f
mov ebp, 0x20
mov edx, ebp
xor esi, esi
movzx r12d, word [r10 + rsi]
cmp dword [r9 + rsi*2], r12d
jne 0x140218819
add rsi, 2
dec edx
cmp edx, 1
jg 0x140218801
jmp 0x14021885b
mov rbx, r13
cmp rcx, 2
jb 0x140218b14
lea rdx, [rcx - 1]
mov esi, ecx
xor r12d, r12d
movzx r13d, word [r11 + r12]
cmp dword [r9 + r12*2], r13d
jne 0x140218847
add r12, 2
dec esi
cmp esi, 1
jg 0x14021882f
jmp 0x140218868
add rcx, 0xfffffffffffffffe
add r10, 4
add ebp, 0xfffffffe
add r11, 4
mov r13, rbx
jmp 0x1402187fd
mov rdx, rcx
jmp 0x14021886d
mov rax, rcx
jmp 0x14021897a
mov ecx, edx
mov r13, rbx
mov ebx, r13d
sub ebx, ecx
mov r12d, r13d
cmp ecx, 0x1f
jg 0x140218916
mov r8d, edx
test dl, 1
jne 0x140218888
jmp 0x1402188af
lea rcx, [r8 + 1]
shl r8, 2
mov r9, qword [rsp + 0x38]
add r8, qword [r9]
movzx r8d, word [r8 + rdi*4]
mov r9, qword [r9 + 0x38]
mov word [r9 + rax*2], r8w
inc rax
mov r12, rax
mov r8, rcx
cmp rdx, 0x1f
je 0x14021890d
lea rcx, [rax + rax]
lea rdx, [r14 + r8*4]
mov r9d, 0x20
sub r9, r8
xor r8d, r8d
mov rsi, qword [rsp + 0x38]
mov r10, qword [rsi]
add r10, rdx
movzx r10d, word [r10 + r8*4]
mov r11, qword [rsi + 0x38]
add r11, rcx
mov word [r11 + r8*2], r10w
mov r10, qword [rsi]
add r10, rdx
movzx r10d, word [r10 + r8*4 + 4]
mov r11, qword [rsi + 0x38]
add r11, rcx
mov word [r11 + r8*2 + 2], r10w
add r8, 2
cmp r9, r8
jne 0x1402188ce
add rax, r8
mov r12, rax
mov rax, qword [rsp + 0x38]
mov r8, qword [rax + 0x38]
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x120]
mov rdx, r8
mov ebp, dword [rsp + 0x34]
mov r8d, ebp
mov r9d, r13d
call fcn.140219250
test byte [rsp + 0x48], 1
jne 0x140218946
mov r13d, r12d
mov rsi, qword [rsp + 0x38]
jmp 0x14021896a
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x38]
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x140]
mov r8d, ebp
mov r9d, r13d
call fcn.140219250
mov r13d, r12d
mov ebp, dword [rsp + 0x44]
mov r9, qword [rsp + 0x68]
jmp 0x140218aee
mov ecx, eax
mov rdx, qword [rsp + 0x58]
mov ebx, edx
sub ebx, ecx
test ecx, ecx
jle 0x1402189c9
cmp ecx, 0x23
ja 0x1402189dc
mov ecx, eax
neg ecx
and ecx, 3
je 0x1402189e9
lea rdx, [rax + rax]
neg rcx
xor r10d, r10d
mov rsi, qword [rsp + 0x38]
mov r8, qword [rsi + 0x38]
lea r11, [r8 + r13*2]
movzx r11d, word [rdx + r11]
mov word [r8 + r13*2], r11w
inc r13
dec r10
cmp rcx, r10
jne 0x1402189a4
mov r8, rax
sub r8, r10
jmp 0x1402189ec
mov rsi, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x34]
lea r13d, [rsi + 0x24]
jmp 0x140218a97
mov rsi, qword [rsp + 0x58]
mov r13d, esi
jmp 0x140218a92
mov r8d, eax
add rax, 0xffffffffffffffdf
cmp rax, 3
jb 0x140218a84
lea rax, [r13*2]
lea rcx, [r9 + r8*2]
mov edx, 0x24
sub rdx, r8
xor r8d, r8d
mov r11, qword [rsp + 0x38]
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx]
movzx r10d, word [r10 + r8*2]
add r9, rax
mov word [r9 + r8*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx]
add r10, 2
movzx r10d, word [r10 + r8*2]
lea r9, [r9 + rax + 2]
mov word [r9 + r8*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx + 4]
movzx r10d, word [r10 + r8*2]
lea r9, [r9 + rax + 4]
mov word [r9 + r8*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx + 6]
movzx r10d, word [r10 + r8*2]
add r9, rax
add r9, 6
mov word [r9 + r8*2], r10w
add r8, 4
cmp rdx, r8
jne 0x140218a16
add r13, r8
mov rax, qword [rsp + 0x38]
mov rbp, qword [rax + 0x38]
mov rsi, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x120]
mov rdx, rbp
mov r9d, esi
mov ebp, r8d
call fcn.140219250
test byte [rsp + 0x48], 1
je 0x140218ada
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x38]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x140]
mov r8d, ebp
mov r9d, esi
call fcn.140219250
mov r9, qword [rsp + 0x68]
or ebx, 0x8000
mov rsi, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x44]
mov eax, dword [rsi + 0xc]
test eax, eax
jns 0x14021835f
mov esi, dword [rsp + 0x70]
test esi, esi
js 0x140218363
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xc], ebx
mov eax, ebx
jmp 0x140218363
mov r13, rbx
xor edx, edx
jmp 0x14021887e
mov rsi, qword [rsp + 0x58]
mov ebx, esi
jmp 0x1402189ce
mov edx, dword [rsp + 0x34]
mov r13d, edx
jmp 0x140218b48
mov rbp, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xd0]
test eax, eax
mov rax, qword [rsp + 0x90]
jns 0x140218b5b
mov dword [rbp + 0xc], 0x7fff
cmp r13d, 0x801e
jle 0x140218b72
mov dword [rax], 8
xor r13d, r13d
jmp 0x140218ed3
test r9d, r9d
jle 0x140218ed3
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x88], rax
mov r14d, ecx
mov rax, qword [rsp + 0x98]
dec eax
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x44]
not eax
mov dword [rsp + 0x70], eax
movsxd rax, ebx
add rax, rax
lea rax, [rax + r14*2]
mov qword [rsp + 0x58], rax
lea eax, [r9 + 1]
mov dword [rsp + 0xa8], eax
mov edi, 0x20
xor ebx, ebx
mov qword [rsp + 0x68], r9
jmp 0x140218c1d
mov r8, qword [rsi + 0x38]
mov r9, r13
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x120]
mov rdx, r8
mov r8d, dword [rsp + 0x34]
call fcn.140219250
mov r8, qword [rsi + 0x38]
mov r13d, r12d
mov r9, qword [rsp + 0x68]
mov word [r8 + r14*2], bp
inc r14
add ebx, edi
cmp ebx, r9d
mov rbp, qword [rsp + 0x38]
jge 0x140218ed3
mov eax, r9d
sub eax, ebx
mov r8, qword [rbp + 0x38]
movsxd r15, ebx
cmp eax, edi
jge 0x140218c43
mov ecx, r13d
sub ecx, eax
cmp ecx, dword [rsp + 0x34]
jge 0x140218d29
mov edi, eax
jmp 0x140218db8
lea edx, [r15 + 0x20]
lea ecx, [r15 + 1]
lea r10, [rsp + r15*2]
add r10, 0x4f0
movzx eax, word [rsp + r15*2 + 0x4f0]
movsxd rcx, ecx
movsxd rdx, edx
nop word cs:[rax + rax]
lea r11d, [rax + rax*8]
lea r11d, [rax + r11*4]
movzx eax, word [rsp + rcx*2 + 0x4f0]
inc rcx
add eax, r11d
cmp rcx, rdx
jl 0x140218c70
mov r11d, eax
mov ecx, dword [rsp + 0x84]
shl r11d, cl
xor edx, edx
div dword [rsp + 0x78]
lea ecx, [rdx + 1]
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + rdx*4 + 4]
test eax, eax
je 0x140218d98
lea r12, [r8 - 2]
mov edx, ecx
jmp 0x140218cd7
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x98]
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + rdx*4]
test eax, eax
je 0x140218d9a
mov esi, eax
and esi, dword [rsp + 0x70]
cmp esi, r11d
jne 0x140218cba
and eax, dword [rsp + 0x44]
lea rax, [r12 + rax*2]
xor ebp, ebp
movzx esi, word [rax + rbp*2]
cmp si, word [r10 + rbp*2]
jne 0x140218cba
movzx esi, word [rax + rbp*2 + 2]
cmp si, word [r10 + rbp*2 + 2]
jne 0x140218cba
movzx esi, word [rax + rbp*2 + 4]
cmp si, word [r10 + rbp*2 + 4]
jne 0x140218cba
movzx esi, word [rax + rbp*2 + 6]
cmp si, word [r10 + rbp*2 + 6]
jne 0x140218cba
add rbp, 4
cmp ebp, 0x20
jne 0x140218cec
jmp 0x140218d9c
movsxd rdx, ebx
lea rdx, [rsp + rdx*2]
add rdx, 0x4f0
inc ecx
mov r10, qword [rsp + 0x58]
add r10, r8
mov r11d, dword [rsp + 0xa8]
sub r11d, ebx
mov rbp, qword [rsp + 0x88]
test eax, eax
jle 0x140218d76
mov esi, r11d
xor edi, edi
movzx r12d, word [r10 + rdi]
cmp r12w, word [rdx + rdi]
jne 0x140218d7c
add rdi, 2
dec esi
cmp esi, 1
jg 0x140218d5d
jmp 0x140218d8c
je 0x140218ec4
inc rbp
add r10, 2
cmp ecx, ebp
jne 0x140218d54
jmp 0x140218c3c
mov edi, eax
test ebp, ebp
jns 0x140218c05
jmp 0x140218db8
mov edx, ecx
not edx
test edx, edx
js 0x140218db8
mov eax, edx
mov rcx, qword [rsp + 0x48]
mov ebp, dword [rcx + rax*4]
and ebp, dword [rsp + 0x44]
dec ebp
test ebp, ebp
jns 0x140218c05
xor eax, eax
cmp r13d, dword [rsp + 0x34]
je 0x140218e26
cmp edi, 1
jle 0x140218e17
lea rcx, [rsp + r15*2]
add rcx, 0x4f0
mov edx, edi
movsxd r10, r13d
add r10, r10
sub r10, rdx
sub r10, rdx
add r10, r8
add r10, 2
mov r11, rdx
dec rdx
mov esi, r11d
xor r12d, r12d
movzx ebp, word [r10 + r12]
cmp bp, word [rcx + r12]
jne 0x140218e0b
add r12, 2
dec esi
cmp esi, 1
jg 0x140218df2
jmp 0x140218e24
add r10, 2
cmp r11, 3
jge 0x140218de6
jmp 0x140218e26
lea eax, [rdi - 1]
mov r9, r13
mov ebp, r9d
sub ebp, eax
jmp 0x140218e32
mov eax, edx
mov r9, r13
mov ebp, r9d
sub ebp, eax
cmp eax, edi
jge 0x140218e45
movsxd rcx, eax
movsxd r12, r9d
mov eax, edi
sub eax, ecx
test al, 1
jne 0x140218e52
mov rax, rcx
jmp 0x140218e73
mov r12d, r9d
mov rsi, qword [rsp + 0x38]
jmp 0x140218bdf
lea rax, [rcx + 1]
lea rdx, [r15 + rcx]
movzx edx, word [rsp + rdx*2 + 0x4f0]
mov r8, qword [rsp + 0x38]
mov r8, qword [r8 + 0x38]
mov word [r8 + r12*2], dx
inc r12
movsxd rdx, edi
lea r8, [rdx - 1]
cmp r8, rcx
mov rsi, qword [rsp + 0x38]
je 0x140218bd8
lea rcx, [rsp + 0x4f2]
lea rcx, [rcx + r15*2]
movzx r8d, word [rcx + rax*2 - 2]
mov r9, qword [rsi + 0x38]
mov word [r9 + r12*2], r8w
movzx r8d, word [rcx + rax*2]
add rax, 2
mov r9, qword [rsi + 0x38]
mov word [r9 + r12*2 + 2], r8w
add r12, 2
cmp rdx, rax
jne 0x140218e94
jmp 0x140218bd8
xor edi, edi
test ebp, ebp
jns 0x140218c05
jmp 0x140218db8
mov rcx, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x90]
call fcn.1401e2260
mov rbx, qword [rsp + 0x120]
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x1402174bc
mov rsi, qword [rsp + 0x90]
mov dword [rsi], 7
xor ecx, ecx
jmp 0x140218ee3