Function at 0x140218d60
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.140266270
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 0x14021a302
cmp edx, 1
ja 0x140218e49
cmp r8d, 3
jae 0x140218e49
mov rbp, rcx
mov esi, edx
cmp r8d, 2
je 0x140218e55
test r8d, r8d
jne 0x140218ec7
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 0x140218e18
mov eax, ecx
cmp ecx, 1
jne 0x14021974a
xor ecx, ecx
test al, 1
je 0x140218e18
cmp byte [rbp + rcx + 0x40], 0
jne 0x140218e18
mov rax, qword [rbp]
movzx edx, word [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140218ec7
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 0x140218e30
jmp 0x140218ec7
mov dword [r9], 1
jmp 0x14021a302
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 0x140218e9b
mov eax, ecx
cmp ecx, 1
jne 0x1402197a0
xor ecx, ecx
test al, 1
je 0x140218e9b
cmp byte [rbp + rcx + 0x40], 0
jne 0x140218e9b
mov rax, qword [rbp]
movzx edx, byte [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140218ec7
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 0x140218eb0
mov eax, esi
test esi, esi
mov eax, 0x10000
mov r14d, 0x1000
cmove r14d, eax
mov r15d, dword [rbp + 0x30]
cmp r15d, 0x10ffff
jle 0x140218f07
cmp byte [rbp + 0x1103f], 0
je 0x140218f0d
mov rax, qword [rbp]
mov eax, dword [rax + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [rbp + 0x10]
jmp 0x140218f16
lea rax, [rbp + 0x34]
jmp 0x140218f16
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 0x14021900f
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x10]
mov r10d, r15d
shl r15d, 4
add r15d, 0x1ff
jmp 0x140218f69
cmp r11d, eax
jne 0x140218fe9
dec r10
add r15d, 0xfffffff0
lea r11, [r10 + 1]
cmp r11, 1
jbe 0x14021900f
cmp byte [rbp + r10 + 0x3f], 0
mov r11d, dword [rcx + r10*4 - 4]
je 0x140218f4b
cmp dword [rdx + r11*4], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 4], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 8], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0xc], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x10], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x14], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x18], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x1c], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x20], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x24], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x28], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x2c], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x30], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x34], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x38], eax
jne 0x140218fe9
cmp dword [rdx + r11*4 + 0x3c], eax
je 0x140218f54
and r15d, 0x7ffffe00
cmp r15d, 0x110000
jne 0x140219014
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x34], eax
mov r15d, 0x110000
mov edx, 0x110000
jmp 0x140219092
xor r15d, r15d
jmp 0x14021901c
mov edx, r15d
cmp r15d, r14d
jae 0x140219092
mov ecx, r15d
shr ecx, 4
mov rdx, qword [rsp + 0x58]
cmp ecx, edx
jae 0x14021908f
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 0x140219040
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 0x1402190d6
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 0x1402190f3
mov r9, r11
cmp rdx, rbx
jae 0x1402190bf
mov r10d, edx
shr r10d, 4
cmp byte [rbp + r10 + 0x40], 0
jne 0x1402190b0
lea r9, [rax + r10*4]
jmp 0x1402190bf
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 0x1402195b4
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 0x1402191b7
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 0x14021959f
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 0x140219220
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 0x14021920d
add rdx, 4
cmp rdx, r8
jb 0x140219200
cmp rdx, r8
jne 0x1402191a9
mov byte [rbp + rcx + 0x40], 0
mov rdx, qword [rbp]
mov dword [rdx + rcx*4], eax
jmp 0x140219282
cmp r12d, 2
jl 0x140219280
lea r8d, [r12 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x140219280
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x140219240
mov rcx, rbp
mov edx, edi
call fcn.14021be30
mov ecx, 0
test eax, eax
cmovns ecx, r15d
js 0x14021964f
add r13d, ecx
mov r11d, 1
jmp 0x1402191ac
mov eax, edx
mov edx, dword [rsp + 0x15c]
test edx, edx
js 0x140219296
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x1402192d3
movsxd r8, dword [rsp + 0x158]
test r8, r8
jle 0x140219170
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x1402192cc
inc rdx
cmp r9, rdx
jne 0x1402192b0
cmp r9d, 0x20
je 0x1402192eb
jmp 0x140219170
mov dword [rsp + 0x15c], edx
add dword [rsp + rdx*4 + 0x260], r12d
mov edx, dword [rsp + rdx*4 + 0x160]
cmp edx, 0xfffffffe
jne 0x1402194e4
test edi, edi
je 0x14021938e
mov r9, qword [rbp]
mov r8d, 4
xor edx, edx
jmp 0x140219317
add edx, r8d
cmp edx, edi
je 0x14021938e
cmp edx, esi
cmove r8d, r11d
movsxd r10, edx
cmp byte [rbp + r10 + 0x40], 0
jne 0x140219310
cmp dword [r9 + r10*4], eax
jne 0x140219310
mov r9d, dword [rsp + 0x158]
test r9d, r9d
jle 0x1402194a8
cmp r9d, 4
jae 0x1402194fd
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
and r9d, 3
je 0x1402194ae
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 0x140219370
jmp 0x1402194ae
mov ecx, dword [rsp + 0x158]
test ecx, ecx
jle 0x1402193ba
cmp ecx, 4
jae 0x1402193c4
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
and ecx, 3
jne 0x140219470
jmp 0x14021948b
mov edx, 0xffffffff
jmp 0x14021948b
mov r10d, ecx
and r10d, 0x7ffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x1402193ec
mov r9d, esi
add r8, 4
cmp r8, r10
je 0x14021945d
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 0x140219420
mov r11d, r9d
jmp 0x140219424
lea edx, [r8 + 1]
mov esi, dword [rsp + r8*4 + 0x268]
cmp esi, r11d
jl 0x140219440
mov esi, r11d
jmp 0x140219444
lea edx, [r8 + 2]
mov r11d, 1
mov r9d, dword [rsp + r8*4 + 0x26c]
cmp r9d, esi
jge 0x1402193e0
lea edx, [r8 + 3]
jmp 0x1402193e3
mov rsi, qword [rsp + 0x58]
and ecx, 3
je 0x14021948b
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 0x140219470
mov dword [rsp + 0x15c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x160], edi
mov dword [rsp + rcx*4 + 0x1e0], eax
jmp 0x1402191a1
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 0x1402191a9
mov byte [rbp + rcx + 0x40], 2
mov rax, qword [rbp]
mov dword [rax + rcx*4], edx
jmp 0x1402191ac
mov r10d, r9d
and r10d, 0x7ffffffc
mov qword [rsp + 0x60], r10
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
jmp 0x140219531
mov ebp, esi
add r11, 4
cmp r11, qword [rsp + 0x60]
je 0x140219357
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 0x140219560
mov r13d, ebp
jmp 0x140219564
lea r10d, [r11 + 1]
mov esi, dword [rsp + r11*4 + 0x268]
cmp esi, r13d
jl 0x140219580
mov esi, r13d
jmp 0x140219584
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 0x140219520
lea r10d, [r11 + 3]
jmp 0x140219522
mov rax, r13
mov qword [rsp + 0xa0], r13
test r13d, r13d
jns 0x1402195c6
jmp 0x14021964f
mov eax, 0x94
mov qword [rsp + 0xa0], rax
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0xa0]
lea ecx, [rax*4]
call fcn.1401e4f50
test rax, rax
je 0x14021964f
mov r13, rax
lea rdx, [rsp + 0x2e0]
mov r8d, 0x200
mov rcx, rax
call fcn.140269600
mov r8d, dword [rsp + 0x158]
test r8, r8
je 0x140219662
test r8d, r8d
jle 0x140219669
mov eax, r8d
and eax, 3
cmp r8d, 4
jae 0x1402197f0
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x14021964a
nop dword [rax]
mov r8d, dword [rsp + rcx*4 + 0x260]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x140219630
movsxd rax, edx
jmp 0x140219670
mov rax, qword [rsp + 0x98]
mov dword [rax], 7
jmp 0x14021a2cc
mov eax, 0xffffffff
jmp 0x140219677
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 0x1402196db
movabs rax, 0xfff0000000c
mov qword [rsp + 0x120], rax
mov r15d, 0x1777
mov dword [rsp + 0x3c], send
mov dword [rsp + 0x50], 0xfff
jmp 0x1402198ad
add eax, 0xffffffc0
cmp eax, 0x7ffe
ja 0x140219712
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 0x1402198ad
cmp eax, 0x1fffe
ja 0x140219885
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x120], rax
mov r15d, 0x30d43
mov dword [rsp + 0x3c], send
mov dword [rsp + 0x50], 0x1ffff
jmp 0x1402198ad
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x140219781
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x14021978f
add rcx, 2
cmp rdx, rcx
je 0x140218e02
cmp byte [rbp + rcx + 0x40], 0
je 0x140219760
cmp byte [rbp + rcx + 0x41], 0
jne 0x140219774
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x140219774
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x1402197d1
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x1402197df
add rcx, 2
cmp rdx, rcx
je 0x140218e85
cmp byte [rbp + rcx + 0x40], 0
je 0x1402197b0
cmp byte [rbp + rcx + 0x41], 0
jne 0x1402197c4
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x1402197c4
and r8d, 0x7ffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x140219820
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x140219624
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 0x140219850
mov r10d, r9d
jmp 0x140219853
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x268]
cmp r11d, r10d
jg 0x140219870
mov r11d, r10d
jmp 0x140219873
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x26c]
cmp r9d, r11d
jle 0x140219810
lea edx, [rcx + 3]
jmp 0x140219813
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.1401e5020
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e4f50
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021a288
mov dword [rsp + 0x118], r15d
mov dword [rsp + 0x11c], r15d
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140269440
mov dword [rsp + 0x128], 0x40
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov r9d, 0x80
call fcn.14021c010
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x78], eax
cmp eax, 9
jl 0x14021a29c
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 0x140219a4b
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 0x14021a2a9
cmp edi, esi
jne 0x140219b22
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 0x140219ab7
mov rcx, r8
call fcn.1401e5020
mov rcx, qword [rsp + 0x70]
call fcn.1401e4f50
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021a288
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.140269440
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.14021c010
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 0x140219c80
test eax, eax
jne 0x140219a30
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 0x140219bcd
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 0x140219b70
and ecx, 7
je 0x140219bed
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x140219be0
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 0x140219e02
mov ebx, dword [rsp + 0x50]
not ebx
mov r14d, dword [rsp + 0x48]
mov edx, ecx
jmp 0x140219c41
cmp rax, rsi
je 0x140219e06
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140219e04
mov esi, eax
and esi, ebx
cmp esi, r11d
jne 0x140219c29
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 0x140219c20
add rax, 4
cmp rax, rsi
jb 0x140219c70
jmp 0x140219c20
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 0x140219d1b
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 0x140219ce0
inc rdx
and ecx, 3
je 0x140219d54
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 0x140219d40
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 0x140219f08
mov r14d, dword [rsp + 0x50]
not r14d
mov rdx, qword [rsp + 0x48]
lea ebx, [rdx + 1]
mov edx, ecx
jmp 0x140219db8
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140219f0a
mov r9d, eax
and r9d, r14d
cmp r9d, ebp
jne 0x140219da0
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 0x140219da0
add r9, 4
dec esi
cmp esi, 1
jg 0x140219de0
test edx, edx
jns 0x140219f10
jmp 0x140219f40
mov edx, ecx
not edx
test edx, edx
mov rsi, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xb8]
js 0x140219e24
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x50]
dec eax
jmp 0x140219e29
mov eax, 0xffffffff
mov r11d, eax
shr r11d, 0x1f
cmp edi, ecx
jne 0x14021a15e
cmp edi, esi
jl 0x14021a15e
test eax, eax
js 0x14021a15e
cmp eax, dword [rsp + 0x68]
jge 0x14021a15e
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 0x140219e86
add r11, 4
cmp r11, qword [rsp + 0x60]
jb 0x140219e70
jmp 0x14021a1a7
cmp ecx, eax
jle 0x14021a163
mov r11d, eax
jmp 0x140219ea4
add r11d, esi
mov eax, r11d
mov r11d, eax
cmp eax, ecx
jge 0x14021a163
lea eax, [r11 + 1]
movsxd rsi, r11d
cmp dword [r13 + rsi*4 + 4], r9d
jne 0x140219e99
lea rbx, [rsi*4]
add rbx, r13
mov esi, 2
nop word cs:[rax + rax]
cmp dword [rbx + rsi*4], r9d
jne 0x140219e93
lea r14, [rdx + rsi]
inc r14
inc rsi
cmp r14, 2
jne 0x140219ed0
cmp r11d, 0xffffffff
setl r11b
jl 0x14021a159
cmp eax, dword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
jl 0x140219e69
jmp 0x14021a15e
mov edx, ecx
not edx
test edx, edx
js 0x140219f40
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x50]
jle 0x140219f40
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 0x140219a3f
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 0x140219f97
add r9, 4
dec esi
cmp esi, 1
jg 0x140219f80
jmp 0x140219fa4
add rbx, 4
cmp rbp, 3
jge 0x140219f72
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 0x14021a126
movsxd rbp, r14d
mov rbx, rcx
sub rbx, rbp
cmp rbx, 0x10
jb 0x14021a012
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 0x14021a0c4
mov r8, rbp
mov rbp, qword [rsp + 0x40]
mov ebx, ecx
sub ebx, r8d
mov rdx, r8
and ebx, 3
je 0x14021a044
nop word [rax + rax]
mov r9d, dword [r11 + rdx*4]
inc rdx
mov dword [r13 + rax*4], r9d
inc rax
dec rbx
jne 0x14021a030
not r8
add r8, rcx
cmp r8, 3
jb 0x14021a124
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 0x14021a090
add rax, rdx
jmp 0x14021a124
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 0x14021a0f0
cmp rbx, r14
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
jne 0x14021a01a
mov ebx, eax
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r8, qword [rsp + 0x30]
mov r9d, ebx
call fcn.14021c010
mov eax, ebx
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0x88]
jmp 0x140219a3f
mov rsi, qword [rsp + 0x58]
test r11b, r11b
je 0x14021a1a7
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 0x14021a1b7
lea rbx, [rsi - 1]
dec edx
cmp dword [r13 + rsi*4 - 4], r9d
mov rsi, rbx
je 0x14021a190
jmp 0x14021a1ba
mov dword [r10 + r12*4], eax
mov edx, dword [rsp + 0x88]
jmp 0x140219a3f
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 0x14021a261
add edx, dword [rsp + 0x48]
not r8d
add r8d, edx
cmp r8d, 7
jae 0x14021a1ef
mov rbx, rax
jmp 0x14021a23b
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 0x14021a220
cmp r8, rdx
je 0x14021a25c
mov rax, qword [rsp + 0x48]
sub eax, ecx
nop word cs:[rax + rax]
mov dword [r13 + rbx*4], r9d
inc rbx
dec eax
jne 0x14021a250
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r9d, ebx
call fcn.14021c010
mov qword [rsp + 0x30], rbx
mov r8, r14
mov edx, dword [rsp + 0x88]
jmp 0x140219a3f
mov r15, qword [rsp + 0x98]
mov dword [r15], 7
xor r8d, r8d
jmp 0x14021a2bb
mov eax, 0x80
mov qword [rsp + 0x30], rax
mov r8, rbx
mov r15, qword [rsp + 0x98]
cmp dword [r15], 0
jle 0x14021a377
xor r13d, r13d
mov rcx, r8
call fcn.1401e5020
cmp dword [r15], 0
jle 0x14021a33b
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.1401e5020
mov qword [rbp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.140265f90
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 0x14021a3b7
mov eax, r13d
and eax, 1
je 0x14021a3b7
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 0x14021a412
mov r12, r8
mov rcx, qword [rbp + 0x10]
call fcn.1401e5020
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 0x14021a469
mov dword [r15], 8
xor r13d, r13d
mov r8, r12
jmp 0x14021a2be
lea r14d, [r13*2]
test esi, esi
mov ebx, dword [rsp + 0xb4]
je 0x14021a492
cmp esi, 1
je 0x14021a412
mov edx, dword [rbp + 0x1c]
movsxd r9, edx
lea eax, [r9 + r14]
mov ecx, eax
and ecx, 3
je 0x14021abb5
cmp ecx, 2
je 0x14021abfd
cmp ecx, 3
jne 0x14021abd1
mov rax, qword [rbp + 0x10]
mov r8d, dword [rbp + 0x34]
cmp dword [rax + r9*4 - 4], r8d
jne 0x14021abdc
jmp 0x14021ac19
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 0x14021a434
cmp dword [rax + r8*4 - 8], r9d
je 0x14021a460
cmp r10d, r9d
je 0x14021a44f
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 0x14021ac30
mov ecx, dword [rsp + 0xb8]
test ecx, ecx
mov r8, r12
js 0x14021a4fd
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 0x14021a504
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
mov edx, eax
xor edx, r13d
test dl, 1
je 0x14021a4b6
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 0x14021a4cf
cmp dword [rdx + r8*4 - 8], r9d
je 0x14021a4f3
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 0x14021ac30
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 0x14021a5a8
dec esi
shr esi, 2
lea rax, [rsi*2 + 2]
mov r9d, 0xffffffff
xor ecx, ecx
xor edx, edx
jmp 0x14021a56e
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 0x14021a5be
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 0x14021a53d
mov r11d, ecx
test r9d, r9d
js 0x14021a53d
cmp dword [rbp + 0xc], 0
jns 0x14021a53a
lea r11d, [r9 + 0x1f]
cmp r11d, ecx
jne 0x14021a53a
mov dword [rbp + 0xc], r9d
jmp 0x14021a53a
mov dword [rbp + 0xc], 0x7fff
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x14021a2be
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.140269440
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.14021c160
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 0x14021ab1d
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 0x14021a689
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 0x14021ab1d
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 0x14021a79c
mov byte [rbp + rcx + 0x40], 0
test edi, edi
jns 0x14021a678
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 0x14021a678
cmp r9d, 0xffff
ja 0x14021a668
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 0x14021aafc
shl r10d, 0xc
lea r9, [rbx + r8]
mov r13d, ebp
jmp 0x14021aa5d
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 0x14021aafc
mov esi, r11d
and esi, 0xfffff000
cmp esi, r10d
jne 0x14021aa33
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 0x14021aa33
movzx esi, word [r11 + r15*2 + 2]
cmp dword [r9 + r15*4 + 4], esi
jne 0x14021aa33
movzx esi, word [r11 + r15*2 + 4]
cmp dword [r9 + r15*4 + 8], esi
jne 0x14021aa33
movzx esi, word [r11 + r15*2 + 6]
cmp dword [r9 + r15*4 + 0xc], esi
jne 0x14021aa33
add r15, 4
cmp r15d, 0x20
jne 0x14021aa80
test r13d, r13d
js 0x14021aafc
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 0x14021ab09
dec r10d
mov byte [r9], 1
mov dword [rbx + rcx*4], r10d
mov r15, qword [rsp + 0x98]
jmp 0x14021a678
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 0x14021a678
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.1401e4f50
mov qword [rbp + 0x38], rax
test rax, rax
je 0x14021afeb
mov ecx, dword [rsp + 0xb0]
mov r8d, ecx
shr r8d, 5
lea rdx, [rsp + 0x15e0]
mov rcx, rax
call fcn.140269600
cmp edi, 0x101e
jge 0x14021ab93
mov ebx, 0x1777
mov edx, 0xfff
mov ecx, listen
jmp 0x14021af87
lea eax, [rdi - 0x1f]
cmp eax, 0x7fff
jae 0x14021af5c
mov ebx, 0xc365
mov edx, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x14021af87
mov rdx, qword [rbp + 0x10]
mov r10d, dword [rdx + r9*4 - 4]
mov r8d, dword [rbp + 0x34]
cmp r10d, dword [rbp + 0x2c]
jne 0x14021abdc
cmp dword [rdx + r9*4 - 8], r8d
jne 0x14021abdc
jmp 0x14021ac30
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 0x14021abdc
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.1401e4f50
test rax, rax
je 0x14021acbd
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 0x14021acc9
mov rdx, qword [rbp + 0x38]
mov rcx, rbx
mov r8, r14
call fcn.140269600
movsxd rax, r13d
lea rax, [rbx + rax*2]
jmp 0x14021ad60
mov dword [r15], 7
jmp 0x14021a2cc
mov rax, rbx
test r13d, r13d
jle 0x14021ad60
mov ecx, r13d
and ecx, 3
cmp r13d, 4
jae 0x14021ace8
xor edx, edx
mov rax, rbx
jmp 0x14021ad3f
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 0x14021acf0
add rax, rbx
test ecx, ecx
je 0x14021ad60
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 0x14021ad47
add rbx, r14
mov rdx, qword [rbp + 0x10]
cmp esi, 2
je 0x14021adf4
cmp esi, 1
je 0x14021adde
test esi, esi
jne 0x14021ae45
mov qword [rdi + 8], rax
mov r10d, dword [rbp + 0x1c]
test r10d, r10d
jle 0x14021ae45
cmp r10d, 0x14
jb 0x14021adba
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x14021aef0
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x14021aef0
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 0x14021adc7
jmp 0x14021ae45
mov qword [rdi + 8], rbx
movsxd r8, dword [rbp + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.140269600
jmp 0x14021ae45
mov qword [rdi + 8], rbx
mov r8d, dword [rbp + 0x1c]
test r8d, r8d
jle 0x14021ae45
cmp r8d, 0x14
jb 0x14021ae28
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x14021ae80
lea rcx, [rdi + r14]
add rax, rcx
add rax, 0x31
cmp rdx, rax
jae 0x14021ae80
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 0x14021ae32
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.1401e5020
mov qword [rbp + 0x38], 0
jmp 0x14021a304
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 0x14021aea7
cmp r9, r8
jne 0x14021ae2e
jmp 0x14021ae45
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 0x14021af10
cmp r11, r10
jne 0x14021adc3
jmp 0x14021ae45
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 0x14021affa
mov rcx, r13
call fcn.1401e5020
lea edi, [rbx*4]
mov rcx, rdi
call fcn.1401e4f50
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021afeb
mov r13, rax
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0x118], ebx
jmp 0x14021b009
mov dword [r15], 7
xor r13d, r13d
jmp 0x14021be07
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.140269440
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 0x14021b08f
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 0x14021b1d9
mov rax, qword [rsp + 0x50]
cmp eax, 0x1021
jg 0x14021b0ca
movabs rax, 0xfff0000000c
mov qword [rsp + 0x140], rax
mov esi, 0x1777
mov dword [rsp + 0x90], send
mov dword [rsp + 0x70], 0xfff
jmp 0x14021b15d
add eax, 0xffffffdd
cmp eax, 0x7ffe
ja 0x14021b100
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 0x14021b15d
cmp eax, 0x1fffe
ja 0x14021b133
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x140], rax
mov esi, 0x30d43
mov dword [rsp + 0x90], send
mov dword [rsp + 0x70], 0x1ffff
jmp 0x14021b15d
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.1401e5020
mov rbx, rsi
lea edi, [rsi*4]
mov rcx, rdi
call fcn.1401e4f50
mov qword [rsp + 0x130], rax
test rax, rax
je 0x14021be1e
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.140269440
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 0x14021ba58
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 0x14021b28a
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 0x14021ba5d
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 0x14021b3bf
movzx eax, cl
cmp eax, 2
je 0x14021b2e5
cmp eax, 1
jne 0x14021b3c9
mov rax, qword [rbp]
mov rsi, rbp
mov ebp, dword [rax + rdi*4]
jmp 0x14021ba1e
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 0x14021b310
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 0x14021b624
add r10, r12
mov edx, ecx
jmp 0x14021b369
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x58]
mov eax, dword [r13 + rdx*4]
test eax, eax
je 0x14021b626
mov esi, eax
and esi, dword [rsp + 0x88]
cmp esi, r11d
jne 0x14021b352
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 0x14021b352
movzx esi, word [rax + rbx*2 + 2]
cmp dword [r10 + rbx*4 + 4], esi
jne 0x14021b352
movzx esi, word [rax + rbx*2 + 4]
cmp dword [r10 + rbx*4 + 8], esi
jne 0x14021b352
movzx esi, word [rax + rbx*2 + 6]
cmp dword [r10 + rbx*4 + 0xc], esi
jne 0x14021b352
add rbx, 4
cmp ebx, 0x20
jne 0x14021b383
jmp 0x14021b628
mov rsi, rbp
mov ebp, eax
jmp 0x14021ba1e
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 0x14021b3f0
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 0x14021b540
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 0x14021b5ab
mov edx, ecx
not edx
jmp 0x14021b5e5
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 0x14021b588
mov esi, eax
and esi, dword [rsp + 0x68]
cmp esi, r11d
jne 0x14021b58c
test byte [rsp + 0x60], 1
je 0x14021b5e5
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 0x14021b58c
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021b5cf
test edx, edx
js 0x14021b608
mov eax, edx
mov rcx, qword [rsp + 0x80]
mov ebp, dword [rcx + rax*4]
and ebp, dword [rsp + 0x70]
jle 0x14021b608
dec ebp
mov r9, qword [rsp + 0x30]
jmp 0x14021ba0b
mov eax, dword [rsp + 0x48]
mov ebp, eax
mov rsi, qword [rsp + 0x30]
cmp esi, eax
jne 0x14021b6f4
lea r13d, [rsi + 0x24]
jmp 0x14021b9c1
mov edx, ecx
not edx
test edx, edx
mov r9, qword [rsp + 0x30]
js 0x14021b645
mov eax, edx
mov ebp, dword [r13 + rax*4]
and ebp, dword [rsp + 0x3c]
sub ebp, 1
jae 0x14021b6e5
mov ebp, dword [rsp + 0x48]
cmp r9d, ebp
jne 0x14021b662
mov rax, qword [rsp + 0xd8]
xor edx, edx
mov r11, qword [rsp + 0x78]
jmp 0x14021b7a1
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 0x14021b6a1
add rsi, 2
dec edx
cmp edx, 1
jg 0x14021b686
jmp 0x14021b777
mov r9, qword [rsp + 0x30]
cmp rcx, 2
jb 0x14021ba44
lea rdx, [rcx - 1]
mov esi, ecx
xor r13d, r13d
movzx ebp, word [r11 + r13]
cmp dword [r12 + r13*2], ebp
jne 0x14021b6d4
add r13, 2
dec esi
cmp esi, 1
jg 0x14021b6b9
jmp 0x14021b789
add rcx, 0xfffffffffffffffe
add r10, 4
add ebx, 0xfffffffe
add r11, 4
jmp 0x14021b682
mov rsi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x78]
jmp 0x14021ba1e
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 0x14021b730
add rsi, 2
dec eax
cmp eax, 1
jg 0x14021b718
jmp 0x14021b781
cmp rcx, 2
jb 0x14021ba4c
lea rax, [rcx - 1]
mov esi, ecx
mov rbp, qword [rsp + 0xa0]
movzx r10d, word [rbp + rbx]
cmp r10w, word [rbp]
jne 0x14021b765
add rbp, 2
dec esi
cmp esi, 1
jg 0x14021b748
jmp 0x14021b8ac
add rcx, 0xfffffffffffffffe
add rdx, 4
add r11d, 0xfffffffe
add rbx, 4
jmp 0x14021b70d
mov rdx, rcx
mov r9, qword [rsp + 0x30]
jmp 0x14021b78b
mov rax, rcx
jmp 0x14021b8ae
mov ecx, edx
mov ebp, r9d
sub ebp, ecx
mov ebx, r9d
cmp ecx, 0x1f
mov r11, qword [rsp + 0x78]
jg 0x14021b844
mov r8d, edx
test dl, 1
jne 0x14021b7ab
jmp 0x14021b7d2
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 0x14021b83b
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 0x14021b7f4
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.14021c160
test byte [rsp + 0x60], 1
jne 0x14021b87c
mov r9d, ebx
mov rsi, qword [rsp + 0x40]
jmp 0x14021b89f
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.14021c160
mov r9d, ebx
mov r12, r14
mov r14, qword [rsp + 0x30]
jmp 0x14021ba16
mov ecx, eax
mov rdx, qword [rsp + 0x30]
mov ebp, edx
sub ebp, ecx
test ecx, ecx
jle 0x14021b8fd
cmp ecx, 0x23
ja 0x14021b90b
mov ecx, eax
neg ecx
and ecx, 3
je 0x14021b918
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 0x14021b8d8
mov r8, rax
sub r8, r10
jmp 0x14021b91b
mov rsi, qword [rsp + 0x30]
lea r13d, [rsi + 0x24]
jmp 0x14021b9c1
mov rsi, qword [rsp + 0x30]
mov r13d, esi
jmp 0x14021b9c1
mov r8d, eax
add rax, 0xffffffffffffffdf
cmp rax, 3
jb 0x14021b9b3
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 0x14021b945
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.14021c160
test byte [rsp + 0x60], 1
je 0x14021ba08
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.14021c160
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 0x14021b264
mov esi, dword [rsp + 0x50]
test esi, esi
js 0x14021b268
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ebp
mov eax, ebp
jmp 0x14021b268
mov ebp, r9d
jmp 0x14021b656
mov rsi, qword [rsp + 0x30]
mov ebp, esi
jmp 0x14021b61b
mov r9d, esi
jmp 0x14021ba6d
mov r15, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test eax, eax
jns 0x14021ba78
mov dword [rbp + 0xc], 0x7fff
cmp r9d, 0x801e
jle 0x14021ba90
mov dword [r15], 8
xor r13d, r13d
jmp 0x14021bdf2
mov r13, r9
test r12d, r12d
jle 0x14021bdf2
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 0x14021bb43
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.14021c160
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 0x14021bdf2
mov eax, r12d
sub eax, r14d
mov r8, qword [rbp + 0x38]
movsxd r12, r14d
cmp eax, edi
jge 0x14021bb6a
mov ecx, r13d
sub ecx, eax
cmp ecx, dword [rsp + 0x48]
jge 0x14021bc6c
mov edi, eax
jmp 0x14021bcd9
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 0x14021bba0
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 0x14021bbf7
mov edx, ecx
not edx
jmp 0x14021bc4a
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 0x14021bbdf
mov esi, eax
and esi, dword [rsp + 0x50]
cmp esi, r11d
jne 0x14021bbe3
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 0x14021bbe3
movzx esi, word [rax + rbx*2 + 2]
cmp si, word [r10 + rbx*2 + 2]
jne 0x14021bbe3
movzx esi, word [rax + rbx*2 + 4]
cmp si, word [r10 + rbx*2 + 4]
jne 0x14021bbe3
movzx esi, word [rax + rbx*2 + 6]
cmp si, word [r10 + rbx*2 + 6]
jne 0x14021bbe3
add rbx, 4
cmp ebx, 0x20
jne 0x14021bc0f
test edx, edx
js 0x14021bcd9
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 0x14021bb25
jmp 0x14021bcd9
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 0x14021bcb9
mov esi, r11d
xor edi, edi
movzx ebx, word [r10 + rdi]
cmp bx, word [rdx + rdi]
jne 0x14021bcbf
add rdi, 2
dec esi
cmp esi, 1
jg 0x14021bca1
jmp 0x14021bccf
je 0x14021bde3
inc rbp
add r10, 2
cmp ecx, ebp
jne 0x14021bc98
jmp 0x14021bb63
mov edi, eax
test ebp, ebp
jns 0x14021bb25
xor eax, eax
cmp r13d, dword [rsp + 0x48]
je 0x14021bd45
cmp edi, 1
jle 0x14021bd36
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 0x14021bd2a
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021bd12
jmp 0x14021bd43
add r10, 2
cmp r11, 3
jge 0x14021bd07
jmp 0x14021bd45
lea eax, [rdi - 1]
mov r9, r13
mov ebp, r9d
sub ebp, eax
jmp 0x14021bd55
mov eax, edx
mov r9, r13
mov ebp, r9d
sub ebp, eax
cmp eax, edi
jge 0x14021bafd
movsxd rcx, eax
movsxd rbx, r9d
mov eax, edi
sub eax, ecx
test al, 1
jne 0x14021bd68
mov rax, rcx
jmp 0x14021bd89
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 0x14021bdd7
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 0x14021bdac
mov r8, qword [rsi + 0x38]
mov r9, r13
jmp 0x14021bb05
xor edi, edi
test ebp, ebp
jns 0x14021bb25
jmp 0x14021bcd9
mov rcx, qword [rsp + 0x130]
mov r15, qword [rsp + 0x98]
call fcn.1401e5020
mov r8, qword [rsp + 0x110]
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x14021a2be
mov dword [r15], 7
xor ecx, ecx
jmp 0x14021be02