Function at 0x14021d0d0
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.1402662c0
sub rsp, rax
movdqa xmmword [rsp + 0x1e00], xmm7
movdqa xmmword [rsp + 0x1df0], xmm6
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x1de8], rax
cmp dword [r9], 0
jg 0x14021fb29
cmp edx, 1
ja 0x14021d1bb
cmp r8d, 3
jae 0x14021d1bb
mov r14, rcx
cmp r8d, 2
je 0x14021d1c7
test r8d, r8d
jne 0x14021d239
movq xmm0, qword [r14 + 0x28]
pand xmm0, xmmword [0x14037f130]
movq qword [r14 + 0x28], xmm0
movzx eax, word [r14 + 0x34]
mov dword [r14 + 0x34], eax
mov eax, dword [r14 + 0x30]
cmp eax, 0x10
jl 0x14021d18d
shr rax, 4
cmp eax, 1
jne 0x14021d39d
xor ecx, ecx
test al, 1
je 0x14021d18d
cmp byte [r14 + rcx + 0x40], 0
jne 0x14021d18d
mov rax, qword [r14]
movzx r10d, word [rax + rcx*4]
mov dword [rax + rcx*4], r10d
cmp dword [r14 + 0x1c], 0
jle 0x14021d239
xor eax, eax
nop word [rax + rax]
mov rcx, qword [r14 + 0x10]
movzx r10d, word [rcx + rax*4]
mov dword [rcx + rax*4], r10d
inc rax
movsxd rcx, dword [r14 + 0x1c]
cmp rax, rcx
jl 0x14021d1a0
jmp 0x14021d239
mov dword [r9], 1
jmp 0x14021fb29
movq xmm0, qword [r14 + 0x28]
pand xmm0, xmmword [0x14037f140]
movq qword [r14 + 0x28], xmm0
movzx eax, byte [r14 + 0x34]
mov dword [r14 + 0x34], eax
mov eax, dword [r14 + 0x30]
cmp eax, 0x10
jl 0x14021d214
shr rax, 4
cmp eax, 1
jne 0x14021d3e9
xor ecx, ecx
test al, 1
je 0x14021d214
cmp byte [r14 + rcx + 0x40], 0
jne 0x14021d214
mov rax, qword [r14]
movzx r10d, byte [rax + rcx*4]
mov dword [rax + rcx*4], r10d
cmp dword [r14 + 0x1c], 0
jle 0x14021d239
xor eax, eax
nop dword [rax]
mov rcx, qword [r14 + 0x10]
movzx r10d, byte [rcx + rax*4]
mov dword [rcx + rax*4], r10d
inc rax
movsxd rcx, dword [r14 + 0x1c]
cmp rax, rcx
jl 0x14021d220
test edx, edx
mov eax, 0x10000
mov ebx, 0x1000
cmove ebx, eax
mov eax, ebx
shr eax, 4
mov qword [rsp + 0x68], rax
mov ecx, dword [r14 + 0x30]
cmp ecx, 0x110000
mov qword [rsp + 0x88], r9
jl 0x14021d286
cmp byte [r14 + 0x1103f], 0
je 0x14021d29e
mov rsi, qword [r14]
mov eax, dword [rsi + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [r14 + 0x10]
jmp 0x14021d2a8
lea rax, [r14 + 0x34]
xor ebp, ebp
cmp ecx, 0x10
jl 0x14021d437
mov r11d, dword [r14 + 0x34]
mov rsi, qword [r14]
jmp 0x14021d2b3
mov rsi, qword [r14]
lea rax, [rsi + 0x43ffc]
mov r11d, dword [rax]
lea rax, [r14 + 0x34]
mov dword [r14 + 0x34], r11d
shr rcx, 4
mov r9, qword [r14 + 0x10]
mov ebp, ecx
shl ebp, 4
add ebp, 0x1ff
inc rcx
jmp 0x14021d2e4
cmp r10d, r11d
jne 0x14021d367
add ebp, 0xfffffff0
dec rcx
cmp rcx, 1
jbe 0x14021d435
lea r10d, [rcx - 2]
cmp byte [r14 + r10 + 0x40], 0
mov r10d, dword [rsi + r10*4]
je 0x14021d2cb
cmp dword [r9 + r10*4], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 4], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 8], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0xc], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x10], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x14], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x18], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x1c], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x20], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x24], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x28], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x2c], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x30], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x34], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x38], r11d
jne 0x14021d367
cmp dword [r9 + r10*4 + 0x3c], r11d
je 0x14021d2d4
and ebp, 0xfffffe00
cmp ebp, 0x110000
jne 0x14021d38d
mov ecx, dword [r14 + 0x28]
mov dword [r14 + 0x34], ecx
mov ebp, 0x110000
mov r15d, 0x110000
jmp 0x14021d47f
mov r15d, ebp
cmp ebp, ebx
jl 0x14021d437
jmp 0x14021d47f
mov r11d, eax
and r11d, 0xfffffffe
xor ecx, ecx
jmp 0x14021d3c9
mov r10, qword [r14]
movzx esi, word [r10 + rcx*4]
mov dword [r10 + rcx*4], esi
cmp byte [r14 + rcx + 0x41], 0
je 0x14021d3d9
add rcx, 2
cmp r11, rcx
je 0x14021d175
cmp byte [r14 + rcx + 0x40], 0
je 0x14021d3a8
cmp byte [r14 + rcx + 0x41], 0
jne 0x14021d3bc
mov r10, qword [r14]
movzx esi, word [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], esi
jmp 0x14021d3bc
mov r11d, eax
and r11d, 0xfffffffe
xor ecx, ecx
jmp 0x14021d415
mov r10, qword [r14]
movzx esi, byte [r10 + rcx*4]
mov dword [r10 + rcx*4], esi
cmp byte [r14 + rcx + 0x41], 0
je 0x14021d425
add rcx, 2
cmp r11, rcx
je 0x14021d1fc
cmp byte [r14 + rcx + 0x40], 0
je 0x14021d3f4
cmp byte [r14 + rcx + 0x41], 0
jne 0x14021d408
mov r10, qword [r14]
movzx esi, byte [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], esi
jmp 0x14021d408
xor ebp, ebp
mov ecx, ebp
sar ecx, 4
mov r9, qword [rsp + 0x68]
cmp ecx, r9d
jge 0x14021d47c
movsxd rcx, ecx
mov r11d, r9d
nop dword [rax]
mov byte [r14 + rcx + 0x40], 0
mov r10d, dword [r14 + 0x34]
mov r9, qword [r14]
mov dword [r9 + rcx*4], r10d
mov byte [r14 + rcx + 0x41], 0
mov r10d, dword [r14 + 0x34]
mov r9, qword [r14]
mov dword [r9 + rcx*4 + 4], r10d
add rcx, 2
cmp r11, rcx
jne 0x14021d450
mov r15d, ebx
mov dword [r14 + 0x30], r15d
mov rcx, qword [r14]
mov rdi, qword [r14 + 0x10]
movsxd rsi, r15d
xor r9d, r9d
jmp 0x14021d4c6
mov r11d, r9d
and r11d, 0xf
add r11d, dword [rcx + r10*4]
lea r10, [rdi + r11*4]
mov r10d, dword [r10]
mov dword [rsp + r9*4 + 0x2e0], r10d
inc r9
cmp r9, 0x80
je 0x14021d4e3
mov r10, rax
cmp r9, rsi
jge 0x14021d4af
mov r10d, r9d
shr r10d, 4
cmp byte [r14 + r10 + 0x40], 0
jne 0x14021d4a0
lea r10, [rcx + r10*4]
jmp 0x14021d4af
mov dword [rsp + 0xdc], ebp
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0xbc], edx
mov dword [rsp + 0xfc], r8d
movabs rax, 0xffffffff00000000
mov qword [rsp + 0x158], rax
mov esi, 0x94
mov dword [rsp + 0x70], r15d
cmp r15d, 0x10
mov qword [rsp + 0x30], r14
mov rbp, qword [rsp + 0x68]
jl 0x14021d973
sar dword [rsp + 0x70], 4
mov r15d, 0x40
mov r12d, 4
xor edi, edi
mov eax, 0x94
mov qword [rsp + 0x48], rax
mov r13d, 1
jmp 0x14021d5b3
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], r12d
mov rax, qword [rsp + 0x48]
add eax, r15d
mov qword [rsp + 0x48], rax
add edi, r12d
cmp edi, dword [rsp + 0x70]
jge 0x14021d966
cmp edi, ebp
mov eax, reloc.WS2_32.dll_recv
cmove r15d, eax
cmove r12d, r13d
mov rax, qword [r14]
movsxd rcx, edi
mov edx, dword [rax + rcx*4]
cmp byte [r14 + rcx + 0x40], 1
jne 0x14021d620
mov r8, qword [r14 + 0x10]
lea r9, [r8 + rdx*4]
mov eax, dword [r8 + rdx*4]
lea r10d, [r15 - 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 0x14021d60d
add rdx, 4
cmp rdx, r8
jb 0x14021d600
cmp rdx, r8
jne 0x14021d599
mov byte [r14 + rcx + 0x40], 0
mov rdx, qword [r14]
mov dword [rdx + rcx*4], eax
jmp 0x14021d682
cmp r12d, 2
jl 0x14021d680
lea r8d, [r12 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x14021d680
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x14021d640
mov rcx, r14
mov edx, edi
call fcn.140220140
mov ecx, 0
test eax, eax
cmovns ecx, r15d
mov rax, qword [rsp + 0x48]
js 0x14021d9ff
add eax, ecx
jmp 0x14021d5a1
mov eax, edx
mov edx, dword [rsp + 0x15c]
test edx, edx
js 0x14021d696
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x14021d6d4
movsxd r8, dword [rsp + 0x158]
test r8, r8
jle 0x14021d560
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x14021d6cd
inc rdx
cmp r9, rdx
jne 0x14021d6b0
cmp r9d, 0x20
jne 0x14021d560
jmp 0x14021d6ec
mov dword [rsp + 0x15c], edx
add dword [rsp + rdx*4 + 0x260], r12d
mov edx, dword [rsp + rdx*4 + 0x160]
cmp edx, 0xfffffffe
jne 0x14021d8ca
test edi, edi
je 0x14021d78e
mov r9, qword [r14]
mov r8d, 4
xor edx, edx
jmp 0x14021d717
add edx, r8d
cmp edx, edi
je 0x14021d78e
cmp edx, ebp
cmove r8d, r13d
movsxd r10, edx
cmp byte [r14 + r10 + 0x40], 0
jne 0x14021d710
cmp dword [r9 + r10*4], eax
jne 0x14021d710
add r8d, r12d
mov r14d, dword [rsp + 0x158]
test r14d, r14d
jle 0x14021d897
mov r9d, r14d
and r9d, 3
cmp r14d, 4
jae 0x14021d8e3
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
test r9, r9
mov r14, qword [rsp + 0x30]
je 0x14021d8a2
nop
mov esi, dword [rsp + r11*4 + 0x260]
cmp esi, ebp
cmovl r10d, r11d
cmovl ebp, esi
inc r11
dec r9
jne 0x14021d770
jmp 0x14021d8a2
mov r10d, dword [rsp + 0x158]
test r10d, r10d
jle 0x14021d7dd
mov ecx, r10d
and ecx, 3
cmp r10d, 4
jae 0x14021d7ff
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
test rcx, rcx
je 0x14021d7e2
nop word [rax + rax]
mov r10d, dword [rsp + r8*4 + 0x260]
cmp r10d, r9d
cmovl edx, r8d
cmovl r9d, r10d
inc r8
dec rcx
jne 0x14021d7c0
jmp 0x14021d7e2
mov edx, 0xffffffff
mov dword [rsp + 0x15c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x160], edi
mov dword [rsp + rcx*4 + 0x1e0], eax
jmp 0x14021d591
and r10d, 0xfffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x14021d82c
mov r9d, ebx
add r8, 4
cmp r8, r10
je 0x14021d7b5
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 0x14021d860
mov r11d, r9d
jmp 0x14021d864
lea edx, [r8 + 1]
mov ebx, dword [rsp + r8*4 + 0x268]
cmp ebx, r11d
jl 0x14021d880
mov ebx, r11d
jmp 0x14021d884
lea edx, [r8 + 2]
mov r9d, dword [rsp + r8*4 + 0x26c]
cmp r9d, ebx
jge 0x14021d820
lea edx, [r8 + 3]
jmp 0x14021d823
mov r10d, 0xffffffff
mov r14, qword [rsp + 0x30]
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 rbp, qword [rsp + 0x68]
test edx, edx
js 0x14021d599
mov byte [r14 + rcx + 0x40], 2
mov rax, qword [r14]
mov dword [rax + rcx*4], edx
jmp 0x14021d5a6
and r14d, 0xfffffffc
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
jmp 0x14021d90f
mov ebp, ebx
add r11, 4
cmp r11, r14
je 0x14021d761
mov ebx, dword [rsp + r11*4 + 0x260]
cmp ebx, ebp
cmovl r10d, r11d
mov esi, dword [rsp + r11*4 + 0x264]
cmovl ebp, ebx
cmp esi, ebp
jl 0x14021d930
mov esi, ebp
jmp 0x14021d934
lea r10d, [r11 + 1]
mov ebx, dword [rsp + r11*4 + 0x268]
cmp ebx, esi
jl 0x14021d950
mov ebx, esi
jmp 0x14021d954
lea r10d, [r11 + 2]
mov ebp, dword [rsp + r11*4 + 0x26c]
cmp ebp, ebx
jge 0x14021d900
lea r10d, [r11 + 3]
jmp 0x14021d902
mov rsi, qword [rsp + 0x48]
test esi, esi
js 0x14021d9ff
lea eax, [rsi*4]
movsxd rcx, eax
call fcn.1401e96d0
test rax, rax
je 0x14021d9ff
mov r13, rax
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x2e0]
mov r8d, 0x200
mov rcx, rax
call fcn.1402689f0
mov r8d, dword [rsp + 0x158]
test r8, r8
je 0x14021da12
test r8d, r8d
jle 0x14021da1e
mov eax, r8d
and eax, 3
cmp r8d, 4
mov rsi, qword [rsp + 0x48]
jae 0x14021dafb
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x14021d9fa
nop dword [rax + rax]
mov r8d, dword [rsp + rcx*4 + 0x260]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x14021d9e0
movsxd rax, edx
jmp 0x14021da2a
mov rax, qword [rsp + 0x88]
mov dword [rax], 7
jmp 0x14021faee
mov ecx, 0xffffffff
mov rsi, qword [rsp + 0x48]
jmp 0x14021da31
mov rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x48]
mov ecx, dword [rsp + rax*4 + 0x160]
mov qword [rsp + 0x120], 0
mov rax, qword [r14]
mov dword [rax], 0
mov rax, qword [r14]
mov dword [rax + 0x10], 0x40
cmp esi, 0x103e
mov dword [rsp + 0x9c], ecx
jg 0x14021da8c
movabs rax, 0xfff0000000c
mov qword [rsp + 0x120], rax
mov r15d, 0x1777
mov dword [rsp + 0x78], send
mov dword [rsp + 0x3c], 0xfff
jmp 0x14021dbad
lea eax, [rsi - 0x40]
cmp eax, 0x7ffe
ja 0x14021dac3
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x120], rax
mov r15d, 0xc365
mov dword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x3c], 0x7fff
jmp 0x14021dbad
cmp eax, 0x1fffe
ja 0x14021db85
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x120], rax
mov r15d, 0x30d43
mov dword [rsp + 0x78], send
mov dword [rsp + 0x3c], 0x1ffff
jmp 0x14021dbad
and r8d, 0xfffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x14021db20
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x14021d9d6
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 0x14021db50
mov r10d, r9d
jmp 0x14021db53
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x268]
cmp r11d, r10d
jg 0x14021db70
mov r11d, r10d
jmp 0x14021db73
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x26c]
cmp r9d, r11d
jle 0x14021db10
lea edx, [rcx + 3]
jmp 0x14021db13
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x120], rax
mov r15d, 0x16e367
mov dword [rsp + 0x78], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x3c], 0x1fffff
xor eax, eax
mov qword [rsp + 0x60], rax
xor ecx, ecx
call fcn.1401e97a0
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e96d0
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021e577
mov dword [rsp + 0x118], r15d
mov dword [rsp + 0x11c], r15d
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140268830
mov dword [rsp + 0x128], 0x40
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov r9d, 0x80
call fcn.140220320
mov eax, dword [r14 + 0x30]
cmp eax, 0x90
jl 0x14021e58d
sar eax, 4
mov dword [rsp + 0xa4], eax
mov r10, qword [rsp + 0x48]
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 esi, 0x16e367
cmovb esi, eax
cmp r10d, 0x800f
lea eax, [rcx + rcx*2 + 0xc]
lea ecx, [rdx*4 + 0x11]
cmovl ecx, eax
mov dword [rsp + 0xb0], ecx
cmovl r11d, r8d
mov dword [rsp + 0xa0], r11d
cmovl esi, r9d
mov qword [rsp + 0xf0], rsi
lea eax, [rsi*4]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [r13 + 4]
mov qword [rsp + 0xe8], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0x100], rax
lea rax, [r13 + 0xc]
mov qword [rsp + 0x108], rax
mov edx, 4
mov ebp, 8
mov eax, 0x80
mov qword [rsp + 0x40], rax
mov eax, 0x40
mov qword [rsp + 0x58], rax
mov eax, r15d
mov dword [rsp + 0xc0], r15d
mov dword [rsp + 0x54], 0
mov r8, rbx
jmp 0x14021dd5d
mov rax, qword [r14]
mov ecx, dword [rax + r12*4]
mov ecx, dword [rax + rcx*4]
mov dword [rax + r12*4], ecx
add ebp, edx
cmp ebp, dword [rsp + 0xa4]
jge 0x14021e59a
cmp ebp, dword [rsp + 0x68]
jne 0x14021de42
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x124], eax
mov r15, qword [rsp + 0xf0]
cmp r15d, dword [rsp + 0xc0]
jle 0x14021ddd1
mov rcx, r8
call fcn.1401e97a0
mov rcx, qword [rsp + 0xc8]
call fcn.1401e96d0
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021e577
mov r8, rax
mov dword [rsp + 0x118], r15d
mov eax, r15d
mov dword [rsp + 0xc0], r15d
mov dword [rsp + 0x11c], r15d
mov rcx, r8
xor edx, edx
mov rdi, r8
mov r8, qword [rsp + 0xc8]
call fcn.140268830
mov dword [rsp + 0x128], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov rsi, qword [rsp + 0x40]
mov r9d, esi
call fcn.140220320
mov r8, rdi
mov edx, 1
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x78], eax
mov eax, esi
mov dword [rsp + 0x54], esi
movsxd r12, ebp
movzx eax, byte [r14 + r12 + 0x40]
cmp eax, 1
je 0x14021df90
test eax, eax
jne 0x14021dd40
mov dword [rsp + 0x80], edx
mov r10, qword [r14]
mov r9d, dword [r10 + r12*4]
mov rax, qword [rsp + 0x58]
lea edx, [rax - 1]
lea r11d, [rax - 2]
mov ecx, edx
and ecx, 7
mov eax, r9d
cmp r11d, 7
jb 0x14021deed
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 0x14021de90
test ecx, ecx
je 0x14021df0d
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x14021df00
mov r11d, eax
mov ecx, dword [rsp + 0x78]
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 0x14021e0fb
mov ebx, dword [rsp + 0x3c]
not ebx
mov r14d, dword [rsp + 0x58]
mov edx, ecx
jmp 0x14021df61
cmp rax, rdi
je 0x14021e0ff
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x14021e0fd
mov esi, eax
and esi, ebx
cmp esi, r11d
jne 0x14021df49
and eax, dword [rsp + 0x3c]
cdqe
lea rax, [rax*4 - 4]
add rax, r13
lea rdi, [rax + r14*4]
nop
cmp dword [rax], r9d
jne 0x14021df40
add rax, 4
cmp rax, rdi
jb 0x14021df80
jmp 0x14021df40
mov dword [rsp + 0x80], edx
mov rax, qword [r14]
mov r10, qword [r14 + 0x10]
mov qword [rsp + 0xa8], rax
mov edi, dword [rax + r12*4]
mov eax, dword [r10 + rdi*4]
mov rcx, qword [rsp + 0x58]
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 0x14021e027
and r9, 0xfffffffffffffffc
lea r11, [r10 + rdi*4]
add r11, 0x10
xor edx, edx
nop word [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 0x14021dff0
inc rdx
test rcx, rcx
je 0x14021e054
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 0x14021e040
mov qword [rsp + 0xe0], r10
mov qword [rsp + 0xd0], rdi
lea r11, [r10 + rdi*4]
mov r14d, eax
mov ecx, dword [rsp + 0x78]
shl r14d, 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 0x14021e11d
mov ebx, dword [rsp + 0x3c]
not ebx
mov rdx, qword [rsp + 0x58]
lea r9d, [rdx + 1]
mov edx, ecx
jmp 0x14021e0b4
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x14021e11f
mov esi, eax
and esi, ebx
cmp esi, r14d
jne 0x14021e0a0
and eax, dword [rsp + 0x3c]
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 0x14021e0a0
add rdi, 4
dec esi
cmp esi, 1
jg 0x14021e0e0
test edx, edx
jns 0x14021e125
jmp 0x14021e150
mov edx, ecx
not edx
test edx, edx
mov r14, qword [rsp + 0x30]
js 0x14021e206
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x3c]
dec eax
jmp 0x14021e20b
mov edx, ecx
not edx
test edx, edx
js 0x14021e150
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x3c]
jle 0x14021e150
dec eax
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + r12*4], eax
mov r14, qword [rsp + 0x30]
mov edx, dword [rsp + 0x80]
jmp 0x14021dd4e
mov ecx, dword [rsp + 0x58]
movsxd rax, dword [rsp + 0x40]
lea rdx, [rax*4]
lea r9, [rcx*4]
mov rbx, rdx
sub rbx, r9
add rbx, qword [rsp + 0xe8]
mov r9, rcx
mov qword [rsp + 0x90], r8
mov r14, r9
dec r9
mov edi, r14d
xor esi, esi
nop dword [rax]
mov r10d, dword [rbx + rsi]
cmp r10d, dword [r11 + rsi]
jne 0x14021e1a7
add rsi, 4
dec edi
cmp edi, 1
jg 0x14021e190
jmp 0x14021e1b4
add rbx, 4
cmp r14, 3
jge 0x14021e182
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 + 0x58]
mov r14, qword [rsp + 0x30]
jge 0x14021e544
movsxd r14, r9d
mov r9, rcx
sub r9, r14
cmp r9, 0x10
jae 0x14021e36d
mov r8, r14
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0xd0]
jmp 0x14021e4a5
mov eax, 0xffffffff
test eax, eax
setns r11b
js 0x14021e2da
cmp ebp, dword [rsp + 0x9c]
jne 0x14021e2da
cmp ebp, dword [rsp + 0x68]
jl 0x14021e2da
cmp eax, dword [rsp + 0x54]
jge 0x14021e2da
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
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 0x14021e273
add r11, 4
cmp r11, qword [rsp + 0x70]
jb 0x14021e260
jmp 0x14021e2df
cmp ecx, eax
jle 0x14021e2ef
mov r11d, eax
jmp 0x14021e289
add r11d, edi
mov eax, r11d
mov r11d, eax
cmp eax, ecx
jge 0x14021e2ef
lea eax, [r11 + 1]
movsxd rsi, r11d
cmp dword [r13 + rsi*4 + 4], r9d
jne 0x14021e282
lea rsi, [rsi*4]
add rsi, r13
mov edi, 2
nop word [rax + rax]
cmp dword [rsi + rdi*4], r9d
jne 0x14021e27c
lea rbx, [rdx + rdi]
inc rbx
inc rdi
cmp rbx, 2
jne 0x14021e2b0
cmp r11d, 0xffffffff
setge r11b
jl 0x14021e2da
cmp eax, dword [rsp + 0x54]
jl 0x14021e24f
test r11b, r11b
je 0x14021e2ef
mov dword [r10 + r12*4], eax
mov edx, dword [rsp + 0x80]
jmp 0x14021dd4e
mov qword [rsp + 0x90], r8
mov r8, qword [rsp + 0x40]
lea edx, [r8 + 1]
mov ecx, edx
sub ecx, dword [rsp + 0x58]
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 0x14021e337
lea rdi, [rsi - 1]
dec edx
cmp dword [r13 + rsi*4 - 4], r9d
mov rsi, rdi
je 0x14021e320
jmp 0x14021e33a
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 + 0x58]
jge 0x14021e421
add edx, dword [rsp + 0x58]
not r8d
add r8d, edx
cmp r8d, 7
jae 0x14021e3aa
mov rbx, rax
jmp 0x14021e3fb
lea r8, [rax*4]
add r8, r13
mov rsi, qword [rsp + 0xe0]
lea r10, [rsi + r14*4]
mov rdi, qword [rsp + 0xd0]
lea r10, [r10 + rdi*4]
sub r8, r10
cmp r8, 0x20
jae 0x14021e43e
mov r8, r14
mov r14, qword [rsp + 0x30]
jmp 0x14021e4a5
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 + 0x100]
lea rax, [r10 + rax*4]
xor r10d, r10d
nop word cs:[rax + rax]
movdqu xmmword [rax + r10*4 - 0x10], xmm0
movdqu xmmword [rax + r10*4], xmm0
add r10, 8
cmp rdx, r10
jne 0x14021e3e0
cmp r8, rdx
je 0x14021e41c
mov rax, qword [rsp + 0x58]
sub eax, ecx
nop word cs:[rax + rax]
mov dword [r13 + rbx*4], r9d
inc rbx
dec eax
jne 0x14021e410
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r9d, ebx
call fcn.140220320
mov qword [rsp + 0x40], rbx
jmp 0x14021e563
lea r10, [rdi*4]
mov rbx, r9
and rbx, 0xfffffffffffffff8
lea r8, [rbx + r14]
shl r14, 2
add rax, rbx
add r14, r10
add rsi, r14
add rsi, 0x10
add rdx, qword [rsp + 0x100]
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 0x14021e470
cmp r9, rbx
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0xd0]
je 0x14021e542
mov r9d, ecx
sub r9d, r8d
mov rdx, r8
not rdx
add rdx, rcx
and r9d, 3
je 0x14021e4d4
nop word [rax + rax]
mov r10d, dword [r11 + r8*4]
inc r8
mov dword [r13 + rax*4], r10d
inc rax
dec r9
jne 0x14021e4c0
cmp rdx, 3
jb 0x14021e542
sub rcx, r8
shl rdi, 2
lea rdx, [rdi + r8*4]
mov r8, qword [rsp + 0xe0]
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 0x14021e510
add rax, r8
mov ebx, eax
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r8, qword [rsp + 0x40]
mov r9d, ebx
call fcn.140220320
mov eax, ebx
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
jmp 0x14021dd4e
mov rsi, qword [rsp + 0x88]
mov dword [rsi], 7
xor r8d, r8d
jmp 0x14021fae1
mov eax, 0x80
mov qword [rsp + 0x40], rax
mov r8, rbx
mov rsi, qword [rsp + 0x88]
cmp dword [rsi], 0
jle 0x14021e5b3
xor eax, eax
mov qword [rsp + 0x60], rax
jmp 0x14021fae1
mov qword [rsp + 0x90], r8
mov rcx, qword [r14 + 0x10]
call fcn.1401e97a0
mov qword [r14 + 0x10], r13
mov rax, qword [rsp + 0x48]
mov dword [r14 + 0x18], eax
mov rax, qword [rsp + 0x40]
mov dword [r14 + 0x1c], eax
cmp eax, 0x40010
jl 0x14021e5ee
mov dword [rsi], 8
xor eax, eax
jmp 0x14021e6da
mov ecx, dword [rsp + 0x9c]
test ecx, ecx
js 0x14021e611
mov rax, qword [r14]
mov ecx, ecx
movsxd rax, dword [rax + rcx*4]
mov dword [r14 + 0x20], eax
mov eax, dword [r13 + rax*4]
mov dword [r14 + 0x28], eax
jmp 0x14021e619
mov dword [r14 + 0x20], 0xfffff
mov r11, qword [rsp + 0x68]
mov eax, dword [rsp + 0x98]
mov ecx, eax
shr ecx, 6
mov eax, dword [r14 + 0x30]
sar eax, 6
cmp eax, ecx
jle 0x14021e6c5
mov qword [rsp + 0xc8], rcx
dec r11d
shr r11d, 1
and r11d, 0xfffffffe
add r11, 2
mov r8d, 0xffffffff
xor eax, eax
xor ecx, ecx
jmp 0x14021e68c
mov r10d, r8d
lea r8d, [rdx + 0x10]
mov dword [r9 + rcx*8 + 4], r8d
lea r8d, [rdx + 0x20]
mov r9, qword [r14]
mov dword [r9 + rcx*8 + 8], r8d
add edx, 0x30
mov r8, qword [r14]
mov dword [r8 + rcx*8 + 0xc], edx
add rcx, 2
inc eax
mov r8d, r10d
cmp r11, rcx
je 0x14021e6ec
mov r9, qword [r14]
mov edx, dword [r9 + rcx*8]
mov word [rsp + rcx + 0x15e0], dx
mov r10d, 0xffffffff
cmp edx, dword [r14 + 0x20]
jne 0x14021e65e
mov r10d, eax
test r8d, r8d
js 0x14021e65e
cmp dword [r14 + 0xc], 0
jns 0x14021e65b
lea r10d, [r8 + 0x1f]
cmp r10d, eax
jne 0x14021e65b
mov dword [r14 + 0xc], r8d
jmp 0x14021e65b
mov dword [r14 + 0xc], 0x7fff
mov eax, dword [rsp + 0xdc]
mov dword [r14 + 0x30], eax
mov eax, ecx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x90]
jmp 0x14021fae1
xor edi, edi
cmp dword [rsp + 0xbc], 0
sete dil
mov dword [rsp + 0x3c], 0
mov r8d, 0x5ddc
mov rcx, qword [rsp + 0x90]
xor edx, edx
call fcn.140268830
movdqa xmm0, xmmword [0x14037f150]
movdqu xmmword [rsp + 0x11c], xmm0
mov rax, qword [rsp + 0xc8]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x15e0]
xor r8d, r8d
xor r9d, r9d
call fcn.140220460
shl edi, 0xc
mov eax, dword [r14 + 0x30]
sar eax, 4
mov dword [rsp + 0x80], eax
mov ecx, 0
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], edi
sub eax, edi
mov qword [rsp + 0x68], rax
jle 0x14021eca0
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x58], eax
mov ebx, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x80]
mov qword [rsp + 0x70], rax
lea rdx, [rbx*4]
xor eax, eax
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [0x1402f5b80]
mov dword [rsp + 0x3c], 0
jmp 0x14021e7ed
mov r14, qword [rsp + 0x30]
mov byte [r14 + rbx + 0x40], 3
mov rax, qword [rsp + 0x48]
add eax, 0x24
mov qword [rsp + 0x48], rax
mov al, 1
mov dword [rsp + 0x3c], eax
mov rsi, qword [rsp + 0x88]
mov rbx, r12
sub rdx, 0xffffffffffffff80
cmp rbx, qword [rsp + 0x70]
jge 0x14021eca0
mov r13, qword [r14]
movd xmm1, dword [r14 + 0x20]
pshufd xmm2, xmm1, 0
lea r9, [rbx*4]
movdqu xmm1, xmmword [r13 + rbx*4]
mov rcx, r9
or rcx, 0x10
movdqu xmm4, xmmword [r13 + rcx]
movdqa xmm5, xmm4
por xmm5, xmm1
pcmpeqd xmm1, xmm2
pcmpeqd xmm4, xmm2
mov r11, r9
or r11, 0x20
movdqu xmm6, xmmword [r13 + r11]
mov r15, r9
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, r9
or r10, 0x40
movdqu xmm5, xmmword [r13 + r10]
mov rbp, r9
or rbp, 0x50
movdqu xmm6, xmmword [r13 + rbp]
movdqa xmm4, xmm6
por xmm4, xmm5
pcmpeqd xmm5, xmm2
pcmpeqd xmm6, xmm2
pand xmm6, xmm5
mov r8, r9
or r8, 0x60
movdqu xmm5, xmmword [r13 + r8]
por xmm4, xmm5
por xmm4, xmm7
pcmpeqd xmm5, xmm2
mov rdi, r9
or rdi, 0x70
movdqu xmm7, xmmword [r13 + rdi]
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 0x14021e94f
mov byte [r14 + rbx + 0x40], 0
cmp dword [rsp + 0x58], 0
jns 0x14021e7d3
xor eax, eax
cmp esi, 0x10000
setae al
mov ecx, dword [rsp + 0x3c]
movzx ecx, cl
mov r8d, 1
cmovae ecx, r8d
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rsp + 0x48]
lea ecx, [rcx + rax*4]
add ecx, 0x20
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x58], 0
jmp 0x14021e7d3
cmp esi, 0xffff
ja 0x14021e7b5
mov eax, dword [r13 + rbx*4]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r9
or rsi, 4
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r9
or rsi, 8
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r9
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, r9
or rcx, 0x14
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x18
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
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, r9
or rcx, 0x24
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x28
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
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, r9
or rcx, 0x34
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x38
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
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, r9
or rcx, 0x44
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x48
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x4c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + rbp]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x54
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x58
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
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, r9
or rcx, 0x64
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x68
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x6c
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, r9
or rcx, 0x74
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r9
or rcx, 0x78
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea ecx, [rax + rcx*4]
or r9, 0x7c
add ecx, dword [r13 + r9]
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 esi, 0xae8f1b93
je 0x14021ec73
shl ecx, 0xc
inc r8d
lea r10, [rdx + r13]
mov r9d, r8d
jmp 0x14021ebc7
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 0x14021ec73
mov eax, r11d
and eax, 0xfffff000
cmp eax, ecx
jne 0x14021eb9b
and r11d, 0xfff
lea r11, [rsp + r11*2]
add r11, 0x15de
xor r14d, r14d
nop dword [rax + rax]
movzx eax, word [r11 + r14*2]
cmp dword [r10 + r14*4], eax
jne 0x14021eb9b
movzx eax, word [r11 + r14*2 + 2]
cmp dword [r10 + r14*4 + 4], eax
jne 0x14021eb9b
movzx eax, word [r11 + r14*2 + 4]
cmp dword [r10 + r14*4 + 8], eax
jne 0x14021eb9b
movzx eax, word [r11 + r14*2 + 6]
cmp dword [r10 + r14*4 + 0xc], eax
jne 0x14021eb9b
add r14, 4
cmp r14d, 0x20
jne 0x14021ebf0
test r9d, r9d
js 0x14021ec73
mov eax, r9d
mov rcx, qword [rsp + 0x90]
mov r8d, dword [rcx + rax*4]
mov r14, qword [rsp + 0x30]
lea rcx, [r14 + rbx]
add rcx, 0x40
mov eax, 0xfff
and r8d, eax
mov rsi, qword [rsp + 0x88]
je 0x14021ec88
dec r8d
mov byte [rcx], 1
mov dword [r13 + rbx*4], r8d
jmp 0x14021e7db
mov r14, qword [rsp + 0x30]
lea rcx, [r14 + rbx]
add rcx, 0x40
mov rsi, qword [rsp + 0x88]
mov rbx, r12
mov byte [rcx], 2
mov rax, qword [rsp + 0x48]
add eax, 0x20
mov qword [rsp + 0x48], rax
jmp 0x14021e7de
mov r12, qword [rsp + 0x68]
sar r12d, 5
lea edi, [r12 + 0x1f]
sar edi, 5
mov rax, qword [rsp + 0xc8]
lea ebx, [rdi + rax]
add r12d, dword [rsp + 0x48]
add r12d, ebx
lea eax, [r12*2 + 2]
movsxd rcx, eax
call fcn.1401e96d0
mov qword [r14 + 0x38], rax
test rax, rax
je 0x14021edcc
mov ecx, dword [rsp + 0x98]
mov r8d, ecx
shr r8d, 5
lea rdx, [rsp + 0x15e0]
mov rcx, rax
call fcn.1402689f0
cmp r12d, 0x101e
mov qword [rsp + 0xe8], rdi
jge 0x14021ed25
mov r15, r12
mov ebp, 0x1777
mov r12d, 0xfff
mov ecx, ntohs
jmp 0x14021ed73
mov r15, r12
lea eax, [r12 - 0x1f]
cmp eax, 0x7fff
jae 0x14021ed46
mov ebp, 0xc365
mov r12d, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x14021ed73
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 ebp, 0x16e367
cmovb ebp, eax
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0x120], ecx
mov dword [rsp + 0x124], r12d
mov rcx, qword [rsp + 0x110]
cmp ebp, dword [rsp + 0x118]
jle 0x14021edde
call fcn.1401e97a0
lea edi, [rbp*4]
mov rcx, rdi
call fcn.1401e96d0
mov qword [rsp + 0x110], rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x14021edcc
mov dword [rsp + 0x118], ebp
jmp 0x14021eded
mov dword [rsi], 7
xor eax, eax
mov qword [rsp + 0x60], rax
jmp 0x14021face
mov qword [rsp + 0xb0], rcx
lea edi, [rbp*4]
mov dword [rsp + 0x11c], ebp
xor eax, eax
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xb0]
xor edx, edx
mov r8, rdi
call fcn.140268830
mov dword [rsp + 0x128], 0x20
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x13c], xmm0
movdqa xmmword [rsp + 0x130], xmm0
test byte [rsp + 0x3c], 1
jne 0x14021ee60
mov dword [rsp + 0x54], 0
xor eax, eax
mov qword [rsp + 0x78], rax
xor edi, edi
mov dword [rsp + 0xa8], 0
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x14021ef98
cmp r15d, 0x1021
jg 0x14021ee98
movabs rax, 0xfff0000000c
mov qword [rsp + 0x140], rax
mov edi, 0x1777
mov dword [rsp + 0xa8], send
mov dword [rsp + 0x54], 0xfff
jmp 0x14021ef30
add r15d, 0xffffffdd
cmp r15d, 0x7ffe
ja 0x14021eed1
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x140], rax
mov edi, 0xc365
mov dword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x54], 0x7fff
jmp 0x14021ef30
cmp r15d, 0x1fffe
ja 0x14021ef06
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x140], rax
mov edi, 0x30d43
mov dword [rsp + 0xa8], send
mov dword [rsp + 0x54], 0x1ffff
jmp 0x14021ef30
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x140], rax
mov edi, 0x16e367
mov dword [rsp + 0xa8], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x54], 0x1fffff
xor ecx, ecx
call fcn.1401e97a0
lea r15d, [rdi*4]
mov rcx, r15
call fcn.1401e96d0
mov qword [rsp + 0x130], rax
test rax, rax
je 0x140220122
mov dword [rsp + 0x138], edi
mov dword [rsp + 0x13c], edi
mov rcx, rax
mov qword [rsp + 0x78], rax
xor edx, edx
mov r8, r15
call fcn.140268830
mov dword [rsp + 0x148], 0x24
mov eax, 0x24
mov qword [rsp + 0xc0], rax
mov rsi, qword [rsp + 0x88]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
mov eax, dword [r14 + 0xc]
cmp ecx, edx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x48], rbp
jle 0x14021f73c
mov qword [rsp + 0x90], rdi
mov r8d, ecx
lea ecx, [rdi - 1]
mov dword [rsp + 0xd0], ecx
mov ecx, dword [rsp + 0x54]
not ecx
mov dword [rsp + 0xa0], ecx
mov r15d, edx
not edx
add r8d, edx
shr r8d, 5
mov ecx, r8d
inc ecx
mov qword [rsp + 0x58], rcx
lea ecx, [rbp - 1]
mov dword [rsp + 0x9c], ecx
mov ecx, r12d
not ecx
mov dword [rsp + 0x80], ecx
movsxd rcx, ebx
mov qword [rsp + 0xe0], rcx
lea rdi, [r15*4]
mov rcx, qword [rsp + 0xc0]
inc ecx
mov dword [rsp + 0xf0], ecx
xor ebp, ebp
mov r11d, eax
mov r10d, ebx
jmp 0x14021f05d
mov word [rsp + rbp*2 + 0x4e0], r14w
inc rbp
add r15, 0x20
sub rdi, 0xffffffffffffff80
cmp rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x30]
je 0x14021f741
mov edx, dword [r14 + r15 + 0x40]
test dl, dl
sete r8b
test r11d, r11d
sets r9b
cmp dword [r14 + 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 0x14021f0b3
movzx eax, cl
cmp eax, 2
je 0x14021f0be
cmp eax, 1
jne 0x14021f1b6
mov rax, qword [r14]
mov rsi, r14
mov r14d, dword [rax + r15*4]
jmp 0x14021f717
mov rsi, r14
mov r14d, eax
jmp 0x14021f717
mov dword [rsp + 0x40], r11d
mov qword [rsp + 0x60], r10
movsxd r10, r15d
shl r10, 2
mov r9, qword [r14]
mov r8, qword [r14 + 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
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [r9 + rdx*4]
inc rdx
cmp rdx, rcx
jl 0x14021f100
mov r11d, eax
mov ecx, dword [rsp + 0xa4]
shl r11d, cl
xor edx, edx
div dword [rsp + 0x9c]
lea ecx, [rdx + 1]
mov r14, qword [rsp + 0xb0]
mov eax, dword [r14 + rdx*4 + 4]
test eax, eax
je 0x14021f471
add r10, r9
mov edx, ecx
jmp 0x14021f15f
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x48]
mov eax, dword [r14 + rdx*4]
test eax, eax
je 0x14021f473
mov esi, eax
and esi, dword [rsp + 0x80]
cmp esi, r11d
jne 0x14021f149
and eax, r12d
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor ebx, ebx
movzx esi, word [rax + rbx*2]
cmp dword [r10 + rbx*4], esi
jne 0x14021f149
movzx esi, word [rax + rbx*2 + 2]
cmp dword [r10 + rbx*4 + 4], esi
jne 0x14021f149
movzx esi, word [rax + rbx*2 + 4]
cmp dword [r10 + rbx*4 + 8], esi
jne 0x14021f149
movzx esi, word [rax + rbx*2 + 6]
cmp dword [r10 + rbx*4 + 0xc], esi
jne 0x14021f149
add rbx, 4
cmp ebx, 0x20
jne 0x14021f17a
jmp 0x14021f475
mov dword [rsp + 0x40], r11d
lea rax, [r15 + 0x20]
mov qword [rsp + 0x60], r10
movsxd rbx, r10d
lea r9, [rbx + rbx]
mov rcx, r9
mov rdx, r15
nop word cs:[rax + rax]
mov r8, qword [r14]
mov r10, qword [r14 + 0x38]
mov r8d, dword [r8 + rdx*4]
mov word [r10 + rcx + 2], r8w
shr r8d, 2
and r8d, 0xc000
mov r10, qword [r14]
mov r11, qword [r14 + 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 [r14]
mov r11, qword [r14 + 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 [r14]
mov r11, qword [r14 + 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 [r14]
mov r11, qword [r14 + 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 [r14]
mov r11, qword [r14 + 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 [r14]
mov r11, qword [r14 + 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 [r14]
mov r11, qword [r14 + 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 [r14 + 0x38]
mov word [r8 + rcx], r10w
add rcx, 0x12
cmp rdx, rax
jb 0x14021f1e0
mov r8, qword [r14 + 0x38]
mov r10, qword [rsp + 0x60]
mov rax, qword [rsp + 0xc0]
lea edx, [r10 + rax]
lea ecx, [r10 + 1]
lea r12, [r8 + rbx*2]
movzx eax, word [r8 + rbx*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 0x14021f320
mov r11d, eax
mov ecx, dword [rsp + 0xa8]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xd0]
mov ecx, edx
inc ecx
movsxd rax, ecx
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax*4]
mov edx, ecx
test eax, eax
jne 0x14021f384
mov edx, ecx
not edx
jmp 0x14021f3c2
add edx, ecx
mov eax, edx
cdq
idiv dword [rsp + 0x90]
movsxd rax, edx
mov rsi, qword [rsp + 0x78]
mov eax, dword [rsi + rax*4]
test eax, eax
je 0x14021f365
mov esi, eax
and esi, dword [rsp + 0xa0]
cmp esi, r11d
jne 0x14021f369
test byte [rsp + 0x3c], 1
je 0x14021f3c2
and eax, dword [rsp + 0x54]
dec eax
cdqe
mov esi, dword [rsp + 0xf0]
mov r14, r8
movzx r13d, word [r14 + rax*2]
cmp r13w, word [r14 + r9]
jne 0x14021f369
add r14, 2
dec esi
cmp esi, 1
jg 0x14021f3ab
test edx, edx
mov r11d, dword [rsp + 0x40]
js 0x14021f3ea
mov eax, edx
mov rcx, qword [rsp + 0x78]
mov r14d, dword [rcx + rax*4]
and r14d, dword [rsp + 0x54]
jle 0x14021f3ea
dec r14d
mov r12d, dword [rsp + 0x68]
jmp 0x14021f70b
mov eax, dword [rsp + 0x70]
mov r14d, eax
cmp r10d, eax
je 0x14021f6b1
mov eax, 0x23
mov rcx, 0xffffffffffffffba
mov edx, 0x24
mov r11, 0xffffffffffffffbc
mov esi, edx
mov r14, r12
movzx r10d, word [r14 + rcx]
cmp r10w, word [r14]
jne 0x14021f432
add r14, 2
dec esi
cmp esi, 1
jg 0x14021f417
jmp 0x14021f5e3
cmp rax, 2
jb 0x14021f6a9
lea r13, [rax - 1]
mov esi, eax
mov r14, r12
movzx r10d, word [r14 + r11]
cmp r10w, word [r14]
jne 0x14021f460
add r14, 2
dec esi
cmp esi, 1
jg 0x14021f445
jmp 0x14021f5e6
add rax, 0xfffffffffffffffe
add rcx, 4
add edx, 0xfffffffe
add r11, 4
jmp 0x14021f412
mov edx, ecx
not edx
test edx, edx
mov r10, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x40]
js 0x14021f49e
mov eax, edx
mov rcx, qword [rsp + 0xb0]
mov r14d, dword [rcx + rax*4]
and r14d, r12d
sub r14d, 1
jae 0x14021f712
mov r14d, dword [rsp + 0x70]
cmp r10d, r14d
jne 0x14021f4b7
mov rax, qword [rsp + 0xe0]
xor ebx, ebx
jmp 0x14021f548
movsxd rax, r10d
lea rcx, [r8 + rax*2]
add rcx, 0xffffffffffffffc2
add r9, rdi
lea r10, [r8 + rax*2]
add r10, 0xffffffffffffffc4
mov edx, 0x1f
mov r11d, 0x20
mov esi, r11d
xor ebx, ebx
movzx r14d, word [rcx + rbx]
cmp dword [r9 + rbx*2], r14d
jne 0x14021f4f5
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021f4dd
jmp 0x14021f532
cmp rdx, 2
jb 0x14021f69a
lea rbx, [rdx - 1]
mov esi, edx
xor r14d, r14d
movzx r13d, word [r10 + r14]
cmp dword [r9 + r14*2], r13d
jne 0x14021f520
add r14, 2
dec esi
cmp esi, 1
jg 0x14021f508
jmp 0x14021f535
add rdx, 0xfffffffffffffffe
add rcx, 4
add r11d, 0xfffffffe
add r10, 4
jmp 0x14021f4d8
mov rbx, rdx
mov r10, qword [rsp + 0x60]
mov r14d, r10d
sub r14d, ebx
mov r13d, r10d
cmp ebx, 0x1f
jg 0x14021f57c
inc rbx
mov rcx, rbx
mov r9, qword [rsp + 0x30]
mov rdx, qword [r9]
add rdx, rdi
movzx edx, word [rdx + rbx*4 - 4]
mov r8, qword [r9 + 0x38]
mov word [r8 + rax*2], dx
inc rax
inc rcx
cmp ebx, 0x20
mov rbx, rcx
jne 0x14021f553
mov r8, qword [r9 + 0x38]
mov r13d, eax
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x70]
mov r8d, r12d
mov r9d, r10d
mov rbx, r10
call fcn.140220460
test byte [rsp + 0x3c], 1
jne 0x14021f5b0
mov r10d, r13d
mov rsi, qword [rsp + 0x30]
jmp 0x14021f5d4
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rsi + 0x38]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, ebx
call fcn.140220460
mov r10d, r13d
mov r12d, dword [rsp + 0x68]
mov r11d, dword [rsp + 0x40]
jmp 0x14021f717
mov r13, rax
mov r10, qword [rsp + 0x60]
mov r14d, r10d
sub r14d, r13d
test r13d, r13d
jle 0x14021f6b1
cmp r13d, 0x23
ja 0x14021f60b
test r13b, 1
jne 0x14021f613
mov rdx, r13
jmp 0x14021f62f
mov ebx, r10d
jmp 0x14021f6b5
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
lea rdx, [r13 + 1]
lea rcx, [rbx + r13]
movzx ecx, word [rax + rcx*2]
mov word [rax + rbx*2], cx
inc rbx
cmp r13, 0x23
je 0x14021f68f
lea rax, [rbx + rbx]
mov ecx, 0x24
sub rcx, rdx
lea r8, [r9 + rdx*2]
xor edx, edx
mov r11, qword [rsp + 0x30]
mov r9, qword [r11 + 0x38]
lea r10, [r9 + r8]
movzx r10d, word [r10 + rdx*2]
add r9, rax
mov word [r9 + rdx*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + r8]
add r10, 2
movzx r10d, word [r10 + rdx*2]
add r9, rax
add r9, 2
mov word [r9 + rdx*2], r10w
add rdx, 2
cmp rcx, rdx
jne 0x14021f64c
add rbx, rdx
mov r10, qword [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x38]
jmp 0x14021f6b5
mov r10, qword [rsp + 0x60]
mov r14d, r10d
xor ebx, ebx
jmp 0x14021f548
mov r10, qword [rsp + 0x60]
mov r14d, r10d
lea ebx, [r10 + 0x24]
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x70]
mov r8d, r12d
mov r9d, r10d
mov rsi, r10
call fcn.140220460
test byte [rsp + 0x3c], 1
je 0x14021f6fe
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x38]
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, esi
call fcn.140220460
mov r10d, ebx
mov r12d, dword [rsp + 0x68]
mov r11d, dword [rsp + 0x40]
or r14d, 0x8000
mov rsi, qword [rsp + 0x30]
mov eax, dword [rsi + 0xc]
test eax, eax
jns 0x14021f039
test r11d, r11d
js 0x14021f039
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], r14d
mov eax, r14d
jmp 0x14021f039
mov r10d, ebx
jmp 0x14021f752
mov rsi, qword [rsp + 0x88]
mov ebx, dword [rsp + 0x70]
mov rbp, qword [rsp + 0x48]
test eax, eax
jns 0x14021f75e
mov dword [r14 + 0xc], 0x7fff
cmp r10d, 0x801e
mov rax, qword [rsp + 0x58]
jle 0x14021f77a
mov dword [rsi], 8
xor r10d, r10d
jmp 0x14021faaf
test eax, eax
jle 0x14021faaf
movsxd rax, ebx
mov qword [rsp + 0x40], rax
mov r14d, dword [rsp + 0xc8]
lea eax, [rbp - 1]
mov dword [rsp + 0x3c], eax
mov r15, qword [rsp + 0x110]
not r12d
movsxd rax, dword [rsp + 0xe8]
add rax, rax
lea rax, [rax + r14*2]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
lea ecx, [rax + 1]
mov dword [rsp + 0x78], ecx
mov edi, 0x20
xor ebx, ebx
jmp 0x14021f814
mov r8, qword [rsi + 0x38]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r8d, dword [rsp + 0x70]
mov r9d, r10d
call fcn.140220460
mov r8, qword [rsi + 0x38]
mov r10d, r13d
mov word [r8 + r14*2], bp
inc r14
add ebx, edi
mov rax, qword [rsp + 0x58]
cmp eax, ebx
mov rbp, qword [rsp + 0x48]
jle 0x14021faaf
sub eax, ebx
mov rcx, qword [rsp + 0x30]
mov r8, qword [rcx + 0x38]
cmp eax, edi
jge 0x14021f839
mov ecx, r10d
sub ecx, eax
cmp ecx, dword [rsp + 0x70]
jge 0x14021f925
mov edi, eax
jmp 0x14021f998
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
nop
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 0x14021f860
mov r10d, eax
mov ecx, dword [rsp + 0xa4]
shl r10d, cl
xor edx, edx
div dword [rsp + 0x3c]
lea ecx, [rdx + 1]
mov eax, dword [r15 + rdx*4 + 4]
mov edx, ecx
test eax, eax
jne 0x14021f8b2
mov edx, ecx
not edx
jmp 0x14021f90c
add edx, ecx
mov eax, edx
xor edx, edx
div ebp
mov eax, dword [r15 + rdx*4]
test eax, eax
je 0x14021f89e
mov r11d, eax
and r11d, r12d
cmp r11d, r10d
jne 0x14021f8a2
and eax, dword [rsp + 0x68]
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor r11d, r11d
movzx esi, word [rax + r11*2]
cmp si, word [r9 + r11*2]
jne 0x14021f8a2
movzx esi, word [rax + r11*2 + 2]
cmp si, word [r9 + r11*2 + 2]
jne 0x14021f8a2
movzx esi, word [rax + r11*2 + 4]
cmp si, word [r9 + r11*2 + 4]
jne 0x14021f8a2
movzx esi, word [rax + r11*2 + 6]
cmp si, word [r9 + r11*2 + 6]
jne 0x14021f8a2
add r11, 4
cmp r11d, 0x20
jne 0x14021f8cc
test edx, edx
mov r10, r13
js 0x14021f998
mov eax, edx
mov ebp, dword [r15 + rax*4]
and ebp, dword [rsp + 0x68]
dec ebp
jmp 0x14021f990
mov r13, r10
movsxd rdx, ebx
lea rdx, [rsp + rdx*2]
add rdx, 0x4e0
inc ecx
mov r9, qword [rsp + 0x80]
add r9, r8
mov r10d, dword [rsp + 0x78]
sub r10d, ebx
mov rbp, qword [rsp + 0x40]
test eax, eax
jle 0x14021f973
mov r11d, r10d
xor esi, esi
movzx edi, word [r9 + rsi]
cmp di, word [rdx + rsi]
jne 0x14021f979
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x14021f959
jmp 0x14021f98b
je 0x14021faa8
inc rbp
add r9, 2
cmp ecx, ebp
jne 0x14021f950
mov edi, eax
mov r10, r13
jmp 0x14021f998
mov edi, eax
mov r10, r13
test ebp, ebp
jns 0x14021f7f8
xor eax, eax
cmp r10d, dword [rsp + 0x70]
je 0x14021fa0c
movsxd rcx, ebx
cmp edi, 1
jle 0x14021f9fd
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 0x14021f9f1
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x14021f9d7
jmp 0x14021fa07
add r9, 2
cmp r10, 3
jge 0x14021f9cc
jmp 0x14021fa09
lea eax, [rdi - 1]
mov ebp, r10d
sub ebp, eax
jmp 0x14021fa18
mov eax, edx
mov r10, r13
mov ebp, r10d
sub ebp, eax
cmp eax, edi
jge 0x14021fa2b
movsxd rcx, ebx
movsxd rdx, eax
movsxd r13, r10d
mov eax, edi
sub eax, edx
test al, 1
jne 0x14021fa38
mov rax, rdx
jmp 0x14021fa5a
mov r13d, r10d
mov rsi, qword [rsp + 0x30]
jmp 0x14021f7d4
lea rax, [rdx + 1]
lea r8, [rcx + rdx]
movzx r8d, word [rsp + r8*2 + 0x4e0]
mov r9, qword [rsp + 0x30]
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 + 0x30]
je 0x14021f7d0
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 0x14021fa7a
jmp 0x14021f7d0
xor edi, edi
jmp 0x14021f98d
mov qword [rsp + 0x60], r10
mov rcx, qword [rsp + 0x130]
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x88]
call fcn.1401e97a0
mov r8, qword [rsp + 0x110]
mov eax, dword [rsp + 0xdc]
mov dword [r14 + 0x30], eax
mov rcx, r8
call fcn.1401e97a0
cmp dword [rsi], 0
jle 0x14021fb62
mov dword [r14 + 0xc], 0xffffffff
movabs rax, 0xffffffff00000000
mov qword [r14 + 0x1c], rax
mov eax, dword [r14 + 0x24]
mov dword [r14 + 0x28], eax
mov dword [r14 + 0x34], eax
mov dword [r14 + 0x30], 0
mov rcx, qword [r14 + 0x38]
call fcn.1401e97a0
mov qword [r14 + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.140265fe0
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 ebp, dword [rsp + 0xfc]
cmp ebp, 1
mov rdx, qword [rsp + 0x60]
jne 0x14021fbaf
mov eax, edx
and eax, 1
je 0x14021fbaf
mov rax, qword [r14 + 0x38]
movsxd rcx, edx
mov r9, r14
lea r14d, [rdx*2 + 2]
inc edx
mov word [rax + rcx*2], 0xffee
mov eax, edx
mov qword [rsp + 0x60], rax
mov ebx, dword [rsp + 0xbc]
mov r15d, dword [rsp + 0x98]
jmp 0x14021fc7d
lea r14d, [rdx + rdx]
test ebp, ebp
mov ebx, dword [rsp + 0xbc]
mov r15d, dword [rsp + 0x98]
je 0x14021fc27
cmp ebp, 1
je 0x14021fc78
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
movsxd rdx, eax
lea ecx, [rdx + r14]
and ecx, 3
cmp ecx, 3
je 0x14021fd18
cmp ecx, 2
je 0x14021fd54
test ecx, ecx
mov r10, qword [rsp + 0x30]
jne 0x14021fd2c
mov r8, qword [r10 + 0x10]
mov r9d, dword [r8 + rdx*4 - 4]
cmp r9d, dword [r10 + 0x2c]
jne 0x14021fd2c
mov edx, dword [r8 + rdx*4 - 8]
cmp edx, dword [r10 + 0x34]
jne 0x14021fd2c
jmp 0x14021fd8b
mov r9, qword [rsp + 0x30]
mov eax, dword [r9 + 0x1c]
mov ecx, eax
xor ecx, edx
test cl, 1
je 0x14021fc52
cdqe
mov ecx, dword [r9 + 0x2c]
mov rdx, qword [r9 + 0x10]
lea r8d, [rax + 1]
mov dword [r9 + 0x1c], r8d
mov dword [rdx + rax*4], ecx
mov eax, dword [r9 + 0x1c]
mov rcx, qword [r9 + 0x10]
movsxd rdx, eax
mov r8d, dword [rcx + rdx*4 - 4]
cmp r8d, dword [r9 + 0x2c]
jne 0x14021fcea
mov r8d, dword [r9 + 0x34]
cmp dword [rcx + rdx*4 - 8], r8d
jne 0x14021fcee
jmp 0x14021fd14
mov r9, qword [rsp + 0x30]
mov rcx, qword [r9 + 0x10]
mov eax, dword [r9 + 0x1c]
movsxd r8, eax
mov r10d, dword [rcx + r8*4 - 4]
mov edx, dword [r9 + 0x2c]
cmp r10d, edx
jne 0x14021fca3
mov r9d, dword [r9 + 0x34]
cmp dword [rcx + r8*4 - 8], r9d
jne 0x14021fca7
jmp 0x14021fce2
mov r9d, dword [r9 + 0x34]
cmp r10d, r9d
jne 0x14021fcb3
mov r10, qword [rsp + 0x30]
jmp 0x14021fcd1
mov eax, r8d
inc eax
mov r10, qword [rsp + 0x30]
mov dword [r10 + 0x1c], eax
mov dword [rcx + r8*4], r9d
mov edx, dword [r10 + 0x2c]
mov rcx, qword [r10 + 0x10]
mov eax, dword [r10 + 0x1c]
lea r8d, [rax + 1]
mov dword [r10 + 0x1c], r8d
cdqe
mov dword [rcx + rax*4], edx
mov eax, dword [r10 + 0x1c]
shl eax, 2
jmp 0x14021fd8b
mov r8d, dword [r9 + 0x34]
lea eax, [rdx + 1]
mov dword [r9 + 0x1c], eax
mov dword [rcx + rdx*4], r8d
mov eax, dword [r9 + 0x2c]
mov rcx, qword [r9 + 0x10]
movsxd rdx, dword [r9 + 0x1c]
lea r8d, [rdx + 1]
mov dword [r9 + 0x1c], r8d
mov dword [rcx + rdx*4], eax
mov eax, dword [r9 + 0x1c]
add eax, eax
jmp 0x14021fd8b
mov r10, qword [rsp + 0x30]
mov r8, qword [r10 + 0x10]
mov edx, dword [r8 + rdx*4 - 4]
cmp edx, dword [r10 + 0x34]
je 0x14021fd76
mov eax, dword [r10 + 0x34]
mov rdx, qword [r10 + 0x10]
movsxd r8, dword [r10 + 0x1c]
lea r9d, [r8 + 1]
mov dword [r10 + 0x1c], r9d
mov dword [rdx + r8*4], eax
inc ecx
and ecx, 3
cmp ecx, 2
jne 0x14021fd2c
mov eax, dword [r10 + 0x1c]
jmp 0x14021fd59
mov r10, qword [rsp + 0x30]
mov ecx, dword [r10 + 0x34]
mov rdx, qword [r10 + 0x10]
lea r8d, [rax + 1]
mov dword [r10 + 0x1c], r8d
cdqe
mov dword [rdx + rax*4], ecx
mov r8, qword [r10 + 0x10]
mov eax, dword [r10 + 0x1c]
mov ecx, dword [r10 + 0x2c]
lea edx, [rax + 1]
mov dword [r10 + 0x1c], edx
cdqe
mov dword [r8 + rax*4], ecx
mov eax, dword [r10 + 0x1c]
add eax, r14d
add eax, 0x30
movsxd rcx, eax
call fcn.1401e96d0
test rax, rax
je 0x14021fe29
mov rdi, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm0
movdqu xmmword [rax], xmm0
mov r10, qword [rsp + 0x60]
mov dword [rax + 0x10], r10d
mov rsi, qword [rsp + 0x30]
mov eax, dword [rsi + 0x1c]
mov dword [rdi + 0x14], eax
mov eax, dword [rsi + 0x30]
mov dword [rdi + 0x18], eax
mov eax, 0xfff
add eax, dword [rsi + 0x30]
shr eax, 0xc
mov word [rdi + 0x1c], ax
mov byte [rdi + 0x1e], bl
mov byte [rdi + 0x1f], bpl
movzx eax, word [rsi + 0xc]
mov word [rdi + 0x26], ax
mov eax, dword [rsi + 0x20]
mov dword [rdi + 0x28], eax
mov eax, dword [rsi + 0x28]
mov dword [rdi + 0x2c], eax
lea rbx, [rdi + 0x30]
mov qword [rdi], rbx
movsxd r14, r14d
cmp dword [rsi + 0x30], r15d
jle 0x14021fe6f
mov rdx, qword [rsi + 0x38]
mov rcx, rbx
mov r8, r14
mov r15, r10
call fcn.1402689f0
movsxd rax, r15d
lea rax, [rbx + rax*2]
jmp 0x14021ff0b
mov dword [rsi], 7
mov rsi, qword [rsp + 0x30]
mov dword [rsi + 0xc], 0xffffffff
movabs rax, 0xffffffff00000000
mov qword [rsi + 0x1c], rax
mov eax, dword [rsi + 0x24]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x34], eax
mov dword [rsi + 0x30], 0
mov rcx, qword [rsi + 0x38]
call fcn.1401e97a0
mov qword [rsi + 0x38], 0
jmp 0x14021fb29
mov rax, rbx
test r10d, r10d
jle 0x14021ff0b
mov ecx, r10d
and ecx, 3
cmp r10d, 4
jae 0x14021fe8e
xor edx, edx
mov rax, rbx
jmp 0x14021fee6
and r10d, 0xfffffffc
xor eax, eax
xor edx, edx
mov r9, qword [rsp + 0x30]
mov r8, qword [r9]
movzx r8d, word [r8 + rax*8]
mov word [rbx + rax], r8w
mov r8, qword [r9]
movzx r8d, word [r8 + rax*8 + 0x10]
mov word [rbx + rax + 2], r8w
mov r8, qword [r9]
movzx r8d, word [r8 + rax*8 + 0x20]
mov word [rbx + rax + 4], r8w
mov r8, qword [r9]
movzx r8d, word [r8 + rax*8 + 0x30]
mov word [rbx + rax + 6], r8w
add rdx, 0x10
add rax, 8
add r10d, 0xfffffffc
jne 0x14021fe9b
add rax, rbx
test ecx, ecx
mov rsi, qword [rsp + 0x30]
je 0x14021ff0b
shl rdx, 2
mov r8, qword [rsi]
movzx r8d, word [r8 + rdx]
mov word [rax], r8w
add rax, 2
add rdx, 0x10
dec ecx
jne 0x14021fef3
add rbx, r14
mov rdx, qword [rsi + 0x10]
cmp ebp, 2
je 0x14021ff8e
cmp ebp, 1
je 0x14021ffed
test ebp, ebp
jne 0x140220006
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x30]
mov r10d, dword [rcx + 0x1c]
test r10d, r10d
jle 0x140220006
cmp r10d, 0x14
jb 0x14021ff6a
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x140220046
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x140220046
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 0x14021ff77
jmp 0x140220006
mov qword [rdi + 8], rbx
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x1c]
test r8d, r8d
jle 0x140220006
cmp r8d, 0x14
jb 0x14021ffce
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x1402200b2
add rax, r14
add rax, rdi
add rax, 0x31
cmp rdx, rax
jae 0x1402200b2
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 0x14021ffd8
jmp 0x140220006
mov qword [rdi + 8], rbx
mov rax, qword [rsp + 0x30]
movsxd r8, dword [rax + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.1402689f0
mov rsi, qword [rsp + 0x30]
mov dword [rsi + 0xc], 0xffffffff
movabs rax, 0xffffffff00000000
mov qword [rsi + 0x1c], rax
mov eax, dword [rsi + 0x24]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x34], eax
mov dword [rsi + 0x30], 0
mov rcx, qword [rsi + 0x38]
call fcn.1401e97a0
mov qword [rsi + 0x38], 0
jmp 0x14021fb2b
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 0x140220066
cmp r11, r10
jne 0x14021ff73
jmp 0x140220006
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 [0x1402dd8c0]
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 0x1402200d9
cmp r9, r8
jne 0x14021ffd4
jmp 0x140220006
xor eax, eax
mov qword [rsp + 0x60], rax
mov rsi, qword [rsp + 0x88]
mov dword [rsi], 7
xor ecx, ecx
jmp 0x14021fac9