Function at 0x140217120
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, 0x1e18
call fcn.140263ae0
sub rsp, rax
movdqa xmmword [rsp + 0x1e00], xmm7
movdqa xmmword [rsp + 0x1df0], xmm6
mov rax, qword [0x1403a6f08]
xor rax, rsp
mov qword [rsp + 0x1de8], rax
cmp dword [r9], 0
jg 0x1402190ba
cmp edx, 1
ja 0x14021720b
mov r12d, r8d
cmp r8d, 3
jae 0x14021720b
mov rbp, rcx
cmp r12d, 2
je 0x140217217
test r12d, r12d
jne 0x140217289
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x1403832e0]
movq qword [rbp + 0x28], xmm0
movzx eax, word [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x30]
cmp eax, 0x10
jl 0x1402171dc
shr rax, 4
cmp rax, 1
jne 0x1402173eb
xor ecx, ecx
test al, 1
je 0x1402171dc
cmp byte [rbp + rcx + 0x40], 0
jne 0x1402171dc
mov rax, qword [rbp]
movzx r8d, word [rax + rcx*4]
mov dword [rax + rcx*4], r8d
cmp dword [rbp + 0x1c], 0
jle 0x140217289
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [rbp + 0x10]
movzx r8d, word [rcx + rax*4]
mov dword [rcx + rax*4], r8d
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x1402171f0
jmp 0x140217289
mov dword [r9], 1
jmp 0x1402190ba
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x1403832f0]
movq qword [rbp + 0x28], xmm0
movzx eax, byte [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x30]
cmp eax, 0x10
jl 0x140217260
shr rax, 4
cmp rax, 1
jne 0x140217436
xor ecx, ecx
test al, 1
je 0x140217260
cmp byte [rbp + rcx + 0x40], 0
jne 0x140217260
mov rax, qword [rbp]
movzx r8d, byte [rax + rcx*4]
mov dword [rax + rcx*4], r8d
cmp dword [rbp + 0x1c], 0
jle 0x140217289
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [rbp + 0x10]
movzx r8d, byte [rcx + rax*4]
mov dword [rcx + rax*4], r8d
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x140217270
test edx, edx
mov eax, 0x10000
mov edi, 0x1000
cmove edi, eax
mov esi, edi
shr esi, 4
mov r10d, dword [rbp + 0x30]
cmp r10d, 0x110000
mov qword [rsp + 0x88], r9
jl 0x1402172d2
cmp byte [rbp + 0x1103f], 0
je 0x1402172ec
mov rcx, qword [rbp]
mov eax, dword [rcx + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [rbp + 0x10]
jmp 0x1402172f7
lea rax, [rbp + 0x34]
xor ebx, ebx
cmp r10d, 0x10
jl 0x140217483
mov r11d, dword [rbp + 0x34]
mov rcx, qword [rbp]
jmp 0x140217302
mov rcx, qword [rbp]
lea rax, [rcx + 0x43ffc]
mov r11d, dword [rax]
lea rax, [rbp + 0x34]
mov dword [rbp + 0x34], r11d
shr r10, 4
mov r8, qword [rbp + 0x10]
mov rbx, r10
jmp 0x140217328
cmp r9d, r11d
jne 0x1402173ae
mov r10d, ebx
dec rbx
cmp r10d, 1
jle 0x140217481
lea r9d, [rbx - 1]
cmp byte [rbp + r9 + 0x40], 0
mov r9d, dword [rcx + r9*4]
je 0x14021730f
cmp dword [r8 + r9*4], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 4], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 8], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0xc], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x10], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x14], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x18], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x1c], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x20], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x24], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x28], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x2c], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x30], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x34], r11d
jne 0x1402173ae
cmp dword [r8 + r9*4 + 0x38], r11d
jne 0x1402173ae
mov r10d, ebx
cmp dword [r8 + r9*4 + 0x3c], r11d
je 0x14021731b
shl ebx, 4
add ebx, 0x1ff
and ebx, 0xfffffe00
cmp ebx, 0x110000
jne 0x1402173db
mov ecx, dword [rbp + 0x28]
mov dword [rbp + 0x34], ecx
mov ebx, 0x110000
mov r14d, 0x110000
jmp 0x1402174cf
mov r14d, ebx
cmp ebx, edi
jl 0x140217483
jmp 0x1402174cf
mov r10d, eax
and r10d, 0xfffffffe
xor ecx, ecx
jmp 0x140217417
mov r8, qword [rbp]
movzx r11d, word [r8 + rcx*4]
mov dword [r8 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x140217425
add rcx, 2
cmp r10, rcx
je 0x1402171c4
cmp byte [rbp + rcx + 0x40], 0
je 0x1402173f6
cmp byte [rbp + rcx + 0x41], 0
jne 0x14021740a
mov r8, qword [rbp]
movzx r11d, word [r8 + rcx*4 + 4]
mov dword [r8 + rcx*4 + 4], r11d
jmp 0x14021740a
mov r10d, eax
and r10d, 0xfffffffe
xor ecx, ecx
jmp 0x140217462
mov r8, qword [rbp]
movzx r11d, byte [r8 + rcx*4]
mov dword [r8 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x140217470
add rcx, 2
cmp r10, rcx
je 0x140217248
cmp byte [rbp + rcx + 0x40], 0
je 0x140217441
cmp byte [rbp + rcx + 0x41], 0
jne 0x140217455
mov r8, qword [rbp]
movzx r11d, byte [r8 + rcx*4 + 4]
mov dword [r8 + rcx*4 + 4], r11d
jmp 0x140217455
xor ebx, ebx
mov ecx, ebx
sar ecx, 4
cmp ecx, esi
jge 0x1402174cc
movsxd rcx, ecx
mov r10d, esi
nop word cs:[rax + rax]
mov byte [rbp + rcx + 0x40], 0
mov r8d, dword [rbp + 0x34]
mov r9, qword [rbp]
mov dword [r9 + rcx*4], r8d
mov byte [rbp + rcx + 0x41], 0
mov r8d, dword [rbp + 0x34]
mov r9, qword [rbp]
mov dword [r9 + rcx*4 + 4], r8d
add rcx, 2
cmp r10, rcx
jne 0x1402174a0
mov r14d, edi
mov qword [rsp + 0x78], rsi
mov dword [rbp + 0x30], r14d
mov rcx, qword [rbp]
mov rsi, qword [rbp + 0x10]
movsxd r8, r14d
xor r9d, r9d
jmp 0x140217516
mov r11d, r9d
and r11d, 0xf
add r11d, dword [rcx + r10*4]
lea r10, [rsi + r11*4]
mov r10d, dword [r10]
mov dword [rsp + r9*4 + 0x2e0], r10d
inc r9
cmp r9, 0x80
je 0x140217533
mov r10, rax
cmp r9, r8
jge 0x1402174ff
mov r10d, r9d
shr r10d, 4
cmp byte [rbp + r10 + 0x40], 0
jne 0x1402174f0
lea r10, [rcx + r10*4]
jmp 0x1402174ff
mov qword [rsp + 0x100], rbx
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0x74], edx
movabs rax, 0xffffffff00000000
mov qword [rsp + 0x158], rax
mov edi, 0x94
mov dword [rsp + 0x80], r14d
cmp r14d, 0x10
mov qword [rsp + 0x38], rbp
mov rsi, qword [rsp + 0x78]
mov dword [rsp + 0xf4], r12d
jl 0x1402179f4
sar dword [rsp + 0x80], 4
mov r14d, 0x40
mov r15d, 4
xor edi, edi
mov eax, 0x94
mov qword [rsp + 0x30], rax
mov r13d, 1
jmp 0x140217606
mov dword [rsp + 0x15c], r8d
mov dword [rsp + r8*4 + 0x160], edi
movsxd rcx, dword [rsp + 0x158]
mov dword [rsp + rcx*4 + 0x1e0], eax
movsxd rcx, dword [rsp + 0x158]
lea eax, [rcx + 1]
mov dword [rsp + 0x158], eax
mov dword [rsp + rcx*4 + 0x260], r15d
mov rax, qword [rsp + 0x30]
add eax, r14d
mov qword [rsp + 0x30], rax
add edi, r15d
cmp edi, dword [rsp + 0x80]
jge 0x1402179e7
cmp edi, esi
mov eax, reloc.WS2_32.dll_recv
cmove r14d, eax
cmove r15d, r13d
mov rax, qword [rbp]
movsxd rcx, edi
mov edx, dword [rax + rcx*4]
cmp byte [rbp + rcx + 0x40], 1
jne 0x140217670
mov r8, qword [rbp + 0x10]
lea r9, [r8 + rdx*4]
mov eax, dword [r8 + rdx*4]
lea r10d, [r14 - 1]
lea rdx, [r8 + rdx*4]
add rdx, 4
lea r8, [r9 + r10*4]
add r8, 4
nop word cs:[rax + rax]
cmp dword [rdx], eax
jne 0x14021765d
add rdx, 4
cmp rdx, r8
jb 0x140217650
cmp rdx, r8
jne 0x1402175e9
mov byte [rbp + rcx + 0x40], 0
mov rdx, qword [rbp]
mov dword [rdx + rcx*4], eax
jmp 0x1402176d2
cmp r15d, 2
jl 0x1402176d0
lea r8d, [r15 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x1402176d0
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x140217690
mov rcx, rbp
mov edx, edi
call fcn.14021a100
mov ecx, 0
test eax, eax
cmovns ecx, r14d
mov rax, qword [rsp + 0x30]
js 0x140219076
add eax, ecx
jmp 0x1402175f1
mov eax, edx
mov edx, dword [rsp + 0x15c]
test edx, edx
js 0x1402176e6
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x140217724
movsxd r8, dword [rsp + 0x158]
test r8, r8
jle 0x1402175b0
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x14021771d
inc rdx
cmp r9, rdx
jne 0x140217700
cmp r9d, 0x20
jne 0x1402175b0
jmp 0x14021773c
mov dword [rsp + 0x15c], edx
add dword [rsp + rdx*4 + 0x260], r15d
mov edx, dword [rsp + rdx*4 + 0x160]
cmp edx, 0xfffffffe
jne 0x14021793b
test edi, edi
je 0x1402177e0
mov r9, qword [rbp]
mov r8d, 4
xor edx, edx
jmp 0x140217767
add edx, r8d
cmp edx, edi
je 0x1402177e0
cmp edx, esi
cmove r8d, r13d
movsxd r10, edx
cmp byte [rbp + r10 + 0x40], 0
jne 0x140217760
cmp dword [r9 + r10*4], eax
jne 0x140217760
add r8d, r15d
mov ebp, dword [rsp + 0x158]
test ebp, ebp
jle 0x140217908
mov r9d, ebp
and r9d, 3
cmp ebp, 4
jae 0x140217954
mov r10d, 0xffffffff
mov r12d, 0x11000
xor r11d, r11d
test r9, r9
mov rbp, qword [rsp + 0x38]
je 0x140217913
nop dword [rax]
mov esi, dword [rsp + r11*4 + 0x260]
cmp esi, r12d
cmovl r10d, r11d
cmovl r12d, esi
inc r11
dec r9
jne 0x1402177c0
jmp 0x140217913
mov r10d, dword [rsp + 0x158]
test r10d, r10d
jle 0x140217815
mov ecx, r10d
and ecx, 3
cmp r10d, 4
jae 0x14021781f
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
test rcx, rcx
jne 0x1402178d0
jmp 0x1402178eb
mov edx, 0xffffffff
jmp 0x1402178eb
and r10d, 0xfffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x14021784c
mov r9d, ebx
add r8, 4
cmp r8, r10
je 0x1402178b7
mov esi, dword [rsp + r8*4 + 0x260]
cmp esi, r9d
cmovl edx, r8d
mov r11d, dword [rsp + r8*4 + 0x264]
cmovl r9d, esi
cmp r11d, r9d
jl 0x140217880
mov r11d, r9d
jmp 0x140217884
lea edx, [r8 + 1]
mov ebx, dword [rsp + r8*4 + 0x268]
cmp ebx, r11d
jl 0x1402178a0
mov ebx, r11d
jmp 0x1402178a4
lea edx, [r8 + 2]
mov r9d, dword [rsp + r8*4 + 0x26c]
cmp r9d, ebx
jge 0x140217840
lea edx, [r8 + 3]
jmp 0x140217843
mov rsi, qword [rsp + 0x78]
test rcx, rcx
je 0x1402178eb
nop word cs:[rax + rax]
mov r10d, dword [rsp + r8*4 + 0x260]
cmp r10d, r9d
cmovl edx, r8d
cmovl r9d, r10d
inc r8
dec rcx
jne 0x1402178d0
mov dword [rsp + 0x15c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x160], edi
mov dword [rsp + rcx*4 + 0x1e0], eax
jmp 0x1402175e1
mov r10d, 0xffffffff
mov rbp, qword [rsp + 0x38]
mov dword [rsp + 0x15c], r10d
movsxd r9, r10d
mov dword [rsp + r9*4 + 0x160], edx
mov dword [rsp + r9*4 + 0x1e0], eax
mov dword [rsp + r9*4 + 0x260], r8d
mov rsi, qword [rsp + 0x78]
test edx, edx
js 0x1402175e9
mov byte [rbp + rcx + 0x40], 2
mov rax, qword [rbp]
mov dword [rax + rcx*4], edx
jmp 0x1402175f6
and ebp, 0xfffffffc
mov r10d, 0xffffffff
mov r12d, 0x11000
xor r11d, r11d
jmp 0x140217980
mov r12d, ebx
add r11, 4
cmp r11, rbp
je 0x1402177af
mov ebx, dword [rsp + r11*4 + 0x260]
cmp ebx, r12d
cmovl r10d, r11d
mov esi, dword [rsp + r11*4 + 0x264]
cmovl r12d, ebx
cmp esi, r12d
jl 0x1402179b0
mov esi, r12d
jmp 0x1402179b4
lea r10d, [r11 + 1]
mov ebx, dword [rsp + r11*4 + 0x268]
cmp ebx, esi
jl 0x1402179d0
mov ebx, esi
jmp 0x1402179d4
lea r10d, [r11 + 2]
mov r12d, dword [rsp + r11*4 + 0x26c]
cmp r12d, ebx
jge 0x140217970
lea r10d, [r11 + 3]
jmp 0x140217973
mov rdi, qword [rsp + 0x30]
test edi, edi
js 0x140219076
lea eax, [rdi*4]
movsxd rcx, eax
call fcn.1401e36c0
test rax, rax
je 0x140219076
mov r13, rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x2e0]
mov r8d, 0x200
mov rcx, rax
call fcn.140266e70
mov r8d, dword [rsp + 0x158]
test r8, r8
je 0x140217a7f
test r8d, r8d
jle 0x140217a8b
mov eax, r8d
and eax, 3
cmp r8d, 4
mov rdi, qword [rsp + 0x30]
jae 0x140217b6a
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x140217a7a
mov r8d, dword [rsp + rcx*4 + 0x260]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x140217a60
movsxd rax, edx
jmp 0x140217a97
mov ecx, 0xffffffff
mov rdi, qword [rsp + 0x30]
jmp 0x140217a9e
mov rax, 0xffffffffffffffff
mov rdi, qword [rsp + 0x30]
mov ecx, dword [rsp + rax*4 + 0x160]
mov qword [rsp + 0x120], 0
mov rax, qword [rbp]
mov dword [rax], 0
mov rax, qword [rbp]
mov dword [rax + 0x10], 0x40
cmp edi, 0x103e
mov dword [rsp + 0xa0], ecx
jg 0x140217afb
movabs rax, 0xfff0000000c
mov qword [rsp + 0x120], rax
mov r15d, 0x1777
mov dword [rsp + 0x4c], send
mov dword [rsp + 0x68], 0xfff
jmp 0x140217c1d
lea eax, [rdi - 0x40]
cmp eax, 0x7ffe
ja 0x140217b32
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x120], rax
mov r15d, 0xc365
mov dword [rsp + 0x4c], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x68], 0x7fff
jmp 0x140217c1d
cmp eax, 0x1fffe
ja 0x140217bf5
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x120], rax
mov r15d, 0x30d43
mov dword [rsp + 0x4c], send
mov dword [rsp + 0x68], 0x1ffff
jmp 0x140217c1d
and r8d, 0xfffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x140217b90
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x140217a5b
mov r11d, dword [rsp + rcx*4 + 0x260]
cmp r11d, r9d
cmovg edx, ecx
mov r10d, dword [rsp + rcx*4 + 0x264]
cmovg r9d, r11d
cmp r10d, r9d
jg 0x140217bc0
mov r10d, r9d
jmp 0x140217bc3
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x268]
cmp r11d, r10d
jg 0x140217be0
mov r11d, r10d
jmp 0x140217be3
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x26c]
cmp r9d, r11d
jle 0x140217b80
lea edx, [rcx + 3]
jmp 0x140217b83
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x120], rax
mov r15d, 0x16e367
mov dword [rsp + 0x4c], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x68], 0x1fffff
xor eax, eax
mov qword [rsp + 0x50], rax
xor ecx, ecx
call fcn.1401e3790
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e36c0
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021860a
mov dword [rsp + 0x118], r15d
mov dword [rsp + 0x11c], r15d
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140266cb0
mov dword [rsp + 0x128], 0x40
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov r9d, 0x80
call fcn.14021a2e0
mov eax, dword [rbp + 0x30]
cmp eax, 0x90
jl 0x14021861e
sar eax, 4
mov dword [rsp + 0xd0], eax
mov r10, qword [rsp + 0x30]
lea eax, [r10 - 0x10]
xor ecx, ecx
cmp r10d, 0x100f
setge cl
mov edx, 0xfff
mov r8d, 0x7fff
cmovl r8d, edx
mov edx, 0x1777
mov r9d, 0xc365
cmovl r9d, edx
xor edx, edx
cmp eax, 0x1ffff
setae dl
mov eax, 0x1ffff
mov r11d, 0x1fffff
cmovb r11d, eax
mov eax, 0x30d43
mov edi, 0x16e367
cmovb edi, eax
cmp r10d, 0x800f
lea eax, [rcx + rcx*2 + 0xc]
lea ecx, [rdx*4 + 0x11]
cmovl ecx, eax
mov dword [rsp + 0xa4], ecx
cmovl r11d, r8d
mov dword [rsp + 0x9c], r11d
cmovl edi, r9d
mov qword [rsp + 0xe8], rdi
lea eax, [rdi*4]
mov qword [rsp + 0xc0], rax
mov eax, esi
mov qword [rsp + 0x80], rax
lea rax, [r13 + 4]
mov qword [rsp + 0xe0], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0xf8], rax
lea rax, [r13 + 0xc]
mov qword [rsp + 0x108], rax
mov edx, 4
mov r14d, 8
mov eax, 0x80
mov qword [rsp + 0x40], rax
mov eax, 0x40
mov qword [rsp + 0x60], rax
mov eax, r15d
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0x48], 0
mov r8, rbx
jmp 0x140217dd0
mov rax, qword [rbp]
mov ecx, dword [rax + r12*4]
mov ecx, dword [rax + rcx*4]
mov dword [rax + r12*4], ecx
add r14d, edx
cmp r14d, dword [rsp + 0xd0]
jge 0x14021862b
cmp r14d, esi
jne 0x140217eb4
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x124], eax
mov r15, qword [rsp + 0xe8]
cmp r15d, dword [rsp + 0xb8]
jle 0x140217e43
mov rcx, r8
call fcn.1401e3790
mov rcx, qword [rsp + 0xc0]
call fcn.1401e36c0
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021860a
mov r8, rax
mov dword [rsp + 0x118], r15d
mov eax, r15d
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0x11c], r15d
mov rcx, r8
xor edx, edx
mov rbx, r8
mov r8, qword [rsp + 0xc0]
call fcn.140266cb0
mov dword [rsp + 0x128], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov rdi, qword [rsp + 0x40]
mov r9d, edi
call fcn.14021a2e0
mov r8, rbx
mov edx, 1
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x4c], eax
mov eax, edi
mov dword [rsp + 0x48], edi
movsxd r12, r14d
movzx eax, byte [rbp + r12 + 0x40]
cmp eax, 1
je 0x140218010
test eax, eax
jne 0x140217db0
mov dword [rsp + 0x58], edx
mov r10, qword [rbp]
mov r9d, dword [r10 + r12*4]
mov rax, qword [rsp + 0x60]
lea edx, [rax - 1]
lea r11d, [rax - 2]
mov ecx, edx
and ecx, 7
mov eax, r9d
cmp r11d, 7
jb 0x140217f5d
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 0x140217f00
test ecx, ecx
je 0x140217f7d
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x140217f70
mov r11d, eax
mov ecx, dword [rsp + 0x4c]
shl r11d, cl
lea ecx, [r15 - 1]
xor edx, edx
div ecx
lea ecx, [rdx + 1]
mov eax, dword [r8 + rdx*4 + 4]
test eax, eax
je 0x14021817b
mov ebx, dword [rsp + 0x68]
not ebx
mov ebp, dword [rsp + 0x60]
mov edx, ecx
jmp 0x140217fd1
cmp rax, rdi
je 0x14021817f
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x14021817d
mov esi, eax
and esi, ebx
cmp esi, r11d
mov rsi, qword [rsp + 0x78]
jne 0x140217fb9
and eax, dword [rsp + 0x68]
cdqe
lea rax, [rax*4 - 4]
add rax, r13
lea rdi, [rax + rbp*4]
nop word cs:[rax + rax]
cmp dword [rax], r9d
jne 0x140217fb0
add rax, 4
cmp rax, rdi
jb 0x140218000
jmp 0x140217fb0
mov dword [rsp + 0x58], edx
mov rax, qword [rbp]
mov r10, qword [rbp + 0x10]
mov qword [rsp + 0xa8], rax
mov edi, dword [rax + r12*4]
mov eax, dword [r10 + rdi*4]
mov rcx, qword [rsp + 0x60]
cmp ecx, 3
mov r11d, 2
cmovge r11d, ecx
lea r9, [r11 - 1]
add r11, 0xfffffffffffffffe
mov ecx, r9d
and ecx, 3
mov edx, 1
cmp r11, 3
jb 0x1402180a7
and r9, 0xfffffffffffffffc
lea r11, [r10 + rdi*4]
add r11, 0x10
xor edx, edx
nop word cs:[rax + rax]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4 - 0xc]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4 - 8]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4 - 4]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4]
add rdx, 4
cmp r9, rdx
jne 0x140218070
inc rdx
test rcx, rcx
je 0x1402180d4
lea r9, [rdi*4]
lea rdx, [r9 + rdx*4]
add rdx, r10
xor r9d, r9d
nop
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [rdx + r9*4]
inc r9
cmp rcx, r9
jne 0x1402180c0
mov qword [rsp + 0xd8], r10
mov qword [rsp + 0xc8], rdi
lea r11, [r10 + rdi*4]
mov ebp, eax
mov ecx, dword [rsp + 0x4c]
shl ebp, cl
lea ecx, [r15 - 1]
xor edx, edx
div ecx
lea ecx, [rdx + 1]
mov eax, dword [r8 + rdx*4 + 4]
test eax, eax
je 0x14021819d
mov ebx, dword [rsp + 0x68]
not ebx
mov rdx, qword [rsp + 0x60]
lea r9d, [rdx + 1]
mov edx, ecx
jmp 0x140218134
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x14021819f
mov esi, eax
and esi, ebx
cmp esi, ebp
jne 0x140218120
and eax, dword [rsp + 0x68]
cdqe
lea rax, [rax*4 - 4]
add rax, r13
mov esi, r9d
xor edi, edi
nop word cs:[rax + rax]
mov r10d, dword [rax + rdi]
cmp r10d, dword [r11 + rdi]
jne 0x140218120
add rdi, 4
dec esi
cmp esi, 1
jg 0x140218160
test edx, edx
jns 0x1402181a5
jmp 0x1402181d2
mov edx, ecx
not edx
test edx, edx
mov rbp, qword [rsp + 0x38]
js 0x14021828b
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x68]
dec eax
jmp 0x140218290
mov edx, ecx
not edx
test edx, edx
js 0x1402181d2
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x68]
jle 0x1402181d2
dec eax
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + r12*4], eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
mov edx, dword [rsp + 0x58]
jmp 0x140217dbf
mov ecx, dword [rsp + 0x60]
movsxd rax, dword [rsp + 0x40]
lea rdx, [rax*4]
lea r9, [rcx*4]
mov rbx, rdx
sub rbx, r9
add rbx, qword [rsp + 0xe0]
mov r9, rcx
mov qword [rsp + 0x90], r8
mov rbp, r9
dec r9
mov esi, ebp
xor edi, edi
nop
mov r10d, dword [rbx + rdi]
cmp r10d, dword [r11 + rdi]
jne 0x140218227
add rdi, 4
dec esi
cmp esi, 1
jg 0x140218210
jmp 0x140218234
add rbx, 4
cmp rbp, 3
jge 0x140218204
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov r10d, r8d
sub r10d, r9d
mov rsi, qword [rsp + 0xa8]
mov dword [rsi + r12*4], r10d
mov ebx, r8d
cmp r9d, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
jge 0x1402184b4
movsxd rbp, r9d
mov r9, rcx
sub r9, rbp
cmp r9, 0x10
jae 0x140218378
mov r8, rbp
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0xc8]
jmp 0x14021841a
mov eax, 0xffffffff
test eax, eax
setns r11b
js 0x1402184dd
cmp r14d, dword [rsp + 0xa0]
jne 0x1402184dd
cmp r14d, esi
jl 0x1402184dd
cmp eax, dword [rsp + 0x48]
jge 0x1402184dd
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
sub ecx, edx
mov r11d, edx
mov edx, 1
sub rdx, r11
xor r11d, r11d
nop word [rax + rax]
cmp dword [r10 + r11*4], eax
je 0x1402182f9
add r11, 4
cmp r11, qword [rsp + 0x80]
jb 0x1402182e0
jmp 0x1402184e2
cmp ecx, eax
jle 0x1402184ef
mov r11d, eax
jmp 0x140218317
add r11d, edi
mov eax, r11d
mov r11d, eax
cmp eax, ecx
jge 0x1402184ef
lea eax, [r11 + 1]
movsxd rsi, r11d
cmp dword [r13 + rsi*4 + 4], r9d
jne 0x14021830c
lea rsi, [rsi*4]
add rsi, r13
mov edi, 2
nop word cs:[rax + rax]
cmp dword [rsi + rdi*4], r9d
jne 0x140218306
lea rbx, [rdx + rdi]
inc rbx
inc rdi
cmp rbx, 2
jne 0x140218340
cmp r11d, 0xffffffff
setge r11b
jl 0x1402184d8
cmp eax, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
jl 0x1402182d4
jmp 0x1402184dd
lea r8, [rax*4]
add r8, r13
mov rdi, qword [rsp + 0xd8]
lea r10, [rdi + rbp*4]
mov rbx, qword [rsp + 0xc8]
lea r10, [r10 + rbx*4]
sub r8, r10
cmp r8, 0x20
jae 0x1402183ae
mov r8, rbp
mov rbp, qword [rsp + 0x38]
jmp 0x14021841a
lea r10, [rbx*4]
mov rbx, r9
and rbx, 0xfffffffffffffff8
lea r8, [rbx + rbp]
shl rbp, 2
add rax, rbx
add rbp, r10
lea rsi, [rdi + rbp]
add rsi, 0x10
add rdx, qword [rsp + 0xf8]
xor edi, edi
nop dword [rax]
movdqu xmm0, xmmword [rsi + rdi*4 - 0x10]
movdqu xmm1, xmmword [rsi + rdi*4]
movdqu xmmword [rdx + rdi*4 - 0x10], xmm0
movdqu xmmword [rdx + rdi*4], xmm1
add rdi, 8
cmp rbx, rdi
jne 0x1402183e0
cmp r9, rbx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xc8]
je 0x1402184b2
mov r9d, ecx
sub r9d, r8d
mov rdx, r8
not rdx
add rdx, rcx
and r9d, 3
je 0x140218444
nop
mov r10d, dword [r11 + r8*4]
inc r8
mov dword [r13 + rax*4], r10d
inc rax
dec r9
jne 0x140218430
cmp rdx, 3
jb 0x1402184b2
sub rcx, r8
shl rbx, 2
lea rdx, [rbx + r8*4]
mov r8, qword [rsp + 0xd8]
add rdx, r8
add rdx, 0xc
mov r8, qword [rsp + 0x108]
lea r9, [r8 + rax*4]
xor r8d, r8d
nop word cs:[rax + rax]
mov r10d, dword [rdx + r8*4 - 0xc]
mov dword [r9 + r8*4 - 0xc], r10d
mov r10d, dword [rdx + r8*4 - 8]
mov dword [r9 + r8*4 - 8], r10d
mov r10d, dword [rdx + r8*4 - 4]
mov dword [r9 + r8*4 - 4], r10d
mov r10d, dword [rdx + r8*4]
mov dword [r9 + r8*4], r10d
add r8, 4
cmp rcx, r8
jne 0x140218480
add rax, r8
mov ebx, eax
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r8, qword [rsp + 0x40]
mov r9d, ebx
call fcn.14021a2e0
mov eax, ebx
mov qword [rsp + 0x40], rax
jmp 0x1402185f9
mov rsi, qword [rsp + 0x78]
test r11b, r11b
je 0x1402184ef
mov dword [r10 + r12*4], eax
mov edx, dword [rsp + 0x58]
jmp 0x140217dbf
mov qword [rsp + 0x90], r8
mov r8, qword [rsp + 0x40]
lea edx, [r8 + 1]
mov ecx, edx
sub ecx, dword [rsp + 0x60]
movsxd rax, r8d
movsxd rcx, ecx
cmp r8d, ecx
mov r11d, ecx
cmovl r11d, r8d
mov rsi, rax
nop dword [rax]
cmp rsi, rcx
jle 0x140218537
lea rdi, [rsi - 1]
dec edx
cmp dword [r13 + rsi*4 - 4], r9d
mov rsi, rdi
je 0x140218520
jmp 0x14021853a
mov edx, r11d
mov r8, qword [rsp + 0x40]
mov ecx, r8d
sub ecx, edx
mov dword [r10 + r12*4], edx
mov ebx, r8d
cmp ecx, dword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
jge 0x1402185e1
add edx, dword [rsp + 0x60]
not r8d
add r8d, edx
cmp r8d, 7
jae 0x14021856f
mov rbx, rax
jmp 0x1402185bb
inc r8
mov rdx, r8
and rdx, 0xfffffffffffffff8
lea rbx, [rdx + rax]
add ecx, edx
movd xmm0, r9d
pshufd xmm0, xmm0, 0
mov r10, qword [rsp + 0xf8]
lea rax, [r10 + rax*4]
xor r10d, r10d
nop dword [rax + rax]
movdqu xmmword [rax + r10*4 - 0x10], xmm0
movdqu xmmword [rax + r10*4], xmm0
add r10, 8
cmp rdx, r10
jne 0x1402185a0
cmp r8, rdx
je 0x1402185dc
mov rax, qword [rsp + 0x60]
sub eax, ecx
nop word cs:[rax + rax]
mov dword [r13 + rbx*4], r9d
inc rbx
dec eax
jne 0x1402185d0
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r9d, ebx
call fcn.14021a2e0
mov qword [rsp + 0x40], rbx
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x58]
jmp 0x140217dbf
mov r14, qword [rsp + 0x88]
mov dword [r14], 7
xor r8d, r8d
jmp 0x140218640
mov eax, 0x80
mov qword [rsp + 0x40], rax
mov r8, rbx
mov r14, qword [rsp + 0x88]
cmp dword [r14], 0
jle 0x140218692
xor eax, eax
mov qword [rsp + 0x50], rax
mov r15d, dword [rsp + 0x74]
mov rcx, r8
call fcn.1401e3790
cmp dword [r14], 0
jg 0x140219084
mov esi, dword [rsp + 0xf4]
cmp esi, 1
mov rdx, qword [rsp + 0x50]
jne 0x1402186d5
mov eax, edx
and eax, 1
je 0x1402186d5
mov rax, qword [rbp + 0x38]
movsxd rcx, edx
lea r14d, [rdx*2 + 2]
inc edx
mov word [rax + rcx*2], 0xffee
mov eax, edx
mov qword [rsp + 0x50], rax
jmp 0x140218733
mov qword [rsp + 0x90], r8
mov rcx, qword [rbp + 0x10]
call fcn.1401e3790
mov qword [rbp + 0x10], r13
mov rax, qword [rsp + 0x30]
mov dword [rbp + 0x18], eax
mov rax, qword [rsp + 0x40]
mov dword [rbp + 0x1c], eax
cmp eax, 0x40010
mov r15d, dword [rsp + 0x74]
jl 0x14021878e
mov dword [r14], 8
xor eax, eax
jmp 0x1402188bc
lea r14d, [rdx + rdx]
test esi, esi
je 0x1402187b0
cmp esi, 1
je 0x140218733
mov eax, dword [rbp + 0x1c]
movsxd rdx, eax
lea ecx, [rdx + r14]
and ecx, 3
cmp ecx, 3
je 0x140218f69
cmp ecx, 2
je 0x140218f9b
test ecx, ecx
jne 0x140218f77
mov r8, qword [rbp + 0x10]
mov r9d, dword [r8 + rdx*4 - 4]
cmp r9d, dword [rbp + 0x2c]
jne 0x140218f77
mov edx, dword [r8 + rdx*4 - 8]
cmp edx, dword [rbp + 0x34]
jne 0x140218f77
jmp 0x140218fc8
mov rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
movsxd r8, eax
mov r10d, dword [rcx + r8*4 - 4]
mov edx, dword [rbp + 0x2c]
cmp r10d, edx
jne 0x140218757
mov r9d, dword [rbp + 0x34]
cmp dword [rcx + r8*4 - 8], r9d
jne 0x14021875b
jmp 0x140218786
mov r9d, dword [rbp + 0x34]
cmp r10d, r9d
je 0x140218776
mov eax, r8d
inc eax
mov dword [rbp + 0x1c], eax
mov dword [rcx + r8*4], r9d
mov edx, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
cdqe
mov dword [rcx + rax*4], edx
mov eax, dword [rbp + 0x1c]
shl eax, 2
jmp 0x140218fc8
mov ecx, dword [rsp + 0xa0]
test ecx, ecx
js 0x1402187fd
mov rax, qword [rbp]
mov ecx, ecx
movsxd rax, dword [rax + rcx*4]
mov dword [rbp + 0x20], eax
mov eax, dword [r13 + rax*4]
mov dword [rbp + 0x28], eax
jmp 0x140218804
mov eax, dword [rbp + 0x1c]
mov ecx, eax
xor ecx, edx
test cl, 1
je 0x1402187d3
cdqe
mov ecx, dword [rbp + 0x2c]
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 rcx, qword [rbp + 0x10]
movsxd rdx, eax
mov r8d, dword [rcx + rdx*4 - 4]
cmp r8d, dword [rbp + 0x2c]
jne 0x140218f15
mov r8d, dword [rbp + 0x34]
cmp dword [rcx + rdx*4 - 8], r8d
jne 0x140218f19
jmp 0x140218f3c
mov dword [rbp + 0x20], 0xfffff
mov eax, dword [rsp + 0xb4]
mov ecx, eax
shr ecx, 6
mov eax, dword [rbp + 0x30]
sar eax, 6
cmp eax, ecx
jle 0x1402188a8
mov qword [rsp + 0xc0], rcx
dec esi
shr esi, 1
and esi, 0xfffffffe
add rsi, 2
mov r8d, 0xffffffff
xor eax, eax
xor ecx, ecx
jmp 0x140218870
mov r10d, r8d
lea r8d, [rdx + 0x10]
mov dword [r9 + rcx*8 + 4], r8d
lea r8d, [rdx + 0x20]
mov r9, qword [rbp]
mov dword [r9 + rcx*8 + 8], r8d
add edx, 0x30
mov r8, qword [rbp]
mov dword [r8 + rcx*8 + 0xc], edx
add rcx, 2
inc eax
mov r8d, r10d
cmp rsi, rcx
je 0x1402188ce
mov r9, qword [rbp]
mov edx, dword [r9 + rcx*8]
mov word [rsp + rcx + 0x15e0], dx
mov r10d, 0xffffffff
cmp edx, dword [rbp + 0x20]
jne 0x140218840
mov r10d, eax
test r8d, r8d
js 0x140218840
cmp dword [rbp + 0xc], 0
jns 0x14021883d
lea r10d, [r8 + 0x1f]
cmp r10d, eax
jne 0x14021883d
mov dword [rbp + 0xc], r8d
jmp 0x14021883d
mov dword [rbp + 0xc], 0x7fff
mov rax, qword [rsp + 0x100]
mov dword [rbp + 0x30], eax
mov eax, ecx
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x90]
jmp 0x140218645
xor esi, esi
test r15d, r15d
sete sil
mov dword [rsp + 0x80], 0
mov r8d, 0x5ddc
mov rcx, qword [rsp + 0x90]
xor edx, edx
call fcn.140266cb0
movdqa xmm0, xmmword [0x140383300]
movdqu xmmword [rsp + 0x11c], xmm0
mov rax, qword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x15e0]
xor r8d, r8d
xor r9d, r9d
call fcn.14021a420
shl esi, 0xc
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x58], eax
mov ecx, 0
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x40], esi
sub eax, esi
mov qword [rsp + 0x60], rax
jle 0x140218e94
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x68], eax
mov ebx, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x78], rax
lea rdx, [rbx*4]
xor eax, eax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1402fab40]
mov dword [rsp + 0x80], 0
jmp 0x1402189cf
mov rbp, qword [rsp + 0x38]
mov byte [rbp + rbx + 0x40], 3
mov rax, qword [rsp + 0x30]
add eax, 0x24
mov qword [rsp + 0x30], rax
mov al, 1
mov dword [rsp + 0x80], eax
mov r15d, dword [rsp + 0x74]
mov r14, qword [rsp + 0x88]
mov rbx, r12
sub rdx, 0xffffffffffffff80
cmp rbx, qword [rsp + 0x78]
jge 0x140218e94
mov r13, qword [rbp]
movd xmm1, dword [rbp + 0x20]
pshufd xmm2, xmm1, 0
lea r14, [rbx*4]
movdqu xmm1, xmmword [r13 + rbx*4]
mov rcx, r14
or rcx, 0x10
movdqu xmm4, xmmword [r13 + rcx]
movdqa xmm5, xmm4
por xmm5, xmm1
pcmpeqd xmm1, xmm2
pcmpeqd xmm4, xmm2
mov r11, r14
or r11, 0x20
movdqu xmm6, xmmword [r13 + r11]
mov r15, r14
or r15, 0x30
movdqu xmm3, xmmword [r13 + r15]
movdqa xmm7, xmm3
por xmm7, xmm6
pcmpeqd xmm6, xmm2
por xmm7, xmm5
pcmpeqd xmm3, xmm2
pand xmm3, xmm6
pand xmm3, xmm4
mov r10, r14
or r10, 0x40
movdqu xmm5, xmmword [r13 + r10]
mov rdi, r14
or rdi, 0x50
movdqu xmm6, xmmword [r13 + rdi]
movdqa xmm4, xmm6
por xmm4, xmm5
pcmpeqd xmm5, xmm2
pcmpeqd xmm6, xmm2
pand xmm6, xmm5
mov r8, r14
or r8, 0x60
movdqu xmm5, xmmword [r13 + r8]
por xmm4, xmm5
por xmm4, xmm7
pcmpeqd xmm5, xmm2
mov r9, r14
or r9, 0x70
movdqu xmm7, xmmword [r13 + r9]
por xmm4, xmm7
pcmpeqd xmm7, xmm2
pand xmm7, xmm5
pand xmm7, xmm6
pand xmm7, xmm3
pand xmm7, xmm1
pand xmm7, xmm0
packuswb xmm7, xmm7
packuswb xmm7, xmm7
pshufd xmm1, xmm4, 0xee
por xmm1, xmm4
pshufd xmm2, xmm1, 0x55
por xmm2, xmm1
movd esi, xmm2
movd eax, xmm7
lea r12, [rbx + 0x20]
cmp eax, 0x1010101
jne 0x140218b36
mov byte [rbp + rbx + 0x40], 0
cmp dword [rsp + 0x68], 0
jns 0x1402189b0
xor eax, eax
cmp esi, 0x10000
setae al
mov ecx, dword [rsp + 0x80]
movzx ecx, cl
mov r8d, 1
cmovae ecx, r8d
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0x30]
lea ecx, [rcx + rax*4]
add ecx, 0x20
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x68], 0
jmp 0x1402189b0
cmp esi, 0xffff
ja 0x140218990
mov eax, dword [r13 + rbx*4]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r14
or rsi, 4
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r14
or rsi, 8
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r14
or rsi, 0xc
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x14
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x18
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x1c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r11]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x24
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x28
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x2c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r15]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x34
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x38
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x3c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r10]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x44
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x48
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x4c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + rdi]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x54
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x58
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x5c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r8]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x64
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x68
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x6c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r9]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x74
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x78
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea ecx, [rax + rcx*4]
or r14, 0x7c
add ecx, dword [r13 + r14]
imul rax, rcx, 0x574b4629
shr rax, 0x2b
imul eax, eax, 0x1776
mov r8d, ecx
sub r8d, eax
mov rax, qword [rsp + 0x90]
mov r11d, dword [rax + r8*4 + 4]
test r11d, r11d
mov rbp, qword [rsp + 0x38]
mov esi, 0xae8f1b93
je 0x140218e67
shl ecx, 0xc
inc r8d
lea r10, [rdx + r13]
mov r9d, r8d
jmp 0x140218db3
add r9d, r8d
mov rax, r9
imul rax, rsi
shr rax, 0x2c
imul eax, eax, 0x1777
sub r9d, eax
mov rax, qword [rsp + 0x90]
mov r11d, dword [rax + r9*4]
test r11d, r11d
je 0x140218e67
mov eax, r11d
and eax, 0xfffff000
cmp eax, ecx
jne 0x140218d87
and r11d, 0xfff
lea r11, [rsp + r11*2]
add r11, 0x15de
xor r14d, r14d
nop word cs:[rax + rax]
movzx eax, word [r11 + r14*2]
cmp dword [r10 + r14*4], eax
jne 0x140218d87
movzx eax, word [r11 + r14*2 + 2]
cmp dword [r10 + r14*4 + 4], eax
jne 0x140218d87
movzx eax, word [r11 + r14*2 + 4]
cmp dword [r10 + r14*4 + 8], eax
jne 0x140218d87
movzx eax, word [r11 + r14*2 + 6]
cmp dword [r10 + r14*4 + 0xc], eax
jne 0x140218d87
add r14, 4
cmp r14d, 0x20
jne 0x140218de0
test r9d, r9d
js 0x140218e67
mov eax, r9d
mov rcx, qword [rsp + 0x90]
mov r8d, dword [rcx + rax*4]
lea rcx, [rbx + rbp]
add rcx, 0x40
mov eax, 0xfff
and r8d, eax
mov r15d, dword [rsp + 0x74]
mov r14, qword [rsp + 0x88]
je 0x140218e7c
dec r8d
mov byte [rcx], 1
mov dword [r13 + rbx*4], r8d
jmp 0x1402189bd
lea rcx, [rbx + rbp]
add rcx, 0x40
mov r15d, dword [rsp + 0x74]
mov r14, qword [rsp + 0x88]
mov rbx, r12
mov byte [rcx], 2
mov rax, qword [rsp + 0x30]
add eax, 0x20
mov qword [rsp + 0x30], rax
jmp 0x1402189c0
mov rbx, qword [rsp + 0x60]
sar ebx, 5
lea edi, [rbx + 0x1f]
sar edi, 5
mov rax, qword [rsp + 0xc0]
lea esi, [rdi + rax]
add ebx, dword [rsp + 0x30]
add ebx, esi
lea eax, [rbx*2 + 2]
movsxd rcx, eax
call fcn.1401e36c0
mov qword [rbp + 0x38], rax
test rax, rax
je 0x14021940e
mov ecx, dword [rsp + 0xb4]
mov r8d, ecx
shr r8d, 5
lea rdx, [rsp + 0x15e0]
mov rcx, rax
call fcn.140266e70
cmp ebx, 0x101e
mov qword [rsp + 0xe0], rdi
jge 0x140218f43
mov r13, rbx
mov edi, 0x1777
mov r12d, 0xfff
mov ecx, listen
jmp 0x1402193ba
mov r8d, dword [rbp + 0x34]
lea eax, [rdx + 1]
mov dword [rbp + 0x1c], eax
mov dword [rcx + rdx*4], r8d
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, eax
jmp 0x140218fc8
mov r13, rbx
lea eax, [rbx - 0x1f]
cmp eax, 0x7fff
jae 0x14021938d
mov edi, 0xc365
mov r12d, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x1402193ba
mov r8, qword [rbp + 0x10]
mov edx, dword [r8 + rdx*4 - 4]
cmp edx, dword [rbp + 0x34]
je 0x140218fb6
mov eax, dword [rbp + 0x34]
mov rdx, qword [rbp + 0x10]
movsxd r8, dword [rbp + 0x1c]
lea r9d, [r8 + 1]
mov dword [rbp + 0x1c], r9d
mov dword [rdx + r8*4], eax
inc ecx
and ecx, 3
cmp ecx, 2
jne 0x140218f77
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x34]
mov rdx, qword [rbp + 0x10]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
cdqe
mov dword [rdx + rax*4], ecx
mov r8, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
lea edx, [rax + 1]
mov dword [rbp + 0x1c], edx
cdqe
mov dword [r8 + rax*4], ecx
mov eax, dword [rbp + 0x1c]
add eax, r14d
add eax, 0x30
movsxd rcx, eax
call fcn.1401e36c0
test rax, rax
je 0x140219076
mov rdi, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm0
movdqu xmmword [rax], xmm0
mov r9, qword [rsp + 0x50]
mov dword [rax + 0x10], r9d
mov eax, dword [rbp + 0x1c]
mov dword [rdi + 0x14], eax
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x18], eax
mov eax, 0xfff
add eax, dword [rbp + 0x30]
shr eax, 0xc
mov word [rdi + 0x1c], ax
mov byte [rdi + 0x1e], r15b
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 + 0xb4]
cmp dword [rbp + 0x30], eax
jle 0x1402190f3
mov rdx, qword [rbp + 0x38]
mov rcx, rbx
mov r8, r14
mov r15, r9
call fcn.140266e70
movsxd rax, r15d
lea rax, [rbx + rax*2]
movabs r15, 0xffffffff00000000
jmp 0x140219194
mov rax, qword [rsp + 0x88]
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.1401e3790
mov qword [rbp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.140263800
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x1df0]
movaps xmm7, xmmword [rsp + 0x1e00]
add rsp, 0x1e18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbx
test r9d, r9d
movabs r15, 0xffffffff00000000
jle 0x140219194
mov ecx, r9d
and ecx, 3
cmp r9d, 4
jae 0x14021911c
xor edx, edx
mov rax, rbx
jmp 0x140219173
and r9d, 0xfffffffc
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 r9d, 0xfffffffc
jne 0x140219124
add rax, rbx
test ecx, ecx
je 0x140219194
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 0x14021917b
add rbx, r14
mov rdx, qword [rbp + 0x10]
cmp esi, 2
je 0x140219212
cmp esi, 1
je 0x14021926c
test esi, esi
jne 0x140219280
mov qword [rdi + 8], rax
mov r10d, dword [rbp + 0x1c]
test r10d, r10d
jle 0x140219280
cmp r10d, 0x14
jb 0x1402191ee
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x1402192b1
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x1402192b1
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 0x1402191fb
jmp 0x140219280
mov qword [rdi + 8], rbx
mov r8d, dword [rbp + 0x1c]
test r8d, r8d
jle 0x140219280
cmp r8d, 0x14
jb 0x14021924d
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x14021931d
add rax, r14
add rax, rdi
add rax, 0x31
cmp rdx, rax
jae 0x14021931d
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 0x140219257
jmp 0x140219280
mov qword [rdi + 8], rbx
movsxd r8, dword [rbp + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.140266e70
mov dword [rbp + 0xc], 0xffffffff
mov qword [rbp + 0x1c], r15
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.1401e3790
mov qword [rbp + 0x38], 0
jmp 0x1402190bc
mov r11d, r10d
and r11d, 0xfffffff8
mov ecx, r10d
sub ecx, r11d
lea r8, [rdx + r11*4]
lea r9, [rax + r11*2]
lea rbx, [r10 + r10]
and rbx, 0xfffffffffffffff0
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 0x1402192d1
cmp r11, r10
jne 0x1402191f7
jmp 0x140219280
mov r9d, r8d
and r9d, 0xfffffff8
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 [0x1402e6200]
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 0x140219344
cmp r9, r8
jne 0x140219253
jmp 0x140219280
xor ecx, ecx
cmp eax, 0x1ffff
setae cl
lea ecx, [rcx*4 + 0x11]
mov eax, 0x1ffff
mov r12d, 0x1fffff
cmovb r12d, eax
mov eax, 0x30d43
mov edi, 0x16e367
cmovb edi, eax
mov dword [rsp + 0x9c], ecx
mov dword [rsp + 0x120], ecx
mov dword [rsp + 0x124], r12d
mov rcx, qword [rsp + 0x110]
cmp edi, dword [rsp + 0x118]
jle 0x140219421
call fcn.1401e3790
lea ebx, [rdi*4]
mov rcx, rbx
call fcn.1401e36c0
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021940e
mov rcx, rax
mov dword [rsp + 0x118], edi
jmp 0x140219428
mov dword [r14], 7
xor eax, eax
mov qword [rsp + 0x50], rax
jmp 0x14021a0ca
lea ebx, [rdi*4]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x11c], edi
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], rcx
xor edx, edx
mov r8, rbx
call fcn.140266cb0
mov dword [rsp + 0x128], 0x20
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x13c], xmm0
movdqa xmmword [rsp + 0x130], xmm0
test byte [rsp + 0x80], 1
mov edx, dword [rsp + 0x40]
jne 0x14021949f
mov dword [rsp + 0x48], 0
xor ebx, ebx
xor edi, edi
mov dword [rsp + 0xa8], 0
xor eax, eax
mov qword [rsp + 0xb8], rax
jmp 0x1402195d1
cmp r13d, 0x1021
jg 0x1402194d7
movabs rax, 0xfff0000000c
mov qword [rsp + 0x140], rax
mov edi, 0x1777
mov dword [rsp + 0xa8], send
mov dword [rsp + 0x48], 0xfff
jmp 0x14021956f
add r13d, 0xffffffdd
cmp r13d, 0x7ffe
ja 0x140219510
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x140], rax
mov edi, 0xc365
mov dword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x48], 0x7fff
jmp 0x14021956f
cmp r13d, 0x1fffe
ja 0x140219545
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x140], rax
mov edi, 0x30d43
mov dword [rsp + 0xa8], send
mov dword [rsp + 0x48], 0x1ffff
jmp 0x14021956f
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x140], rax
mov edi, 0x16e367
mov dword [rsp + 0xa8], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x48], 0x1fffff
xor ecx, ecx
call fcn.1401e3790
lea r15d, [rdi*4]
mov rcx, r15
call fcn.1401e36c0
mov qword [rsp + 0x130], rax
test rax, rax
je 0x14021a0e2
mov rbx, rax
mov dword [rsp + 0x138], edi
mov dword [rsp + 0x13c], edi
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.140266cb0
mov dword [rsp + 0x148], 0x24
mov eax, 0x24
mov qword [rsp + 0xb8], rax
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
mov eax, dword [rbp + 0xc]
cmp ecx, edx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], r12d
jle 0x140219d37
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0x90], rdi
mov r8d, ecx
lea ecx, [rdi - 1]
mov dword [rsp + 0xc8], ecx
mov ecx, dword [rsp + 0x48]
not ecx
mov dword [rsp + 0xa4], ecx
mov r15d, edx
not edx
add r8d, edx
shr r8d, 5
mov ecx, r8d
inc ecx
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0x60]
dec ecx
mov dword [rsp + 0xa0], ecx
mov ecx, r12d
not ecx
mov dword [rsp + 0x4c], ecx
movsxd rcx, esi
mov qword [rsp + 0xd8], rcx
lea rbx, [r15*4]
mov rcx, qword [rsp + 0xb8]
inc ecx
mov dword [rsp + 0xe8], ecx
xor ebp, ebp
mov r11d, eax
mov r10d, esi
jmp 0x14021968c
mov word [rsp + rbp*2 + 0x4e0], di
inc rbp
add r15, 0x20
sub rbx, 0xffffffffffffff80
cmp rbp, qword [rsp + 0x78]
je 0x140219d3c
mov rcx, qword [rsp + 0x38]
mov edx, dword [rcx + r15 + 0x40]
test dl, dl
sete r8b
test r11d, r11d
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 r11d, edx
test cl, cl
je 0x1402196ed
movzx eax, cl
cmp eax, 2
mov qword [rsp + 0x50], r10
je 0x1402196f9
cmp eax, 1
jne 0x1402197f3
mov rsi, qword [rsp + 0x38]
mov rax, qword [rsi]
mov edi, dword [rax + r15*4]
jmp 0x140219d14
mov edi, eax
mov rsi, qword [rsp + 0x38]
jmp 0x140219d14
mov dword [rsp + 0x58], r11d
movsxd r10, r15d
shl r10, 2
mov rax, qword [rsp + 0x38]
mov r9, qword [rax]
mov r8, qword [rax + 0x38]
mov rcx, r15
shl rcx, 0x20
movsxd rdx, r15d
mov rax, rcx
sar rax, 0x1e
mov eax, dword [r9 + rax]
or rdx, 1
movabs r11, 0x2000000000
add rcx, r11
sar rcx, 0x20
nop dword [rax + rax]
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [r9 + rdx*4]
inc rdx
cmp rdx, rcx
jl 0x140219740
mov r11d, eax
mov ecx, dword [rsp + 0x9c]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xa0]
lea ecx, [rdx + 1]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + rdx*4 + 4]
test eax, eax
je 0x140219aae
add r10, r9
mov edx, ecx
jmp 0x14021979f
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + rdx*4]
test eax, eax
je 0x140219ab0
mov esi, eax
and esi, dword [rsp + 0x4c]
cmp esi, r11d
jne 0x140219785
and eax, r12d
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor edi, edi
movzx esi, word [rax + rdi*2]
cmp dword [r10 + rdi*4], esi
jne 0x140219785
movzx esi, word [rax + rdi*2 + 2]
cmp dword [r10 + rdi*4 + 4], esi
jne 0x140219785
movzx esi, word [rax + rdi*2 + 4]
cmp dword [r10 + rdi*4 + 8], esi
jne 0x140219785
movzx esi, word [rax + rdi*2 + 6]
cmp dword [r10 + rdi*4 + 0xc], esi
jne 0x140219785
add rdi, 4
cmp edi, 0x20
jne 0x1402197b7
jmp 0x140219ab2
mov dword [rsp + 0x58], r11d
lea rax, [r15 + 0x20]
movsxd r14, r10d
lea r9, [r14 + r14]
mov rcx, r9
mov rdx, r15
mov rsi, qword [rsp + 0x38]
nop
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 0x140219810
mov r8, qword [rsi + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
lea edx, [rax + rcx]
lea ecx, [rax + 1]
lea r10, [r8 + r14*2]
movzx eax, word [r8 + r14*2]
movsxd rcx, ecx
movsxd rdx, edx
nop word cs:[rax + rax]
lea r11d, [rax + rax*8]
lea r11d, [rax + r11*4]
movzx eax, word [r8 + rcx*2]
inc rcx
add eax, r11d
cmp rcx, rdx
jl 0x140219950
mov r11d, eax
mov ecx, dword [rsp + 0xa8]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xc8]
mov ecx, edx
inc ecx
movsxd rax, ecx
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rdx + rax*4]
mov edx, ecx
test eax, eax
jne 0x1402199ba
mov edx, ecx
not edx
jmp 0x1402199fb
add edx, ecx
mov eax, edx
cdq
idiv dword [rsp + 0x90]
movsxd rax, edx
mov rsi, qword [rsp + 0xd0]
mov eax, dword [rsi + rax*4]
test eax, eax
je 0x140219998
mov esi, eax
and esi, dword [rsp + 0xa4]
cmp esi, r11d
jne 0x14021999c
test byte [rsp + 0x80], 1
je 0x1402199fb
and eax, dword [rsp + 0x48]
dec eax
cdqe
mov esi, dword [rsp + 0xe8]
mov rdi, r8
movzx r13d, word [rdi + rax*2]
cmp r13w, word [rdi + r9]
jne 0x14021999c
add rdi, 2
dec esi
cmp esi, 1
jg 0x1402199e4
test edx, edx
mov r11d, dword [rsp + 0x58]
js 0x140219a23
mov eax, edx
mov rcx, qword [rsp + 0xd0]
mov edi, dword [rcx + rax*4]
and edi, dword [rsp + 0x48]
jle 0x140219a23
dec edi
mov r10, qword [rsp + 0x50]
jmp 0x140219d01
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rsi, qword [rsp + 0x50]
cmp esi, eax
je 0x140219ca5
mov eax, 0x23
mov rcx, 0xffffffffffffffba
mov edx, 0x24
mov r9, 0xffffffffffffffbc
mov r11d, edx
mov rsi, r10
movzx edi, word [rsi + rcx]
cmp di, word [rsi]
jne 0x140219a6f
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140219a54
jmp 0x140219b79
cmp rax, 2
jb 0x140219c9e
lea r11, [rax - 1]
mov esi, eax
mov rdi, r10
movzx r13d, word [rdi + r9]
cmp r13w, word [rdi]
jne 0x140219a9d
add rdi, 2
dec esi
cmp esi, 1
jg 0x140219a82
jmp 0x140219c3e
add rax, 0xfffffffffffffffe
add rcx, 4
add edx, 0xfffffffe
add r9, 4
jmp 0x140219a4e
mov edx, ecx
not edx
test edx, edx
mov r10, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x58]
js 0x140219ad6
mov eax, edx
mov rcx, qword [rsp + 0x68]
mov edi, dword [rcx + rax*4]
and edi, r12d
sub edi, 1
jae 0x140219b6a
mov edi, dword [rsp + 0x30]
cmp r10d, edi
jne 0x140219aef
mov rax, qword [rsp + 0xd8]
xor r11d, r11d
jmp 0x140219b96
movsxd rax, r10d
lea rdx, [r8 + rax*2]
add rdx, 0xffffffffffffffc2
add r9, rbx
lea r10, [r8 + rax*2]
add r10, 0xffffffffffffffc4
mov ecx, 0x1f
mov edi, 0x20
mov r11d, edi
xor esi, esi
movzx r14d, word [rdx + rsi]
cmp dword [r9 + rsi*2], r14d
jne 0x140219b2e
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140219b14
jmp 0x140219b74
cmp rcx, 2
jb 0x140219c8e
lea r11, [rcx - 1]
mov esi, ecx
xor r14d, r14d
movzx r13d, word [r10 + r14]
cmp dword [r9 + r14*2], r13d
jne 0x140219b59
add r14, 2
dec esi
cmp esi, 1
jg 0x140219b41
jmp 0x140219b81
add rcx, 0xfffffffffffffffe
add rdx, 4
add edi, 0xfffffffe
add r10, 4
jmp 0x140219b0f
mov rsi, qword [rsp + 0x38]
jmp 0x140219d14
mov r11, rcx
jmp 0x140219b84
mov r11, rax
jmp 0x140219c41
mov ecx, r11d
mov r10, qword [rsp + 0x50]
mov edi, r10d
sub edi, ecx
mov r14d, r10d
cmp ecx, 0x1f
jg 0x140219bcc
inc r11
mov rcx, r11
mov r9, qword [rsp + 0x38]
mov rdx, qword [r9]
add rdx, rbx
movzx edx, word [rdx + r11*4 - 4]
mov r8, qword [r9 + 0x38]
mov word [r8 + rax*2], dx
inc rax
inc rcx
cmp r11d, 0x20
mov r11, rcx
jne 0x140219ba1
mov r8, qword [r9 + 0x38]
mov r14d, eax
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x30]
mov r8d, r12d
mov r9d, r10d
mov r13, r10
call fcn.14021a420
test byte [rsp + 0x80], 1
jne 0x140219c03
mov r10d, r14d
mov rsi, qword [rsp + 0x38]
jmp 0x140219c27
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x38]
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, r13d
call fcn.14021a420
mov r10d, r14d
mov r14, qword [rsp + 0x88]
mov r12d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x58]
jmp 0x140219d14
mov eax, r11d
mov rsi, qword [rsp + 0x50]
mov edi, esi
sub edi, eax
test eax, eax
jle 0x140219ca5
cmp eax, 0x23
ja 0x140219c89
lea rax, [r11 + r11]
inc r11
mov rcx, r11
mov r10, qword [rsp + 0x38]
mov rdx, qword [r10 + 0x38]
lea r8, [rdx + r14*2]
movzx r8d, word [rax + r8]
mov word [rdx + r14*2], r8w
inc r14
inc rcx
cmp r11d, 0x24
mov r11, rcx
jne 0x140219c62
mov r8, qword [r10 + 0x38]
jmp 0x140219ca9
mov r14d, esi
jmp 0x140219ca9
mov r10, qword [rsp + 0x50]
mov edi, r10d
xor r11d, r11d
jmp 0x140219b96
mov rsi, qword [rsp + 0x50]
mov edi, esi
lea r14d, [rsi + 0x24]
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x30]
mov r8d, r12d
mov r9d, esi
call fcn.14021a420
test byte [rsp + 0x80], 1
je 0x140219cf4
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x38]
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, esi
call fcn.14021a420
mov r10d, r14d
mov r12d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x58]
or edi, 0x8000
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x88]
mov eax, dword [rsi + 0xc]
test eax, eax
jns 0x14021966e
test r11d, r11d
js 0x14021966e
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xc], edi
mov eax, edi
jmp 0x14021966e
mov r10d, esi
jmp 0x140219d45
mov rbp, qword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
test eax, eax
jns 0x140219d50
mov dword [rbp + 0xc], 0x7fff
cmp r10d, 0x801e
mov rax, qword [rsp + 0x78]
jle 0x140219d6d
mov dword [r14], 8
xor r10d, r10d
jmp 0x14021a0ab
test eax, eax
jle 0x14021a0ab
movsxd rax, esi
mov qword [rsp + 0x68], rax
mov r14d, dword [rsp + 0xc0]
mov rax, qword [rsp + 0x60]
dec eax
mov dword [rsp + 0x80], eax
mov r15, qword [rsp + 0x110]
not r12d
movsxd rax, dword [rsp + 0xe0]
add rax, rax
lea rax, [rax + r14*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x78]
lea ecx, [rax + 1]
mov dword [rsp + 0x4c], ecx
mov edi, 0x20
xor ebx, ebx
jmp 0x140219e0b
mov r8, qword [rsi + 0x38]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r8d, dword [rsp + 0x30]
mov r9d, r10d
call fcn.14021a420
mov r8, qword [rsi + 0x38]
mov r10d, r13d
mov word [r8 + r14*2], bp
inc r14
add ebx, edi
mov rax, qword [rsp + 0x78]
cmp eax, ebx
mov rbp, qword [rsp + 0x38]
jle 0x14021a0ab
sub eax, ebx
mov r8, qword [rbp + 0x38]
cmp eax, edi
jge 0x140219e2b
mov ecx, r10d
sub ecx, eax
cmp ecx, dword [rsp + 0x30]
jge 0x140219f24
mov edi, eax
jmp 0x140219f94
mov r13, r10
lea edx, [rbx + 0x20]
lea ecx, [rbx + 1]
movsxd rax, ebx
lea r9, [rsp + rax*2]
add r9, 0x4e0
movzx eax, word [rsp + rax*2 + 0x4e0]
movsxd rcx, ecx
movsxd rdx, edx
mov rbp, qword [rsp + 0x60]
nop word cs:[rax + rax]
lea r10d, [rax + rax*8]
lea r10d, [rax + r10*4]
movzx eax, word [rsp + rcx*2 + 0x4e0]
inc rcx
add eax, r10d
cmp rcx, rdx
jl 0x140219e60
mov r10d, eax
mov ecx, dword [rsp + 0x9c]
shl r10d, cl
xor edx, edx
div dword [rsp + 0x80]
lea ecx, [rdx + 1]
mov eax, dword [r15 + rdx*4 + 4]
mov edx, ecx
test eax, eax
jne 0x140219eb5
mov edx, ecx
not edx
jmp 0x140219f0f
add edx, ecx
mov eax, edx
xor edx, edx
div ebp
mov eax, dword [r15 + rdx*4]
test eax, eax
je 0x140219ea1
mov r11d, eax
and r11d, r12d
cmp r11d, r10d
jne 0x140219ea5
and eax, dword [rsp + 0x40]
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor r11d, r11d
movzx esi, word [rax + r11*2]
cmp si, word [r9 + r11*2]
jne 0x140219ea5
movzx esi, word [rax + r11*2 + 2]
cmp si, word [r9 + r11*2 + 2]
jne 0x140219ea5
movzx esi, word [rax + r11*2 + 4]
cmp si, word [r9 + r11*2 + 4]
jne 0x140219ea5
movzx esi, word [rax + r11*2 + 6]
cmp si, word [r9 + r11*2 + 6]
jne 0x140219ea5
add r11, 4
cmp r11d, 0x20
jne 0x140219ecf
test edx, edx
mov r10, r13
js 0x140219f94
mov eax, edx
mov ebp, dword [r15 + rax*4]
and ebp, dword [rsp + 0x40]
dec ebp
jmp 0x140219f8c
mov r13, r10
movsxd rdx, ebx
lea rdx, [rsp + rdx*2]
add rdx, 0x4e0
inc ecx
mov r9, qword [rsp + 0x58]
add r9, r8
mov r10d, dword [rsp + 0x4c]
sub r10d, ebx
mov rbp, qword [rsp + 0x68]
test eax, eax
jle 0x140219f6f
mov r11d, r10d
xor esi, esi
movzx edi, word [r9 + rsi]
cmp di, word [rdx + rsi]
jne 0x140219f75
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140219f55
jmp 0x140219f87
je 0x14021a0a4
inc rbp
add r9, 2
cmp ecx, ebp
jne 0x140219f4c
mov edi, eax
mov r10, r13
jmp 0x140219f94
mov edi, eax
mov r10, r13
test ebp, ebp
jns 0x140219def
xor eax, eax
cmp r10d, dword [rsp + 0x30]
je 0x14021a008
movsxd rcx, ebx
cmp edi, 1
jle 0x140219ff9
lea rcx, [rsp + rcx*2]
add rcx, 0x4e0
mov edx, edi
mov r13, r10
movsxd r9, r10d
add r9, r9
sub r9, rdx
sub r9, rdx
add r9, r8
add r9, 2
mov r10, rdx
dec rdx
mov r11d, r10d
xor esi, esi
movzx ebp, word [r9 + rsi]
cmp bp, word [rcx + rsi]
jne 0x140219fed
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140219fd3
jmp 0x14021a003
add r9, 2
cmp r10, 3
jge 0x140219fc8
jmp 0x14021a005
lea eax, [rdi - 1]
mov ebp, r10d
sub ebp, eax
jmp 0x14021a014
mov eax, edx
mov r10, r13
mov ebp, r10d
sub ebp, eax
cmp eax, edi
jge 0x14021a027
movsxd rcx, ebx
movsxd rdx, eax
movsxd r13, r10d
mov eax, edi
sub eax, edx
test al, 1
jne 0x14021a034
mov rax, rdx
jmp 0x14021a056
mov r13d, r10d
mov rsi, qword [rsp + 0x38]
jmp 0x140219dcb
lea rax, [rdx + 1]
lea r8, [rcx + rdx]
movzx r8d, word [rsp + r8*2 + 0x4e0]
mov r9, qword [rsp + 0x38]
mov r9, qword [r9 + 0x38]
mov word [r9 + r13*2], r8w
inc r13
movsxd r8, edi
not rdx
add rdx, r8
mov rsi, qword [rsp + 0x38]
je 0x140219dc7
lea rdx, [rsp + 0x4e2]
lea rcx, [rdx + rcx*2]
movzx edx, word [rcx + rax*2 - 2]
mov r9, qword [rsi + 0x38]
mov word [r9 + r13*2], dx
movzx edx, word [rcx + rax*2]
add rax, 2
mov r9, qword [rsi + 0x38]
mov word [r9 + r13*2 + 2], dx
add r13, 2
cmp r8, rax
jne 0x14021a076
jmp 0x140219dc7
xor edi, edi
jmp 0x140219f89
mov qword [rsp + 0x50], r10
mov rcx, qword [rsp + 0x130]
mov r14, qword [rsp + 0x88]
call fcn.1401e3790
mov r15d, dword [rsp + 0x74]
mov r8, qword [rsp + 0x110]
mov rax, qword [rsp + 0x100]
mov dword [rbp + 0x30], eax
jmp 0x140218645
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [r14], 7
xor ecx, ecx
jmp 0x14021a0c0