Function at 0x140218d70
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.140266280
sub rsp, rax
movdqa xmmword [rsp + 0x1e00], xmm7
movdqa xmmword [rsp + 0x1df0], xmm6
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x1de8], rax
cmp dword [r9], 0
jg 0x14021a312
cmp edx, 1
ja 0x140218e59
cmp r8d, 3
jae 0x140218e59
mov rbp, rcx
mov esi, edx
cmp r8d, 2
je 0x140218e65
test r8d, r8d
jne 0x140218ed7
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x140385890]
movq qword [rbp + 0x28], xmm0
movzx eax, word [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov ecx, dword [rbp + 0x30]
sar ecx, 4
test ecx, ecx
jle 0x140218e28
mov eax, ecx
cmp ecx, 1
jne 0x14021975a
xor ecx, ecx
test al, 1
je 0x140218e28
cmp byte [rbp + rcx + 0x40], 0
jne 0x140218e28
mov rax, qword [rbp]
movzx edx, word [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140218ed7
xor eax, eax
nop word cs:[rax + rax]
mov rcx, qword [rbp + 0x10]
movzx edx, word [rcx + rax*4]
mov dword [rcx + rax*4], edx
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x140218e40
jmp 0x140218ed7
mov dword [r9], 1
jmp 0x14021a312
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x1403858a0]
movq qword [rbp + 0x28], xmm0
movzx eax, byte [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov ecx, dword [rbp + 0x30]
sar ecx, 4
test ecx, ecx
jle 0x140218eab
mov eax, ecx
cmp ecx, 1
jne 0x1402197b0
xor ecx, ecx
test al, 1
je 0x140218eab
cmp byte [rbp + rcx + 0x40], 0
jne 0x140218eab
mov rax, qword [rbp]
movzx edx, byte [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140218ed7
xor eax, eax
nop word cs:[rax + rax]
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rcx + rax*4]
mov dword [rcx + rax*4], edx
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x140218ec0
mov eax, esi
test esi, esi
mov eax, 0x10000
mov r14d, 0x1000
cmove r14d, eax
mov r15d, dword [rbp + 0x30]
cmp r15d, 0x10ffff
jle 0x140218f17
cmp byte [rbp + 0x1103f], 0
je 0x140218f1d
mov rax, qword [rbp]
mov eax, dword [rax + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [rbp + 0x10]
jmp 0x140218f26
lea rax, [rbp + 0x34]
jmp 0x140218f26
mov eax, 0x43ffc
add rax, qword [rbp]
mov ecx, r14d
shr ecx, 4
mov qword [rsp + 0x58], rcx
mov eax, dword [rax]
mov dword [rbp + 0x34], eax
sar r15d, 4
test r15d, r15d
jle 0x14021901f
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x10]
mov r10d, r15d
shl r15d, 4
add r15d, 0x1ff
jmp 0x140218f79
cmp r11d, eax
jne 0x140218ff9
dec r10
add r15d, 0xfffffff0
lea r11, [r10 + 1]
cmp r11, 1
jbe 0x14021901f
cmp byte [rbp + r10 + 0x3f], 0
mov r11d, dword [rcx + r10*4 - 4]
je 0x140218f5b
cmp dword [rdx + r11*4], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 4], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 8], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0xc], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x10], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x14], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x18], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x1c], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x20], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x24], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x28], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x2c], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x30], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x34], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x38], eax
jne 0x140218ff9
cmp dword [rdx + r11*4 + 0x3c], eax
je 0x140218f64
and r15d, 0x7ffffe00
cmp r15d, 0x110000
jne 0x140219024
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x34], eax
mov r15d, 0x110000
mov edx, 0x110000
jmp 0x1402190a2
xor r15d, r15d
jmp 0x14021902c
mov edx, r15d
cmp r15d, r14d
jae 0x1402190a2
mov ecx, r15d
shr ecx, 4
mov rdx, qword [rsp + 0x58]
cmp ecx, edx
jae 0x14021909f
mov r10d, ecx
mov edx, edx
lea r11, [r10 + rbp]
add r11, 0x43
shl ecx, 2
sub rdx, r10
xor edi, edi
mov byte [r11 + rdi - 3], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4], eax
mov byte [r11 + rdi - 2], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4 + 4], eax
mov byte [r11 + rdi - 1], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4 + 8], eax
mov byte [r11 + rdi], 0
mov r10, qword [rbp]
add r10, rcx
mov dword [r10 + rdi*4 + 0xc], eax
add rdi, 4
cmp rdx, rdi
jne 0x140219050
mov edx, r14d
mov qword [rsp + 0x98], r9
lea r11, [rbp + 0x34]
mov dword [rbp + 0x30], edx
mov rax, qword [rbp]
mov rcx, qword [rbp + 0x10]
mov ebx, edx
xor edx, edx
jmp 0x1402190e6
mov r9d, edx
and r9d, 0xf
add r9d, dword [rax + r10*4]
lea r9, [rcx + r9*4]
mov r9d, dword [r9]
mov dword [rsp + rdx*4 + 0x2e0], r9d
inc rdx
cmp rdx, 0x80
je 0x140219103
mov r9, r11
cmp rdx, rbx
jae 0x1402190cf
mov r10d, edx
shr r10d, 4
cmp byte [rbp + r10 + 0x40], 0
jne 0x1402190c0
lea r9, [rax + r10*4]
jmp 0x1402190cf
mov qword [rsp + 0x108], r11
mov dword [rsp + 0xcc], r15d
mov dword [rsp + 0xb0], r14d
mov dword [rsp + 0xb4], esi
mov dword [rsp + 0x104], r8d
movabs rax, 0xffffffff00000000
mov qword [rsp + 0x158], rax
test rbx, rbx
mov qword [rsp + 0x40], rbp
je 0x1402195c4
shr ebx, 4
mov r15d, 0x40
mov r12d, 4
xor edi, edi
mov r13d, 0x94
mov r14d, reloc.WS2_32.dll_recv
mov r11d, 1
mov rsi, qword [rsp + 0x58]
jmp 0x1402191c7
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
add r13d, r15d
add edi, r12d
cmp edi, ebx
jge 0x1402195af
cmp edi, esi
cmove r15d, r14d
cmove r12d, r11d
mov rax, qword [rbp]
movsxd rcx, edi
mov edx, dword [rax + rcx*4]
cmp byte [rbp + rcx + 0x40], 1
jne 0x140219230
mov r8, qword [rbp + 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 0x14021921d
add rdx, 4
cmp rdx, r8
jb 0x140219210
cmp rdx, r8
jne 0x1402191b9
mov byte [rbp + rcx + 0x40], 0
mov rdx, qword [rbp]
mov dword [rdx + rcx*4], eax
jmp 0x140219292
cmp r12d, 2
jl 0x140219290
lea r8d, [r12 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x140219290
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x140219250
mov rcx, rbp
mov edx, edi
call fcn.14021be40
mov ecx, 0
test eax, eax
cmovns ecx, r15d
js 0x14021965f
add r13d, ecx
mov r11d, 1
jmp 0x1402191bc
mov eax, edx
mov edx, dword [rsp + 0x15c]
test edx, edx
js 0x1402192a6
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x1402192e3
movsxd r8, dword [rsp + 0x158]
test r8, r8
jle 0x140219180
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x1402192dc
inc rdx
cmp r9, rdx
jne 0x1402192c0
cmp r9d, 0x20
je 0x1402192fb
jmp 0x140219180
mov dword [rsp + 0x15c], edx
add dword [rsp + rdx*4 + 0x260], r12d
mov edx, dword [rsp + rdx*4 + 0x160]
cmp edx, 0xfffffffe
jne 0x1402194f4
test edi, edi
je 0x14021939e
mov r9, qword [rbp]
mov r8d, 4
xor edx, edx
jmp 0x140219327
add edx, r8d
cmp edx, edi
je 0x14021939e
cmp edx, esi
cmove r8d, r11d
movsxd r10, edx
cmp byte [rbp + r10 + 0x40], 0
jne 0x140219320
cmp dword [r9 + r10*4], eax
jne 0x140219320
mov r9d, dword [rsp + 0x158]
test r9d, r9d
jle 0x1402194b8
cmp r9d, 4
jae 0x14021950d
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
and r9d, 3
je 0x1402194be
nop word cs:[rax + rax]
mov esi, dword [rsp + r11*4 + 0x260]
cmp esi, ebp
cmovl r10d, r11d
cmovl ebp, esi
inc r11
dec r9
jne 0x140219380
jmp 0x1402194be
mov ecx, dword [rsp + 0x158]
test ecx, ecx
jle 0x1402193ca
cmp ecx, 4
jae 0x1402193d4
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
and ecx, 3
jne 0x140219480
jmp 0x14021949b
mov edx, 0xffffffff
jmp 0x14021949b
mov r10d, ecx
and r10d, 0x7ffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x1402193fc
mov r9d, esi
add r8, 4
cmp r8, r10
je 0x14021946d
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 0x140219430
mov r11d, r9d
jmp 0x140219434
lea edx, [r8 + 1]
mov esi, dword [rsp + r8*4 + 0x268]
cmp esi, r11d
jl 0x140219450
mov esi, r11d
jmp 0x140219454
lea edx, [r8 + 2]
mov r11d, 1
mov r9d, dword [rsp + r8*4 + 0x26c]
cmp r9d, esi
jge 0x1402193f0
lea edx, [r8 + 3]
jmp 0x1402193f3
mov rsi, qword [rsp + 0x58]
and ecx, 3
je 0x14021949b
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 0x140219480
mov dword [rsp + 0x15c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x160], edi
mov dword [rsp + rcx*4 + 0x1e0], eax
jmp 0x1402191b1
mov r10d, 0xffffffff
add r8d, r12d
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 + 0x40]
mov rsi, qword [rsp + 0x58]
mov r11d, 1
test edx, edx
js 0x1402191b9
mov byte [rbp + rcx + 0x40], 2
mov rax, qword [rbp]
mov dword [rax + rcx*4], edx
jmp 0x1402191bc
mov r10d, r9d
and r10d, 0x7ffffffc
mov qword [rsp + 0x60], r10
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
jmp 0x140219541
mov ebp, esi
add r11, 4
cmp r11, qword [rsp + 0x60]
je 0x140219367
mov r14, r13
mov esi, dword [rsp + r11*4 + 0x260]
cmp esi, ebp
cmovl r10d, r11d
mov r13d, dword [rsp + r11*4 + 0x264]
cmovl ebp, esi
cmp r13d, ebp
jl 0x140219570
mov r13d, ebp
jmp 0x140219574
lea r10d, [r11 + 1]
mov esi, dword [rsp + r11*4 + 0x268]
cmp esi, r13d
jl 0x140219590
mov esi, r13d
jmp 0x140219594
lea r10d, [r11 + 2]
mov r13, r14
mov ebp, dword [rsp + r11*4 + 0x26c]
cmp ebp, esi
mov r14d, reloc.WS2_32.dll_recv
jge 0x140219530
lea r10d, [r11 + 3]
jmp 0x140219532
mov rax, r13
mov qword [rsp + 0xa0], r13
test r13d, r13d
jns 0x1402195d6
jmp 0x14021965f
mov eax, 0x94
mov qword [rsp + 0xa0], rax
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0xa0]
lea ecx, [rax*4]
call fcn.1401e4f60
test rax, rax
je 0x14021965f
mov r13, rax
lea rdx, [rsp + 0x2e0]
mov r8d, 0x200
mov rcx, rax
call fcn.140269610
mov r8d, dword [rsp + 0x158]
test r8, r8
je 0x140219672
test r8d, r8d
jle 0x140219679
mov eax, r8d
and eax, 3
cmp r8d, 4
jae 0x140219800
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x14021965a
nop dword [rax]
mov r8d, dword [rsp + rcx*4 + 0x260]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x140219640
movsxd rax, edx
jmp 0x140219680
mov rax, qword [rsp + 0x98]
mov dword [rax], 7
jmp 0x14021a2dc
mov eax, 0xffffffff
jmp 0x140219687
mov rax, 0xffffffffffffffff
mov eax, dword [rsp + rax*4 + 0x160]
mov dword [rsp + 0xb8], eax
mov qword [rsp + 0x120], 0
mov rax, qword [rbp]
mov dword [rax], 0
mov rax, qword [rbp]
mov dword [rax + 0x10], 0x40
mov rax, qword [rsp + 0xa0]
cmp eax, 0x103e
ja 0x1402196eb
movabs rax, 0xfff0000000c
mov qword [rsp + 0x120], rax
mov r15d, 0x1777
mov dword [rsp + 0x3c], send
mov dword [rsp + 0x50], 0xfff
jmp 0x1402198bd
add eax, 0xffffffc0
cmp eax, 0x7ffe
ja 0x140219722
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x120], rax
mov r15d, 0xc365
mov dword [rsp + 0x3c], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x50], 0x7fff
jmp 0x1402198bd
cmp eax, 0x1fffe
ja 0x140219895
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x120], rax
mov r15d, 0x30d43
mov dword [rsp + 0x3c], send
mov dword [rsp + 0x50], 0x1ffff
jmp 0x1402198bd
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x140219791
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x14021979f
add rcx, 2
cmp rdx, rcx
je 0x140218e12
cmp byte [rbp + rcx + 0x40], 0
je 0x140219770
cmp byte [rbp + rcx + 0x41], 0
jne 0x140219784
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x140219784
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x1402197e1
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x1402197ef
add rcx, 2
cmp rdx, rcx
je 0x140218e95
cmp byte [rbp + rcx + 0x40], 0
je 0x1402197c0
cmp byte [rbp + rcx + 0x41], 0
jne 0x1402197d4
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x1402197d4
and r8d, 0x7ffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x140219830
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x140219634
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 0x140219860
mov r10d, r9d
jmp 0x140219863
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x268]
cmp r11d, r10d
jg 0x140219880
mov r11d, r10d
jmp 0x140219883
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x26c]
cmp r9d, r11d
jle 0x140219820
lea edx, [rcx + 3]
jmp 0x140219823
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x120], rax
mov r15d, 0x16e367
mov dword [rsp + 0x3c], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x50], 0x1fffff
xor ecx, ecx
call fcn.1401e5030
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e4f60
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021a298
mov dword [rsp + 0x118], r15d
mov dword [rsp + 0x11c], r15d
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140269450
mov dword [rsp + 0x128], 0x40
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov r9d, 0x80
call fcn.14021c020
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x78], eax
cmp eax, 9
jl 0x14021a2ac
mov r10, qword [rsp + 0xa0]
lea eax, [r10 - 0x10]
xor ecx, ecx
cmp r10d, 0x100f
setae cl
mov edx, 0xfff
mov r8d, 0x7fff
cmovb r8d, edx
mov edx, 0x1777
mov r9d, 0xc365
cmovb 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]
cmovb ecx, eax
mov dword [rsp + 0x6c], ecx
cmovb r11d, r8d
mov dword [rsp + 0x80], r11d
cmovb edi, r9d
mov qword [rsp + 0xc0], rdi
lea eax, [rdi*4]
mov qword [rsp + 0x70], rax
mov eax, esi
mov qword [rsp + 0x60], rax
lea rax, [r13 + 4]
mov qword [rsp + 0xf0], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0xd8], rax
lea rax, [r13 + 0xc]
mov qword [rsp + 0xd0], rax
mov edx, 4
mov edi, 8
mov eax, 0x80
mov qword [rsp + 0x30], rax
mov eax, 0x40
mov qword [rsp + 0x48], rax
mov eax, r15d
mov dword [rsp + 0xa8], r15d
mov dword [rsp + 0x68], 0
mov r8, rbx
jmp 0x140219a5b
mov rax, qword [rbp]
mov ecx, dword [rax + r12*4]
mov ecx, dword [rax + rcx*4]
mov dword [rax + r12*4], ecx
add edi, edx
cmp edi, dword [rsp + 0x78]
jge 0x14021a2b9
cmp edi, esi
jne 0x140219b32
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x124], eax
mov r15, qword [rsp + 0xc0]
cmp r15d, dword [rsp + 0xa8]
jle 0x140219ac7
mov rcx, r8
call fcn.1401e5030
mov rcx, qword [rsp + 0x70]
call fcn.1401e4f60
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021a298
mov r8, rax
mov dword [rsp + 0x118], r15d
mov eax, r15d
mov dword [rsp + 0xa8], r15d
mov dword [rsp + 0x11c], r15d
mov rcx, r8
xor edx, edx
mov r14, r8
mov r8, qword [rsp + 0x70]
call fcn.140269450
mov dword [rsp + 0x128], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, ebx
call fcn.14021c020
mov r8, r14
mov edx, 1
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x3c], eax
mov eax, ebx
mov dword [rsp + 0x68], ebx
movsxd r12, edi
movzx eax, byte [rbp + r12 + 0x40]
cmp eax, 1
je 0x140219c90
test eax, eax
jne 0x140219a40
mov dword [rsp + 0x88], edx
mov r10, qword [rbp]
mov r9d, dword [r10 + r12*4]
mov rax, qword [rsp + 0x48]
lea ecx, [rax - 1]
lea edx, [rax - 2]
mov eax, r9d
cmp edx, 7
jb 0x140219bdd
mov edx, ecx
and edx, 0xfffffff8
mov eax, r9d
nop word cs:[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 0x140219b80
and ecx, 7
je 0x140219bfd
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x140219bf0
mov r11d, eax
mov ecx, dword [rsp + 0x3c]
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 0x140219e12
mov ebx, dword [rsp + 0x50]
not ebx
mov r14d, dword [rsp + 0x48]
mov edx, ecx
jmp 0x140219c51
cmp rax, rsi
je 0x140219e16
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140219e14
mov esi, eax
and esi, ebx
cmp esi, r11d
jne 0x140219c39
and eax, dword [rsp + 0x50]
cdqe
lea rsi, [rax*4]
add rsi, r13
lea rax, [rax*4 - 4]
add rax, r13
lea rsi, [rsi + r14*4]
add rsi, 0xfffffffffffffffc
nop
cmp dword [rax], r9d
jne 0x140219c30
add rax, 4
cmp rax, rsi
jb 0x140219c80
jmp 0x140219c30
mov dword [rsp + 0x88], edx
mov rax, qword [rbp]
mov r10, qword [rbp + 0x10]
mov qword [rsp + 0xe8], rax
mov esi, dword [rax + r12*4]
mov eax, dword [r10 + rsi*4]
mov rcx, qword [rsp + 0x48]
cmp ecx, 3
mov r9d, 2
cmovge r9d, ecx
lea rcx, [r9 - 1]
add r9, 0xfffffffffffffffe
mov edx, 1
cmp r9, 3
jb 0x140219d2b
mov r11, rcx
and r11, 0xfffffffffffffffc
lea rbx, [r10 + rsi*4]
add rbx, 0x10
xor edx, edx
nop word cs:[rax + rax]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [rbx + rdx*4 - 0xc]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [rbx + rdx*4 - 8]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [rbx + rdx*4 - 4]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [rbx + rdx*4]
add rdx, 4
cmp r11, rdx
jne 0x140219cf0
inc rdx
and ecx, 3
je 0x140219d64
lea r9, [rsi*4]
lea rdx, [r9 + rdx*4]
add rdx, r10
xor r11d, r11d
nop word cs:[rax + rax]
lea r9d, [rax + rax*8]
lea eax, [rax + r9*4]
add eax, dword [rdx + r11*4]
inc r11
cmp rcx, r11
jne 0x140219d50
mov qword [rsp + 0x90], r10
mov qword [rsp + 0xe0], rsi
lea r11, [r10 + rsi*4]
mov ebp, eax
mov ecx, dword [rsp + 0x3c]
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 0x140219f18
mov r14d, dword [rsp + 0x50]
not r14d
mov rdx, qword [rsp + 0x48]
lea ebx, [rdx + 1]
mov edx, ecx
jmp 0x140219dc8
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140219f1a
mov r9d, eax
and r9d, r14d
cmp r9d, ebp
jne 0x140219db0
and eax, dword [rsp + 0x50]
dec eax
cdqe
lea rax, [rax*4]
add rax, r13
mov esi, ebx
xor r9d, r9d
nop dword [rax + rax]
mov r10d, dword [rax + r9]
cmp r10d, dword [r11 + r9]
jne 0x140219db0
add r9, 4
dec esi
cmp esi, 1
jg 0x140219df0
test edx, edx
jns 0x140219f20
jmp 0x140219f50
mov edx, ecx
not edx
test edx, edx
mov rsi, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xb8]
js 0x140219e34
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x50]
dec eax
jmp 0x140219e39
mov eax, 0xffffffff
mov r11d, eax
shr r11d, 0x1f
cmp edi, ecx
jne 0x14021a16e
cmp edi, esi
jl 0x14021a16e
test eax, eax
js 0x14021a16e
cmp eax, dword [rsp + 0x68]
jge 0x14021a16e
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
sub ecx, edx
mov r11d, edx
mov edx, 1
sub rdx, r11
xor r11d, r11d
nop dword [rax]
cmp dword [r10 + r11*4], eax
je 0x140219e96
add r11, 4
cmp r11, qword [rsp + 0x60]
jb 0x140219e80
jmp 0x14021a1b7
cmp ecx, eax
jle 0x14021a173
mov r11d, eax
jmp 0x140219eb4
add r11d, esi
mov eax, r11d
mov r11d, eax
cmp eax, ecx
jge 0x14021a173
lea eax, [r11 + 1]
movsxd rsi, r11d
cmp dword [r13 + rsi*4 + 4], r9d
jne 0x140219ea9
lea rbx, [rsi*4]
add rbx, r13
mov esi, 2
nop word cs:[rax + rax]
cmp dword [rbx + rsi*4], r9d
jne 0x140219ea3
lea r14, [rdx + rsi]
inc r14
inc rsi
cmp r14, 2
jne 0x140219ee0
cmp r11d, 0xffffffff
setl r11b
jl 0x14021a169
cmp eax, dword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
jl 0x140219e79
jmp 0x14021a16e
mov edx, ecx
not edx
test edx, edx
js 0x140219f50
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x50]
jle 0x140219f50
dec eax
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + r12*4], eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov edx, dword [rsp + 0x88]
jmp 0x140219a4f
mov ecx, dword [rsp + 0x48]
movsxd rax, dword [rsp + 0x30]
lea rdx, [rax*4]
lea r9, [rcx*4]
mov rbx, rdx
sub rbx, r9
add rbx, qword [rsp + 0xf0]
mov r14, rcx
mov qword [rsp + 0xf8], r8
mov rbp, r14
dec r14
mov esi, ebp
xor r9d, r9d
nop dword [rax]
mov r10d, dword [rbx + r9]
cmp r10d, dword [r11 + r9]
jne 0x140219fa7
add r9, 4
dec esi
cmp esi, 1
jg 0x140219f90
jmp 0x140219fb4
add rbx, 4
cmp rbp, 3
jge 0x140219f82
xor r14d, r14d
mov r8, qword [rsp + 0x30]
mov r9d, r8d
sub r9d, r14d
mov r10, qword [rsp + 0xe8]
mov dword [r10 + r12*4], r9d
mov ebx, r8d
cmp r14d, dword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
jge 0x14021a136
movsxd rbp, r14d
mov rbx, rcx
sub rbx, rbp
cmp rbx, 0x10
jb 0x14021a022
lea r8, [rax*4]
add r8, r13
mov r12, qword [rsp + 0xe0]
lea r9, [r12 + rbp]
mov r10, qword [rsp + 0x90]
lea r9, [r10 + r9*4]
sub r8, r9
cmp r8, 0x20
jae 0x14021a0d4
mov r8, rbp
mov rbp, qword [rsp + 0x40]
mov ebx, ecx
sub ebx, r8d
mov rdx, r8
and ebx, 3
je 0x14021a054
nop word [rax + rax]
mov r9d, dword [r11 + rdx*4]
inc rdx
mov dword [r13 + rax*4], r9d
inc rax
dec rbx
jne 0x14021a040
not r8
add r8, rcx
cmp r8, 3
jb 0x14021a134
mov r8, qword [rsp + 0xe0]
shl r8, 2
lea r8, [r8 + rdx*4]
mov r9, qword [rsp + 0x90]
add r8, r9
add r8, 0xc
sub rcx, rdx
mov rdx, qword [rsp + 0xd0]
lea r9, [rdx + rax*4]
xor edx, edx
nop word cs:[rax + rax]
mov r10d, dword [r8 + rdx*4 - 0xc]
mov dword [r9 + rdx*4 - 0xc], r10d
mov r10d, dword [r8 + rdx*4 - 8]
mov dword [r9 + rdx*4 - 8], r10d
mov r10d, dword [r8 + rdx*4 - 4]
mov dword [r9 + rdx*4 - 4], r10d
mov r10d, dword [r8 + rdx*4]
mov dword [r9 + rdx*4], r10d
add rdx, 4
cmp rcx, rdx
jne 0x14021a0a0
add rax, rdx
jmp 0x14021a134
mov r14, rbx
and r14, 0xfffffffffffffff8
lea r8, [r14 + rbp]
add rax, r14
add rdx, qword [rsp + 0xd8]
lea r9, [r12*4]
lea r9, [r9 + rbp*4]
add r9, r10
add r9, 0x10
xor esi, esi
nop
movdqu xmm0, xmmword [r9 + rsi*4 - 0x10]
movdqu xmm1, xmmword [r9 + rsi*4]
movdqu xmmword [rdx + rsi*4 - 0x10], xmm0
movdqu xmmword [rdx + rsi*4], xmm1
add rsi, 8
cmp r14, rsi
jne 0x14021a100
cmp rbx, r14
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
jne 0x14021a02a
mov ebx, eax
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r8, qword [rsp + 0x30]
mov r9d, ebx
call fcn.14021c020
mov eax, ebx
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0x88]
jmp 0x140219a4f
mov rsi, qword [rsp + 0x58]
test r11b, r11b
je 0x14021a1b7
mov r14, r8
mov r8, qword [rsp + 0x30]
lea edx, [r8 + 1]
mov ecx, edx
sub ecx, dword [rsp + 0x48]
movsxd rax, r8d
movsxd rcx, ecx
cmp r8d, ecx
mov r11d, ecx
cmovl r11d, r8d
mov rsi, rax
nop dword [rax + rax]
cmp rsi, rcx
jle 0x14021a1c7
lea rbx, [rsi - 1]
dec edx
cmp dword [r13 + rsi*4 - 4], r9d
mov rsi, rbx
je 0x14021a1a0
jmp 0x14021a1ca
mov dword [r10 + r12*4], eax
mov edx, dword [rsp + 0x88]
jmp 0x140219a4f
mov edx, r11d
mov r8, qword [rsp + 0x30]
mov ecx, r8d
sub ecx, edx
mov dword [r10 + r12*4], edx
mov ebx, r8d
cmp ecx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
jge 0x14021a271
add edx, dword [rsp + 0x48]
not r8d
add r8d, edx
cmp r8d, 7
jae 0x14021a1ff
mov rbx, rax
jmp 0x14021a24b
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 + 0xd8]
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 0x14021a230
cmp r8, rdx
je 0x14021a26c
mov rax, qword [rsp + 0x48]
sub eax, ecx
nop word cs:[rax + rax]
mov dword [r13 + rbx*4], r9d
inc rbx
dec eax
jne 0x14021a260
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r9d, ebx
call fcn.14021c020
mov qword [rsp + 0x30], rbx
mov r8, r14
mov edx, dword [rsp + 0x88]
jmp 0x140219a4f
mov r15, qword [rsp + 0x98]
mov dword [r15], 7
xor r8d, r8d
jmp 0x14021a2cb
mov eax, 0x80
mov qword [rsp + 0x30], rax
mov r8, rbx
mov r15, qword [rsp + 0x98]
cmp dword [r15], 0
jle 0x14021a387
xor r13d, r13d
mov rcx, r8
call fcn.1401e5030
cmp dword [r15], 0
jle 0x14021a34b
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.1401e5030
mov qword [rbp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.140265fa0
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 esi, dword [rsp + 0x104]
cmp esi, 1
jne 0x14021a3c7
mov eax, r13d
and eax, 1
je 0x14021a3c7
mov rax, qword [rbp + 0x38]
movsxd rcx, r13d
lea r14d, [r13*2 + 2]
lea edx, [r13 + 1]
mov word [rax + rcx*2], 0xffee
mov r13d, edx
mov ebx, dword [rsp + 0xb4]
jmp 0x14021a422
mov r12, r8
mov rcx, qword [rbp + 0x10]
call fcn.1401e5030
mov qword [rbp + 0x10], r13
mov rax, qword [rsp + 0xa0]
mov dword [rbp + 0x18], eax
mov rax, qword [rsp + 0x30]
mov dword [rbp + 0x1c], eax
cmp eax, 0x40010
jl 0x14021a479
mov dword [r15], 8
xor r13d, r13d
mov r8, r12
jmp 0x14021a2ce
lea r14d, [r13*2]
test esi, esi
mov ebx, dword [rsp + 0xb4]
je 0x14021a4a2
cmp esi, 1
je 0x14021a422
mov edx, dword [rbp + 0x1c]
movsxd r9, edx
lea eax, [r9 + r14]
mov ecx, eax
and ecx, 3
je 0x14021abc5
cmp ecx, 2
je 0x14021ac0d
cmp ecx, 3
jne 0x14021abe1
mov rax, qword [rbp + 0x10]
mov r8d, dword [rbp + 0x34]
cmp dword [rax + r9*4 - 4], r8d
jne 0x14021abec
jmp 0x14021ac29
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp + 0x1c]
movsxd r8, ecx
mov r10d, dword [rax + r8*4 - 4]
mov edx, dword [rbp + 0x2c]
mov r9d, dword [rbp + 0x34]
cmp r10d, edx
jne 0x14021a444
cmp dword [rax + r8*4 - 8], r9d
je 0x14021a470
cmp r10d, r9d
je 0x14021a45f
mov ecx, r8d
inc ecx
mov dword [rbp + 0x1c], ecx
mov dword [rax + r8*4], r9d
mov edx, dword [rbp + 0x2c]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp + 0x1c]
lea r8d, [rcx + 1]
mov dword [rbp + 0x1c], r8d
movsxd rcx, ecx
mov dword [rax + rcx*4], edx
mov ecx, dword [rbp + 0x1c]
lea eax, [r14 + rcx*4]
jmp 0x14021ac40
mov ecx, dword [rsp + 0xb8]
test ecx, ecx
mov r8, r12
js 0x14021a50d
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 0x14021a514
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
mov edx, eax
xor edx, r13d
test dl, 1
je 0x14021a4c6
cdqe
mov rdx, qword [rbp + 0x10]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rdx + rax*4], ecx
mov eax, dword [rbp + 0x1c]
mov rdx, qword [rbp + 0x10]
movsxd r8, eax
mov r9d, dword [rbp + 0x34]
cmp dword [rdx + r8*4 - 4], ecx
jne 0x14021a4df
cmp dword [rdx + r8*4 - 8], r9d
je 0x14021a503
lea eax, [r8 + 1]
mov dword [rbp + 0x1c], eax
mov dword [rdx + r8*4], r9d
mov eax, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rbp + 0x1c]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rcx + rdx*4], eax
mov eax, dword [rbp + 0x1c]
add eax, r13d
add eax, eax
jmp 0x14021ac40
mov dword [rbp + 0x20], 0xfffff
mov eax, dword [rsp + 0xb0]
mov r13d, eax
shr r13d, 6
mov eax, dword [rbp + 0x30]
sar eax, 6
cmp eax, r13d
jle 0x14021a5b8
dec esi
shr esi, 2
lea rax, [rsi*2 + 2]
mov r9d, 0xffffffff
xor ecx, ecx
xor edx, edx
jmp 0x14021a57e
mov r11d, r9d
lea r9d, [r8 + 0x10]
mov dword [r10 + rdx*8 + 4], r9d
lea r9d, [r8 + 0x20]
mov r10, qword [rbp]
mov dword [r10 + rdx*8 + 8], r9d
add r8d, 0x30
mov r9, qword [rbp]
mov dword [r9 + rdx*8 + 0xc], r8d
add rdx, 2
inc ecx
mov r9d, r11d
cmp rax, rdx
je 0x14021a5ce
mov r10, qword [rbp]
mov r8d, dword [r10 + rdx*8]
mov word [rsp + rdx + 0x15e0], r8w
mov r11d, 0xffffffff
cmp r8d, dword [rbp + 0x20]
jne 0x14021a54d
mov r11d, ecx
test r9d, r9d
js 0x14021a54d
cmp dword [rbp + 0xc], 0
jns 0x14021a54a
lea r11d, [r9 + 0x1f]
cmp r11d, ecx
jne 0x14021a54a
mov dword [rbp + 0xc], r9d
jmp 0x14021a54a
mov dword [rbp + 0xc], 0x7fff
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x14021a2ce
xor r14d, r14d
cmp dword [rsp + 0xb4], 0
sete r14b
mov dword [rsp + 0x60], 0
mov r8d, 0x5ddc
mov rcx, r12
xor edx, edx
call fcn.140269450
movdqa xmm0, xmmword [0x1403858b0]
movdqu xmmword [rsp + 0x11c], xmm0
mov qword [rsp + 0xc0], r13
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x15e0]
xor r8d, r8d
xor r9d, r9d
call fcn.14021c170
shl r14d, 0xc
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x30], eax
mov ecx, eax
mov eax, 0
sub ecx, r14d
mov qword [rsp + 0x50], rcx
jle 0x14021ab2d
mov edi, dword [rbp + 0xc]
mov ecx, r14d
movsxd rdx, dword [rsp + 0x30]
lea r8d, [r14*4]
xor eax, eax
movdqa xmm0, xmmword [0x1402c96d0]
mov dword [rsp + 0x60], 0
jmp 0x14021a699
mov byte [rbp + rcx + 0x40], 3
add eax, 0x24
mov r9b, 1
mov dword [rsp + 0x60], r9d
add rcx, 0x20
sub r8, 0xffffffffffffff80
cmp rcx, rdx
jge 0x14021ab2d
mov rbx, qword [rbp]
movd xmm1, dword [rbp + 0x20]
pshufd xmm3, xmm1, 0
movdqu xmm1, xmmword [rbx + rcx*4]
movdqu xmm4, xmmword [rbx + rcx*4 + 0x10]
movdqu xmm5, xmmword [rbx + rcx*4 + 0x20]
movdqu xmm2, xmmword [rbx + rcx*4 + 0x30]
movdqa xmm6, xmm4
por xmm6, xmm1
pcmpeqd xmm1, xmm3
pcmpeqd xmm4, xmm3
movdqa xmm7, xmm2
por xmm7, xmm5
pcmpeqd xmm5, xmm3
por xmm7, xmm6
pcmpeqd xmm2, xmm3
pand xmm2, xmm5
pand xmm2, xmm4
movdqu xmm5, xmmword [rbx + rcx*4 + 0x40]
movdqu xmm6, xmmword [rbx + rcx*4 + 0x50]
movdqa xmm4, xmm6
por xmm4, xmm5
pcmpeqd xmm5, xmm3
pcmpeqd xmm6, xmm3
pand xmm6, xmm5
movdqu xmm5, xmmword [rbx + rcx*4 + 0x60]
por xmm4, xmm5
por xmm4, xmm7
pcmpeqd xmm5, xmm3
movdqu xmm7, xmmword [rbx + rcx*4 + 0x70]
por xmm4, xmm7
pcmpeqd xmm7, xmm3
pand xmm7, xmm5
pand xmm7, xmm6
pand xmm7, xmm2
pand xmm7, xmm1
pand xmm7, xmm0
packuswb xmm7, xmm7
packuswb xmm7, xmm7
pshufd xmm1, xmm4, 0xee
por xmm1, xmm4
pshufd xmm2, xmm1, 0x55
por xmm2, xmm1
movd r9d, xmm2
movd r10d, xmm7
cmp r10d, 0x1010101
jne 0x14021a7ac
mov byte [rbp + rcx + 0x40], 0
test edi, edi
jns 0x14021a688
xor r10d, r10d
cmp r9d, 0x10000
setae r10b
mov r9d, dword [rsp + 0x60]
movzx r9d, r9b
mov r11d, 1
cmovae r9d, r11d
mov dword [rsp + 0x60], r9d
lea eax, [rax + r10*4]
add eax, 0x20
xor edi, edi
jmp 0x14021a688
cmp r9d, 0xffff
ja 0x14021a678
lea r13, [rcx*4]
mov r9d, dword [rbx + rcx*4]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 4
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 8
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0xc
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x10
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x14
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x18
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x1c
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x20
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x24
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x28
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x2c
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x30
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x34
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x38
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x3c
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x40
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x44
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x48
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x4c
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x50
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x54
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x58
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x5c
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x60
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x64
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x68
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x6c
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x70
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x74
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r9d, [r9 + r10*4]
mov r10, r13
or r10, 0x78
add r9d, dword [rbx + r10]
lea r10d, [r9 + r9*8]
lea r10d, [r9 + r10*4]
or r13, 0x7c
add r10d, dword [rbx + r13]
imul r9, r10, 0x574b4629
shr r9, 0x2b
imul r9d, r9d, 0x1776
mov ebp, r10d
sub ebp, r9d
inc ebp
mov r11d, dword [r12 + rbp*4]
test r11d, r11d
je 0x14021ab0c
shl r10d, 0xc
lea r9, [rbx + r8]
mov r13d, ebp
jmp 0x14021aa6d
add r13d, ebp
mov r11, r13
mov esi, 0xae8f1b93
imul r11, rsi
shr r11, 0x2c
imul r11d, r11d, 0x1777
sub r13d, r11d
mov r11d, dword [r12 + r13*4]
test r11d, r11d
je 0x14021ab0c
mov esi, r11d
and esi, 0xfffff000
cmp esi, r10d
jne 0x14021aa43
and r11d, 0xfff
lea r11, [rsp + r11*2]
add r11, 0x15de
xor r15d, r15d
movzx esi, word [r11 + r15*2]
cmp dword [r9 + r15*4], esi
jne 0x14021aa43
movzx esi, word [r11 + r15*2 + 2]
cmp dword [r9 + r15*4 + 4], esi
jne 0x14021aa43
movzx esi, word [r11 + r15*2 + 4]
cmp dword [r9 + r15*4 + 8], esi
jne 0x14021aa43
movzx esi, word [r11 + r15*2 + 6]
cmp dword [r9 + r15*4 + 0xc], esi
jne 0x14021aa43
add r15, 4
cmp r15d, 0x20
jne 0x14021aa90
test r13d, r13d
js 0x14021ab0c
mov r9d, r13d
mov r10d, dword [r12 + r9*4]
mov rbp, qword [rsp + 0x40]
lea r9, [rcx + rbp]
add r9, 0x40
mov r11d, 0xfff
and r10d, r11d
je 0x14021ab19
dec r10d
mov byte [r9], 1
mov dword [rbx + rcx*4], r10d
mov r15, qword [rsp + 0x98]
jmp 0x14021a688
mov rbp, qword [rsp + 0x40]
lea r9, [rcx + rbp]
add r9, 0x40
mov r15, qword [rsp + 0x98]
mov byte [r9], 2
add eax, 0x20
jmp 0x14021a688
mov rdi, qword [rsp + 0x50]
sar edi, 5
lea r12d, [rdi + 0x1f]
sar r12d, 5
mov rcx, qword [rsp + 0xc0]
lea esi, [r12 + rcx]
add edi, eax
add edi, esi
lea eax, [rdi*2 + 2]
movsxd rcx, eax
call fcn.1401e4f60
mov qword [rbp + 0x38], rax
test rax, rax
je 0x14021affb
mov ecx, dword [rsp + 0xb0]
mov r8d, ecx
shr r8d, 5
lea rdx, [rsp + 0x15e0]
mov rcx, rax
call fcn.140269610
cmp edi, 0x101e
jge 0x14021aba3
mov ebx, 0x1777
mov edx, 0xfff
mov ecx, listen
jmp 0x14021af97
lea eax, [rdi - 0x1f]
cmp eax, 0x7fff
jae 0x14021af6c
mov ebx, 0xc365
mov edx, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x14021af97
mov rdx, qword [rbp + 0x10]
mov r10d, dword [rdx + r9*4 - 4]
mov r8d, dword [rbp + 0x34]
cmp r10d, dword [rbp + 0x2c]
jne 0x14021abec
cmp dword [rdx + r9*4 - 8], r8d
jne 0x14021abec
jmp 0x14021ac40
mov rax, qword [rsp + 0x108]
mov r8d, dword [rax]
mov rax, qword [rbp + 0x10]
movsxd rdx, dword [rbp + 0x1c]
lea r9d, [rdx + 1]
mov dword [rbp + 0x1c], r9d
mov dword [rax + rdx*4], r8d
inc ecx
and ecx, 3
cmp ecx, 2
jne 0x14021abec
mov edx, dword [rbp + 0x1c]
mov eax, dword [rbp + 0x34]
mov rcx, qword [rbp + 0x10]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
movsxd rdx, edx
mov dword [rax + rdx*4], ecx
mov eax, dword [rbp + 0x1c]
add eax, r14d
add eax, 0x30
movsxd rcx, eax
call fcn.1401e4f60
test rax, rax
je 0x14021accd
mov rdi, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm0
movdqu xmmword [rax], xmm0
mov dword [rax + 0x10], r13d
mov eax, dword [rbp + 0x1c]
mov dword [rdi + 0x14], eax
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x18], eax
add eax, 0xfff
shr eax, 0xc
mov word [rdi + 0x1c], ax
mov byte [rdi + 0x1e], bl
mov byte [rdi + 0x1f], sil
movzx eax, word [rbp + 0xc]
mov word [rdi + 0x26], ax
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x28], eax
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x2c], eax
lea rbx, [rdi + 0x30]
mov qword [rdi], rbx
movsxd r14, r14d
mov eax, dword [rsp + 0xb0]
cmp dword [rbp + 0x30], eax
jle 0x14021acd9
mov rdx, qword [rbp + 0x38]
mov rcx, rbx
mov r8, r14
call fcn.140269610
movsxd rax, r13d
lea rax, [rbx + rax*2]
jmp 0x14021ad70
mov dword [r15], 7
jmp 0x14021a2dc
mov rax, rbx
test r13d, r13d
jle 0x14021ad70
mov ecx, r13d
and ecx, 3
cmp r13d, 4
jae 0x14021acf8
xor edx, edx
mov rax, rbx
jmp 0x14021ad4f
and r13d, 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 r13d, 0xfffffffc
jne 0x14021ad00
add rax, rbx
test ecx, ecx
je 0x14021ad70
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 0x14021ad57
add rbx, r14
mov rdx, qword [rbp + 0x10]
cmp esi, 2
je 0x14021ae04
cmp esi, 1
je 0x14021adee
test esi, esi
jne 0x14021ae55
mov qword [rdi + 8], rax
mov r10d, dword [rbp + 0x1c]
test r10d, r10d
jle 0x14021ae55
cmp r10d, 0x14
jb 0x14021adca
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x14021af00
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x14021af00
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 0x14021add7
jmp 0x14021ae55
mov qword [rdi + 8], rbx
movsxd r8, dword [rbp + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.140269610
jmp 0x14021ae55
mov qword [rdi + 8], rbx
mov r8d, dword [rbp + 0x1c]
test r8d, r8d
jle 0x14021ae55
cmp r8d, 0x14
jb 0x14021ae38
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x14021ae90
lea rcx, [rdi + r14]
add rax, rcx
add rax, 0x31
cmp rdx, rax
jae 0x14021ae90
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 0x14021ae42
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.1401e5030
mov qword [rbp + 0x38], 0
jmp 0x14021a314
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 [0x1402b4da0]
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 0x14021aeb7
cmp r9, r8
jne 0x14021ae3e
jmp 0x14021ae55
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 0x14021af20
cmp r11, r10
jne 0x14021add3
jmp 0x14021ae55
xor ecx, ecx
cmp eax, 0x1ffff
setae cl
lea ecx, [rcx*4 + 0x11]
mov eax, 0x1ffff
mov edx, 0x1fffff
cmovb edx, eax
mov eax, 0x30d43
mov ebx, 0x16e367
cmovb ebx, eax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x120], ecx
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x124], edx
mov r13, qword [rsp + 0x110]
cmp ebx, dword [rsp + 0x118]
jle 0x14021b00a
mov rcx, r13
call fcn.1401e5030
lea edi, [rbx*4]
mov rcx, rdi
call fcn.1401e4f60
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021affb
mov r13, rax
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0x118], ebx
jmp 0x14021b019
mov dword [r15], 7
xor r13d, r13d
jmp 0x14021be17
mov qword [rsp + 0xd0], r12
lea edi, [rbx*4]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x11c], ebx
xor r12d, r12d
mov rcx, r13
xor edx, edx
mov r8, rdi
call fcn.140269450
mov dword [rsp + 0x128], 0x20
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x13c], xmm0
movdqa xmmword [rsp + 0x130], xmm0
test byte [rsp + 0x60], 1
mov dword [rsp + 0x48], esi
mov qword [rsp + 0xa8], r13
jne 0x14021b09f
mov dword [rsp + 0x70], 0
xor eax, eax
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x90], 0
xor eax, eax
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xc0]
jmp 0x14021b1e9
mov rax, qword [rsp + 0x50]
cmp eax, 0x1021
jg 0x14021b0da
movabs rax, 0xfff0000000c
mov qword [rsp + 0x140], rax
mov esi, 0x1777
mov dword [rsp + 0x90], send
mov dword [rsp + 0x70], 0xfff
jmp 0x14021b16d
add eax, 0xffffffdd
cmp eax, 0x7ffe
ja 0x14021b110
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x140], rax
mov esi, 0xc365
mov dword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x70], 0x7fff
jmp 0x14021b16d
cmp eax, 0x1fffe
ja 0x14021b143
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x140], rax
mov esi, 0x30d43
mov dword [rsp + 0x90], send
mov dword [rsp + 0x70], 0x1ffff
jmp 0x14021b16d
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x140], rax
mov esi, 0x16e367
mov dword [rsp + 0x90], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x70], 0x1fffff
xor r13d, r13d
xor ecx, ecx
call fcn.1401e5030
mov rbx, rsi
lea edi, [rsi*4]
mov rcx, rdi
call fcn.1401e4f60
mov qword [rsp + 0x130], rax
test rax, rax
je 0x14021be2e
mov dword [rsp + 0x138], ebx
mov dword [rsp + 0x13c], ebx
mov rcx, rax
mov qword [rsp + 0x80], rax
xor edx, edx
mov r8, rdi
call fcn.140269450
mov dword [rsp + 0x148], 0x24
mov eax, 0x24
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xc0]
mov esi, dword [rsp + 0x48]
mov r13, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x30]
mov eax, dword [rbp + 0xc]
cmp edx, r14d
jle 0x14021ba68
mov qword [rsp + 0xe8], rbx
lea ecx, [rbx - 1]
mov dword [rsp + 0xf8], ecx
mov ecx, dword [rsp + 0x70]
not ecx
mov dword [rsp + 0x68], ecx
mov edi, r14d
mov ecx, r14d
not ecx
add edx, ecx
shr edx, 5
mov r12d, edx
inc r12d
mov rcx, qword [rsp + 0x58]
dec ecx
mov dword [rsp + 0xf0], ecx
mov ecx, dword [rsp + 0x3c]
not ecx
mov dword [rsp + 0x88], ecx
movsxd rcx, esi
mov qword [rsp + 0xd8], rcx
shl r14d, 2
mov rcx, qword [rsp + 0xb8]
inc ecx
mov dword [rsp + 0xe0], ecx
xor r15d, r15d
mov ecx, eax
mov r9d, esi
mov esi, eax
mov qword [rsp + 0x78], r12
jmp 0x14021b29a
mov esi, dword [rsp + 0x50]
mov word [rsp + r15*2 + 0x4e0], bp
inc r15
add rdi, 0x20
sub r14, 0xffffffffffffff80
cmp r15, r12
mov rbp, qword [rsp + 0x40]
je 0x14021ba6d
movzx edx, byte [rbp + rdi + 0x40]
test dl, dl
sete r8b
test esi, esi
sets r10b
cmp dword [rbp + 0x20], 0x10000
setl cl
xor cl, 3
movzx ecx, cl
test r8b, r10b
cmove ecx, edx
mov edx, 0
cmovne esi, edx
test cl, cl
mov dword [rsp + 0x50], esi
je 0x14021b3cf
movzx eax, cl
cmp eax, 2
je 0x14021b2f5
cmp eax, 1
jne 0x14021b3d9
mov rax, qword [rbp]
mov rsi, rbp
mov ebp, dword [rax + rdi*4]
jmp 0x14021ba2e
mov qword [rsp + 0x30], r9
movsxd r10, edi
shl r10, 2
mov r12, qword [rbp]
mov r8, qword [rbp + 0x38]
movsxd rdx, edi
mov eax, dword [r12 + rdx*4]
mov rcx, rdx
or rcx, 1
add edx, 0x20
movsxd rdx, edx
nop dword [rax]
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [r12 + rcx*4]
inc rcx
cmp rcx, rdx
jl 0x14021b320
mov r11d, eax
mov ecx, dword [rsp + 0x6c]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xf0]
lea ecx, [rdx + 1]
mov eax, dword [r13 + rdx*4 + 4]
test eax, eax
mov ebp, dword [rsp + 0x3c]
je 0x14021b634
add r10, r12
mov edx, ecx
jmp 0x14021b379
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x58]
mov eax, dword [r13 + rdx*4]
test eax, eax
je 0x14021b636
mov esi, eax
and esi, dword [rsp + 0x88]
cmp esi, r11d
jne 0x14021b362
and eax, ebp
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor ebx, ebx
movzx esi, word [rax + rbx*2]
cmp dword [r10 + rbx*4], esi
jne 0x14021b362
movzx esi, word [rax + rbx*2 + 2]
cmp dword [r10 + rbx*4 + 4], esi
jne 0x14021b362
movzx esi, word [rax + rbx*2 + 4]
cmp dword [r10 + rbx*4 + 8], esi
jne 0x14021b362
movzx esi, word [rax + rbx*2 + 6]
cmp dword [r10 + rbx*4 + 0xc], esi
jne 0x14021b362
add rbx, 4
cmp ebx, 0x20
jne 0x14021b393
jmp 0x14021b638
mov rsi, rbp
mov ebp, eax
jmp 0x14021ba2e
lea rax, [rdi + 0x20]
mov qword [rsp + 0x30], r9
movsxd r13, r9d
lea r9, [r13*2]
mov rcx, r9
mov rdx, rdi
nop word cs:[rax + rax]
mov r8, qword [rbp]
mov r10, qword [rbp + 0x38]
mov r8d, dword [r8 + rdx*4]
mov word [r10 + rcx + 2], r8w
shr r8d, 2
and r8d, 0xc000
mov r10, qword [rbp]
mov r11, qword [rbp + 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 [rbp]
mov r11, qword [rbp + 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 [rbp]
mov r11, qword [rbp + 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 [rbp]
mov r11, qword [rbp + 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 [rbp]
mov r11, qword [rbp + 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 [rbp]
mov r11, qword [rbp + 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 [rbp]
mov r11, qword [rbp + 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 [rbp + 0x38]
mov word [r8 + rcx], r10w
add rcx, 0x12
cmp rdx, rax
jb 0x14021b400
mov r8, qword [rbp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
lea edx, [rax + rcx]
lea ecx, [rax + 1]
lea rax, [r8 + r13*2]
mov qword [rsp + 0xa0], rax
movzx eax, word [r8 + r13*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 0x14021b550
mov r11d, eax
mov ecx, dword [rsp + 0x90]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xf8]
mov ecx, edx
inc ecx
movsxd rax, ecx
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax*4]
mov edx, ecx
test eax, eax
jne 0x14021b5bb
mov edx, ecx
not edx
jmp 0x14021b5f5
add edx, ecx
mov eax, edx
cdq
idiv dword [rsp + 0xe8]
movsxd rax, edx
mov r10, qword [rsp + 0x80]
mov eax, dword [r10 + rax*4]
test eax, eax
je 0x14021b598
mov esi, eax
and esi, dword [rsp + 0x68]
cmp esi, r11d
jne 0x14021b59c
test byte [rsp + 0x60], 1
je 0x14021b5f5
and eax, dword [rsp + 0x70]
dec eax
cdqe
mov esi, dword [rsp + 0xe0]
mov rbx, r8
movzx ebp, word [rbx + rax*2]
cmp bp, word [rbx + r9]
jne 0x14021b59c
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021b5df
test edx, edx
js 0x14021b618
mov eax, edx
mov rcx, qword [rsp + 0x80]
mov ebp, dword [rcx + rax*4]
and ebp, dword [rsp + 0x70]
jle 0x14021b618
dec ebp
mov r9, qword [rsp + 0x30]
jmp 0x14021ba1b
mov eax, dword [rsp + 0x48]
mov ebp, eax
mov rsi, qword [rsp + 0x30]
cmp esi, eax
jne 0x14021b704
lea r13d, [rsi + 0x24]
jmp 0x14021b9d1
mov edx, ecx
not edx
test edx, edx
mov r9, qword [rsp + 0x30]
js 0x14021b655
mov eax, edx
mov ebp, dword [r13 + rax*4]
and ebp, dword [rsp + 0x3c]
sub ebp, 1
jae 0x14021b6f5
mov ebp, dword [rsp + 0x48]
cmp r9d, ebp
jne 0x14021b672
mov rax, qword [rsp + 0xd8]
xor edx, edx
mov r11, qword [rsp + 0x78]
jmp 0x14021b7b1
movsxd rax, r9d
lea r10, [r8 + rax*2]
add r10, 0xffffffffffffffc2
add r12, r14
lea r11, [r8 + rax*2]
add r11, 0xffffffffffffffc4
mov ecx, 0x1f
mov ebx, 0x20
mov edx, ebx
xor esi, esi
movzx ebp, word [r10 + rsi]
cmp dword [r12 + rsi*2], ebp
jne 0x14021b6b1
add rsi, 2
dec edx
cmp edx, 1
jg 0x14021b696
jmp 0x14021b787
mov r9, qword [rsp + 0x30]
cmp rcx, 2
jb 0x14021ba54
lea rdx, [rcx - 1]
mov esi, ecx
xor r13d, r13d
movzx ebp, word [r11 + r13]
cmp dword [r12 + r13*2], ebp
jne 0x14021b6e4
add r13, 2
dec esi
cmp esi, 1
jg 0x14021b6c9
jmp 0x14021b799
add rcx, 0xfffffffffffffffe
add r10, 4
add ebx, 0xfffffffe
add r11, 4
jmp 0x14021b692
mov rsi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x78]
jmp 0x14021ba2e
mov ecx, 0x23
mov rdx, 0xffffffffffffffba
mov r11d, 0x24
mov rbx, 0xffffffffffffffbc
mov eax, r11d
mov rsi, qword [rsp + 0xa0]
movzx r10d, word [rsi + rdx]
cmp r10w, word [rsi]
jne 0x14021b740
add rsi, 2
dec eax
cmp eax, 1
jg 0x14021b728
jmp 0x14021b791
cmp rcx, 2
jb 0x14021ba5c
lea rax, [rcx - 1]
mov esi, ecx
mov rbp, qword [rsp + 0xa0]
movzx r10d, word [rbp + rbx]
cmp r10w, word [rbp]
jne 0x14021b775
add rbp, 2
dec esi
cmp esi, 1
jg 0x14021b758
jmp 0x14021b8bc
add rcx, 0xfffffffffffffffe
add rdx, 4
add r11d, 0xfffffffe
add rbx, 4
jmp 0x14021b71d
mov rdx, rcx
mov r9, qword [rsp + 0x30]
jmp 0x14021b79b
mov rax, rcx
jmp 0x14021b8be
mov ecx, edx
mov ebp, r9d
sub ebp, ecx
mov ebx, r9d
cmp ecx, 0x1f
mov r11, qword [rsp + 0x78]
jg 0x14021b854
mov r8d, edx
test dl, 1
jne 0x14021b7bb
jmp 0x14021b7e2
lea rcx, [r8 + 1]
shl r8, 2
mov r10, qword [rsp + 0x40]
add r8, qword [r10]
movzx r8d, word [r8 + rdi*4]
mov r10, qword [r10 + 0x38]
mov word [r10 + rax*2], r8w
inc rax
mov rbx, rax
mov r8, rcx
cmp rdx, 0x1f
je 0x14021b84b
mov r12, r9
lea rcx, [rax + rax]
lea rdx, [r14 + r8*4]
mov r9d, 0x20
sub r9, r8
xor r8d, r8d
mov rsi, qword [rsp + 0x40]
mov r10, qword [rsi]
add r10, rdx
movzx r10d, word [r10 + r8*4]
mov r11, qword [rsi + 0x38]
add r11, rcx
mov word [r11 + r8*2], r10w
mov r10, qword [rsi]
add r10, rdx
movzx r10d, word [r10 + r8*4 + 4]
mov r11, qword [rsi + 0x38]
add r11, rcx
mov word [r11 + r8*2 + 2], r10w
add r8, 2
cmp r9, r8
jne 0x14021b804
add rax, r8
mov rbx, rax
mov r9, r12
mov r11, qword [rsp + 0x78]
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x38]
mov qword [rsp + 0x30], r14
mov r14, r11
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x48]
mov r8d, r12d
mov r13, r9
call fcn.14021c170
test byte [rsp + 0x60], 1
jne 0x14021b88c
mov r9d, ebx
mov rsi, qword [rsp + 0x40]
jmp 0x14021b8af
mov rsi, qword [rsp + 0x40]
mov rdx, qword [rsi + 0x38]
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, r13d
call fcn.14021c170
mov r9d, ebx
mov r12, r14
mov r14, qword [rsp + 0x30]
jmp 0x14021ba26
mov ecx, eax
mov rdx, qword [rsp + 0x30]
mov ebp, edx
sub ebp, ecx
test ecx, ecx
jle 0x14021b90d
cmp ecx, 0x23
ja 0x14021b91b
mov ecx, eax
neg ecx
and ecx, 3
je 0x14021b928
lea rdx, [rax + rax]
neg rcx
xor r10d, r10d
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsi + 0x38]
lea r11, [r8 + r13*2]
movzx r11d, word [rdx + r11]
mov word [r8 + r13*2], r11w
inc r13
dec r10
cmp rcx, r10
jne 0x14021b8e8
mov r8, rax
sub r8, r10
jmp 0x14021b92b
mov rsi, qword [rsp + 0x30]
lea r13d, [rsi + 0x24]
jmp 0x14021b9d1
mov rsi, qword [rsp + 0x30]
mov r13d, esi
jmp 0x14021b9d1
mov r8d, eax
add rax, 0xffffffffffffffdf
cmp rax, 3
jb 0x14021b9c3
lea rax, [r13*2]
lea rcx, [r9 + r8*2]
mov edx, 0x24
sub rdx, r8
xor r8d, r8d
mov r11, qword [rsp + 0x40]
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx]
movzx r10d, word [r10 + r8*2]
add r9, rax
mov word [r9 + r8*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx]
add r10, 2
movzx r10d, word [r10 + r8*2]
lea r9, [r9 + rax + 2]
mov word [r9 + r8*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx + 4]
movzx r10d, word [r10 + r8*2]
lea r9, [r9 + rax + 4]
mov word [r9 + r8*2], r10w
mov r9, qword [r11 + 0x38]
lea r10, [r9 + rcx + 6]
movzx r10d, word [r10 + r8*2]
add r9, rax
add r9, 6
mov word [r9 + r8*2], r10w
add r8, 4
cmp rdx, r8
jne 0x14021b955
add r13, r8
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x38]
mov rsi, qword [rsp + 0x30]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov ebx, dword [rsp + 0x48]
mov r8d, ebx
mov r9d, esi
call fcn.14021c170
test byte [rsp + 0x60], 1
je 0x14021ba18
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x38]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x130]
mov r8d, ebx
mov r9d, esi
call fcn.14021c170
mov r9d, r13d
or ebp, 0x8000
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0xa8]
mov eax, dword [rsi + 0xc]
test eax, eax
jns 0x14021b274
mov esi, dword [rsp + 0x50]
test esi, esi
js 0x14021b278
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ebp
mov eax, ebp
jmp 0x14021b278
mov ebp, r9d
jmp 0x14021b666
mov rsi, qword [rsp + 0x30]
mov ebp, esi
jmp 0x14021b62b
mov r9d, esi
jmp 0x14021ba7d
mov r15, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test eax, eax
jns 0x14021ba88
mov dword [rbp + 0xc], 0x7fff
cmp r9d, 0x801e
jle 0x14021baa0
mov dword [r15], 8
xor r13d, r13d
jmp 0x14021be02
mov r13, r9
test r12d, r12d
jle 0x14021be02
movsxd rax, dword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov r15d, ecx
mov rax, qword [rsp + 0x58]
dec eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x3c]
not eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0xd0]
add rax, rax
lea rax, [rax + r15*2]
mov qword [rsp + 0x80], rax
lea eax, [r12 + 1]
mov dword [rsp + 0x68], eax
mov edi, 0x20
xor r14d, r14d
mov qword [rsp + 0x78], r12
jmp 0x14021bb53
mov ebx, r9d
mov rsi, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r8d, dword [rsp + 0x48]
call fcn.14021c170
mov r8, qword [rsi + 0x38]
mov r13d, ebx
mov r12, qword [rsp + 0x78]
mov word [r8 + r15*2], bp
inc r15
add r14d, edi
cmp r14d, r12d
mov rbp, qword [rsp + 0x40]
jge 0x14021be02
mov eax, r12d
sub eax, r14d
mov r8, qword [rbp + 0x38]
movsxd r12, r14d
cmp eax, edi
jge 0x14021bb7a
mov ecx, r13d
sub ecx, eax
cmp ecx, dword [rsp + 0x48]
jge 0x14021bc7c
mov edi, eax
jmp 0x14021bce9
lea edx, [r12 + 0x20]
lea ecx, [r12 + 1]
lea r10, [rsp + r12*2]
add r10, 0x4e0
movzx eax, word [rsp + r12*2 + 0x4e0]
movsxd rcx, ecx
movsxd rdx, edx
mov r9d, dword [rsp + 0x3c]
mov rbp, qword [rsp + 0x58]
nop dword [rax + rax]
lea r11d, [rax + rax*8]
lea r11d, [rax + r11*4]
movzx eax, word [rsp + rcx*2 + 0x4e0]
inc rcx
add eax, r11d
cmp rcx, rdx
jl 0x14021bbb0
mov r11d, eax
mov ecx, dword [rsp + 0x6c]
shl r11d, cl
xor edx, edx
div dword [rsp + 0x30]
lea ecx, [rdx + 1]
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + rdx*4 + 4]
mov edx, ecx
test eax, eax
jne 0x14021bc07
mov edx, ecx
not edx
jmp 0x14021bc5a
add edx, ecx
mov eax, edx
xor edx, edx
div ebp
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + rdx*4]
test eax, eax
je 0x14021bbef
mov esi, eax
and esi, dword [rsp + 0x50]
cmp esi, r11d
jne 0x14021bbf3
and eax, r9d
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor ebx, ebx
movzx esi, word [rax + rbx*2]
cmp si, word [r10 + rbx*2]
jne 0x14021bbf3
movzx esi, word [rax + rbx*2 + 2]
cmp si, word [r10 + rbx*2 + 2]
jne 0x14021bbf3
movzx esi, word [rax + rbx*2 + 4]
cmp si, word [r10 + rbx*2 + 4]
jne 0x14021bbf3
movzx esi, word [rax + rbx*2 + 6]
cmp si, word [r10 + rbx*2 + 6]
jne 0x14021bbf3
add rbx, 4
cmp ebx, 0x20
jne 0x14021bc1f
test edx, edx
js 0x14021bce9
mov eax, edx
mov rcx, qword [rsp + 0x60]
mov ebp, dword [rcx + rax*4]
and ebp, dword [rsp + 0x3c]
dec ebp
test ebp, ebp
jns 0x14021bb35
jmp 0x14021bce9
movsxd rdx, r14d
lea rdx, [rsp + rdx*2]
add rdx, 0x4e0
inc ecx
mov r9, qword [rsp + 0x80]
lea r10, [r8 + r9]
mov r11d, dword [rsp + 0x68]
sub r11d, r14d
mov rbp, qword [rsp + 0x88]
test eax, eax
jle 0x14021bcc9
mov esi, r11d
xor edi, edi
movzx ebx, word [r10 + rdi]
cmp bx, word [rdx + rdi]
jne 0x14021bccf
add rdi, 2
dec esi
cmp esi, 1
jg 0x14021bcb1
jmp 0x14021bcdf
je 0x14021bdf3
inc rbp
add r10, 2
cmp ecx, ebp
jne 0x14021bca8
jmp 0x14021bb73
mov edi, eax
test ebp, ebp
jns 0x14021bb35
xor eax, eax
cmp r13d, dword [rsp + 0x48]
je 0x14021bd55
cmp edi, 1
jle 0x14021bd46
lea rcx, [rsp + r12*2]
add rcx, 0x4e0
mov edx, edi
movsxd r10, r13d
add r10, r10
sub r10, rdx
sub r10, rdx
add r10, r8
add r10, 2
mov r11, rdx
dec rdx
mov esi, r11d
xor ebx, ebx
movzx ebp, word [r10 + rbx]
cmp bp, word [rcx + rbx]
jne 0x14021bd3a
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021bd22
jmp 0x14021bd53
add r10, 2
cmp r11, 3
jge 0x14021bd17
jmp 0x14021bd55
lea eax, [rdi - 1]
mov r9, r13
mov ebp, r9d
sub ebp, eax
jmp 0x14021bd65
mov eax, edx
mov r9, r13
mov ebp, r9d
sub ebp, eax
cmp eax, edi
jge 0x14021bb0d
movsxd rcx, eax
movsxd rbx, r9d
mov eax, edi
sub eax, ecx
test al, 1
jne 0x14021bd78
mov rax, rcx
jmp 0x14021bd99
lea rax, [rcx + 1]
lea rdx, [r12 + rcx]
movzx edx, word [rsp + rdx*2 + 0x4e0]
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 0x38]
mov word [r8 + rbx*2], dx
inc rbx
movsxd rdx, edi
mov r8, rdx
neg r8
xor rcx, r8
cmp rcx, 0xffffffffffffffff
mov rsi, qword [rsp + 0x40]
je 0x14021bde7
lea rcx, [rsp + 0x4e2]
lea rcx, [rcx + r12*2]
movzx r8d, word [rcx + rax*2 - 2]
mov r9, qword [rsi + 0x38]
mov word [r9 + rbx*2], r8w
movzx r8d, word [rcx + rax*2]
add rax, 2
mov r9, qword [rsi + 0x38]
mov word [r9 + rbx*2 + 2], r8w
add rbx, 2
cmp rdx, rax
jne 0x14021bdbc
mov r8, qword [rsi + 0x38]
mov r9, r13
jmp 0x14021bb15
xor edi, edi
test ebp, ebp
jns 0x14021bb35
jmp 0x14021bce9
mov rcx, qword [rsp + 0x130]
mov r15, qword [rsp + 0x98]
call fcn.1401e5030
mov r8, qword [rsp + 0x110]
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x14021a2ce
mov dword [r15], 7
xor ecx, ecx
jmp 0x14021be12