Function at 0x140218d50
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.140266260
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 0x14021a2f2
cmp edx, 1
ja 0x140218e39
cmp r8d, 3
jae 0x140218e39
mov rbp, rcx
mov esi, edx
cmp r8d, 2
je 0x140218e45
test r8d, r8d
jne 0x140218eb7
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 0x140218e08
mov eax, ecx
cmp ecx, 1
jne 0x14021973a
xor ecx, ecx
test al, 1
je 0x140218e08
cmp byte [rbp + rcx + 0x40], 0
jne 0x140218e08
mov rax, qword [rbp]
movzx edx, word [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140218eb7
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 0x140218e20
jmp 0x140218eb7
mov dword [r9], 1
jmp 0x14021a2f2
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 0x140218e8b
mov eax, ecx
cmp ecx, 1
jne 0x140219790
xor ecx, ecx
test al, 1
je 0x140218e8b
cmp byte [rbp + rcx + 0x40], 0
jne 0x140218e8b
mov rax, qword [rbp]
movzx edx, byte [rax + rcx*4]
mov dword [rax + rcx*4], edx
cmp dword [rbp + 0x1c], 0
jle 0x140218eb7
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 0x140218ea0
mov eax, esi
test esi, esi
mov eax, 0x10000
mov r14d, 0x1000
cmove r14d, eax
mov r15d, dword [rbp + 0x30]
cmp r15d, 0x10ffff
jle 0x140218ef7
cmp byte [rbp + 0x1103f], 0
je 0x140218efd
mov rax, qword [rbp]
mov eax, dword [rax + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [rbp + 0x10]
jmp 0x140218f06
lea rax, [rbp + 0x34]
jmp 0x140218f06
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 0x140218fff
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x10]
mov r10d, r15d
shl r15d, 4
add r15d, 0x1ff
jmp 0x140218f59
cmp r11d, eax
jne 0x140218fd9
dec r10
add r15d, 0xfffffff0
lea r11, [r10 + 1]
cmp r11, 1
jbe 0x140218fff
cmp byte [rbp + r10 + 0x3f], 0
mov r11d, dword [rcx + r10*4 - 4]
je 0x140218f3b
cmp dword [rdx + r11*4], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 4], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 8], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0xc], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x10], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x14], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x18], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x1c], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x20], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x24], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x28], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x2c], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x30], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x34], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x38], eax
jne 0x140218fd9
cmp dword [rdx + r11*4 + 0x3c], eax
je 0x140218f44
and r15d, 0x7ffffe00
cmp r15d, 0x110000
jne 0x140219004
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x34], eax
mov r15d, 0x110000
mov edx, 0x110000
jmp 0x140219082
xor r15d, r15d
jmp 0x14021900c
mov edx, r15d
cmp r15d, r14d
jae 0x140219082
mov ecx, r15d
shr ecx, 4
mov rdx, qword [rsp + 0x58]
cmp ecx, edx
jae 0x14021907f
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 0x140219030
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 0x1402190c6
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 0x1402190e3
mov r9, r11
cmp rdx, rbx
jae 0x1402190af
mov r10d, edx
shr r10d, 4
cmp byte [rbp + r10 + 0x40], 0
jne 0x1402190a0
lea r9, [rax + r10*4]
jmp 0x1402190af
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 0x1402195a4
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 0x1402191a7
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 0x14021958f
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 0x140219210
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 0x1402191fd
add rdx, 4
cmp rdx, r8
jb 0x1402191f0
cmp rdx, r8
jne 0x140219199
mov byte [rbp + rcx + 0x40], 0
mov rdx, qword [rbp]
mov dword [rdx + rcx*4], eax
jmp 0x140219272
cmp r12d, 2
jl 0x140219270
lea r8d, [r12 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x140219270
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x140219230
mov rcx, rbp
mov edx, edi
call fcn.14021be20
mov ecx, 0
test eax, eax
cmovns ecx, r15d
js 0x14021963f
add r13d, ecx
mov r11d, 1
jmp 0x14021919c
mov eax, edx
mov edx, dword [rsp + 0x15c]
test edx, edx
js 0x140219286
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x1402192c3
movsxd r8, dword [rsp + 0x158]
test r8, r8
jle 0x140219160
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x1402192bc
inc rdx
cmp r9, rdx
jne 0x1402192a0
cmp r9d, 0x20
je 0x1402192db
jmp 0x140219160
mov dword [rsp + 0x15c], edx
add dword [rsp + rdx*4 + 0x260], r12d
mov edx, dword [rsp + rdx*4 + 0x160]
cmp edx, 0xfffffffe
jne 0x1402194d4
test edi, edi
je 0x14021937e
mov r9, qword [rbp]
mov r8d, 4
xor edx, edx
jmp 0x140219307
add edx, r8d
cmp edx, edi
je 0x14021937e
cmp edx, esi
cmove r8d, r11d
movsxd r10, edx
cmp byte [rbp + r10 + 0x40], 0
jne 0x140219300
cmp dword [r9 + r10*4], eax
jne 0x140219300
mov r9d, dword [rsp + 0x158]
test r9d, r9d
jle 0x140219498
cmp r9d, 4
jae 0x1402194ed
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
and r9d, 3
je 0x14021949e
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 0x140219360
jmp 0x14021949e
mov ecx, dword [rsp + 0x158]
test ecx, ecx
jle 0x1402193aa
cmp ecx, 4
jae 0x1402193b4
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
and ecx, 3
jne 0x140219460
jmp 0x14021947b
mov edx, 0xffffffff
jmp 0x14021947b
mov r10d, ecx
and r10d, 0x7ffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x1402193dc
mov r9d, esi
add r8, 4
cmp r8, r10
je 0x14021944d
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 0x140219410
mov r11d, r9d
jmp 0x140219414
lea edx, [r8 + 1]
mov esi, dword [rsp + r8*4 + 0x268]
cmp esi, r11d
jl 0x140219430
mov esi, r11d
jmp 0x140219434
lea edx, [r8 + 2]
mov r11d, 1
mov r9d, dword [rsp + r8*4 + 0x26c]
cmp r9d, esi
jge 0x1402193d0
lea edx, [r8 + 3]
jmp 0x1402193d3
mov rsi, qword [rsp + 0x58]
and ecx, 3
je 0x14021947b
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 0x140219460
mov dword [rsp + 0x15c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x160], edi
mov dword [rsp + rcx*4 + 0x1e0], eax
jmp 0x140219191
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 0x140219199
mov byte [rbp + rcx + 0x40], 2
mov rax, qword [rbp]
mov dword [rax + rcx*4], edx
jmp 0x14021919c
mov r10d, r9d
and r10d, 0x7ffffffc
mov qword [rsp + 0x60], r10
mov r10d, 0xffffffff
mov ebp, 0x11000
xor r11d, r11d
jmp 0x140219521
mov ebp, esi
add r11, 4
cmp r11, qword [rsp + 0x60]
je 0x140219347
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 0x140219550
mov r13d, ebp
jmp 0x140219554
lea r10d, [r11 + 1]
mov esi, dword [rsp + r11*4 + 0x268]
cmp esi, r13d
jl 0x140219570
mov esi, r13d
jmp 0x140219574
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 0x140219510
lea r10d, [r11 + 3]
jmp 0x140219512
mov rax, r13
mov qword [rsp + 0xa0], r13
test r13d, r13d
jns 0x1402195b6
jmp 0x14021963f
mov eax, 0x94
mov qword [rsp + 0xa0], rax
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0xa0]
lea ecx, [rax*4]
call fcn.1401e4f40
test rax, rax
je 0x14021963f
mov r13, rax
lea rdx, [rsp + 0x2e0]
mov r8d, 0x200
mov rcx, rax
call fcn.1402695f0
mov r8d, dword [rsp + 0x158]
test r8, r8
je 0x140219652
test r8d, r8d
jle 0x140219659
mov eax, r8d
and eax, 3
cmp r8d, 4
jae 0x1402197e0
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x14021963a
nop dword [rax]
mov r8d, dword [rsp + rcx*4 + 0x260]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x140219620
movsxd rax, edx
jmp 0x140219660
mov rax, qword [rsp + 0x98]
mov dword [rax], 7
jmp 0x14021a2bc
mov eax, 0xffffffff
jmp 0x140219667
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 0x1402196cb
movabs rax, 0xfff0000000c
mov qword [rsp + 0x120], rax
mov r15d, 0x1777
mov dword [rsp + 0x3c], send
mov dword [rsp + 0x50], 0xfff
jmp 0x14021989d
add eax, 0xffffffc0
cmp eax, 0x7ffe
ja 0x140219702
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 0x14021989d
cmp eax, 0x1fffe
ja 0x140219875
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x120], rax
mov r15d, 0x30d43
mov dword [rsp + 0x3c], send
mov dword [rsp + 0x50], 0x1ffff
jmp 0x14021989d
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x140219771
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x14021977f
add rcx, 2
cmp rdx, rcx
je 0x140218df2
cmp byte [rbp + rcx + 0x40], 0
je 0x140219750
cmp byte [rbp + rcx + 0x41], 0
jne 0x140219764
mov r10, qword [rbp]
movzx r11d, word [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x140219764
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x1402197c1
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4]
mov dword [r10 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x1402197cf
add rcx, 2
cmp rdx, rcx
je 0x140218e75
cmp byte [rbp + rcx + 0x40], 0
je 0x1402197a0
cmp byte [rbp + rcx + 0x41], 0
jne 0x1402197b4
mov r10, qword [rbp]
movzx r11d, byte [r10 + rcx*4 + 4]
mov dword [r10 + rcx*4 + 4], r11d
jmp 0x1402197b4
and r8d, 0x7ffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x140219810
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x140219614
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 0x140219840
mov r10d, r9d
jmp 0x140219843
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x268]
cmp r11d, r10d
jg 0x140219860
mov r11d, r10d
jmp 0x140219863
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x26c]
cmp r9d, r11d
jle 0x140219800
lea edx, [rcx + 3]
jmp 0x140219803
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.1401e5010
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401e4f40
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021a278
mov dword [rsp + 0x118], r15d
mov dword [rsp + 0x11c], r15d
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140269430
mov dword [rsp + 0x128], 0x40
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov r9d, 0x80
call fcn.14021c000
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x78], eax
cmp eax, 9
jl 0x14021a28c
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 0x140219a3b
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 0x14021a299
cmp edi, esi
jne 0x140219b12
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 0x140219aa7
mov rcx, r8
call fcn.1401e5010
mov rcx, qword [rsp + 0x70]
call fcn.1401e4f40
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021a278
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.140269430
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.14021c000
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 0x140219c70
test eax, eax
jne 0x140219a20
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 0x140219bbd
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 0x140219b60
and ecx, 7
je 0x140219bdd
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x140219bd0
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 0x140219df2
mov ebx, dword [rsp + 0x50]
not ebx
mov r14d, dword [rsp + 0x48]
mov edx, ecx
jmp 0x140219c31
cmp rax, rsi
je 0x140219df6
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140219df4
mov esi, eax
and esi, ebx
cmp esi, r11d
jne 0x140219c19
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 0x140219c10
add rax, 4
cmp rax, rsi
jb 0x140219c60
jmp 0x140219c10
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 0x140219d0b
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 0x140219cd0
inc rdx
and ecx, 3
je 0x140219d44
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 0x140219d30
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 0x140219ef8
mov r14d, dword [rsp + 0x50]
not r14d
mov rdx, qword [rsp + 0x48]
lea ebx, [rdx + 1]
mov edx, ecx
jmp 0x140219da8
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x140219efa
mov r9d, eax
and r9d, r14d
cmp r9d, ebp
jne 0x140219d90
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 0x140219d90
add r9, 4
dec esi
cmp esi, 1
jg 0x140219dd0
test edx, edx
jns 0x140219f00
jmp 0x140219f30
mov edx, ecx
not edx
test edx, edx
mov rsi, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xb8]
js 0x140219e14
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x50]
dec eax
jmp 0x140219e19
mov eax, 0xffffffff
mov r11d, eax
shr r11d, 0x1f
cmp edi, ecx
jne 0x14021a14e
cmp edi, esi
jl 0x14021a14e
test eax, eax
js 0x14021a14e
cmp eax, dword [rsp + 0x68]
jge 0x14021a14e
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 0x140219e76
add r11, 4
cmp r11, qword [rsp + 0x60]
jb 0x140219e60
jmp 0x14021a197
cmp ecx, eax
jle 0x14021a153
mov r11d, eax
jmp 0x140219e94
add r11d, esi
mov eax, r11d
mov r11d, eax
cmp eax, ecx
jge 0x14021a153
lea eax, [r11 + 1]
movsxd rsi, r11d
cmp dword [r13 + rsi*4 + 4], r9d
jne 0x140219e89
lea rbx, [rsi*4]
add rbx, r13
mov esi, 2
nop word cs:[rax + rax]
cmp dword [rbx + rsi*4], r9d
jne 0x140219e83
lea r14, [rdx + rsi]
inc r14
inc rsi
cmp r14, 2
jne 0x140219ec0
cmp r11d, 0xffffffff
setl r11b
jl 0x14021a149
cmp eax, dword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
jl 0x140219e59
jmp 0x14021a14e
mov edx, ecx
not edx
test edx, edx
js 0x140219f30
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x50]
jle 0x140219f30
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 0x140219a2f
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 0x140219f87
add r9, 4
dec esi
cmp esi, 1
jg 0x140219f70
jmp 0x140219f94
add rbx, 4
cmp rbp, 3
jge 0x140219f62
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 0x14021a116
movsxd rbp, r14d
mov rbx, rcx
sub rbx, rbp
cmp rbx, 0x10
jb 0x14021a002
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 0x14021a0b4
mov r8, rbp
mov rbp, qword [rsp + 0x40]
mov ebx, ecx
sub ebx, r8d
mov rdx, r8
and ebx, 3
je 0x14021a034
nop word [rax + rax]
mov r9d, dword [r11 + rdx*4]
inc rdx
mov dword [r13 + rax*4], r9d
inc rax
dec rbx
jne 0x14021a020
not r8
add r8, rcx
cmp r8, 3
jb 0x14021a114
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 0x14021a080
add rax, rdx
jmp 0x14021a114
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 0x14021a0e0
cmp rbx, r14
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
jne 0x14021a00a
mov ebx, eax
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r8, qword [rsp + 0x30]
mov r9d, ebx
call fcn.14021c000
mov eax, ebx
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0x88]
jmp 0x140219a2f
mov rsi, qword [rsp + 0x58]
test r11b, r11b
je 0x14021a197
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 0x14021a1a7
lea rbx, [rsi - 1]
dec edx
cmp dword [r13 + rsi*4 - 4], r9d
mov rsi, rbx
je 0x14021a180
jmp 0x14021a1aa
mov dword [r10 + r12*4], eax
mov edx, dword [rsp + 0x88]
jmp 0x140219a2f
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 0x14021a251
add edx, dword [rsp + 0x48]
not r8d
add r8d, edx
cmp r8d, 7
jae 0x14021a1df
mov rbx, rax
jmp 0x14021a22b
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 0x14021a210
cmp r8, rdx
je 0x14021a24c
mov rax, qword [rsp + 0x48]
sub eax, ecx
nop word cs:[rax + rax]
mov dword [r13 + rbx*4], r9d
inc rbx
dec eax
jne 0x14021a240
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r9d, ebx
call fcn.14021c000
mov qword [rsp + 0x30], rbx
mov r8, r14
mov edx, dword [rsp + 0x88]
jmp 0x140219a2f
mov r15, qword [rsp + 0x98]
mov dword [r15], 7
xor r8d, r8d
jmp 0x14021a2ab
mov eax, 0x80
mov qword [rsp + 0x30], rax
mov r8, rbx
mov r15, qword [rsp + 0x98]
cmp dword [r15], 0
jle 0x14021a367
xor r13d, r13d
mov rcx, r8
call fcn.1401e5010
cmp dword [r15], 0
jle 0x14021a32b
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.1401e5010
mov qword [rbp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.140265f80
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 0x14021a3a7
mov eax, r13d
and eax, 1
je 0x14021a3a7
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 0x14021a402
mov r12, r8
mov rcx, qword [rbp + 0x10]
call fcn.1401e5010
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 0x14021a459
mov dword [r15], 8
xor r13d, r13d
mov r8, r12
jmp 0x14021a2ae
lea r14d, [r13*2]
test esi, esi
mov ebx, dword [rsp + 0xb4]
je 0x14021a482
cmp esi, 1
je 0x14021a402
mov edx, dword [rbp + 0x1c]
movsxd r9, edx
lea eax, [r9 + r14]
mov ecx, eax
and ecx, 3
je 0x14021aba5
cmp ecx, 2
je 0x14021abed
cmp ecx, 3
jne 0x14021abc1
mov rax, qword [rbp + 0x10]
mov r8d, dword [rbp + 0x34]
cmp dword [rax + r9*4 - 4], r8d
jne 0x14021abcc
jmp 0x14021ac09
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 0x14021a424
cmp dword [rax + r8*4 - 8], r9d
je 0x14021a450
cmp r10d, r9d
je 0x14021a43f
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 0x14021ac20
mov ecx, dword [rsp + 0xb8]
test ecx, ecx
mov r8, r12
js 0x14021a4ed
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 0x14021a4f4
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
mov edx, eax
xor edx, r13d
test dl, 1
je 0x14021a4a6
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 0x14021a4bf
cmp dword [rdx + r8*4 - 8], r9d
je 0x14021a4e3
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 0x14021ac20
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 0x14021a598
dec esi
shr esi, 2
lea rax, [rsi*2 + 2]
mov r9d, 0xffffffff
xor ecx, ecx
xor edx, edx
jmp 0x14021a55e
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 0x14021a5ae
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 0x14021a52d
mov r11d, ecx
test r9d, r9d
js 0x14021a52d
cmp dword [rbp + 0xc], 0
jns 0x14021a52a
lea r11d, [r9 + 0x1f]
cmp r11d, ecx
jne 0x14021a52a
mov dword [rbp + 0xc], r9d
jmp 0x14021a52a
mov dword [rbp + 0xc], 0x7fff
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x14021a2ae
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.140269430
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.14021c150
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 0x14021ab0d
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 0x14021a679
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 0x14021ab0d
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 0x14021a78c
mov byte [rbp + rcx + 0x40], 0
test edi, edi
jns 0x14021a668
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 0x14021a668
cmp r9d, 0xffff
ja 0x14021a658
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 0x14021aaec
shl r10d, 0xc
lea r9, [rbx + r8]
mov r13d, ebp
jmp 0x14021aa4d
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 0x14021aaec
mov esi, r11d
and esi, 0xfffff000
cmp esi, r10d
jne 0x14021aa23
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 0x14021aa23
movzx esi, word [r11 + r15*2 + 2]
cmp dword [r9 + r15*4 + 4], esi
jne 0x14021aa23
movzx esi, word [r11 + r15*2 + 4]
cmp dword [r9 + r15*4 + 8], esi
jne 0x14021aa23
movzx esi, word [r11 + r15*2 + 6]
cmp dword [r9 + r15*4 + 0xc], esi
jne 0x14021aa23
add r15, 4
cmp r15d, 0x20
jne 0x14021aa70
test r13d, r13d
js 0x14021aaec
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 0x14021aaf9
dec r10d
mov byte [r9], 1
mov dword [rbx + rcx*4], r10d
mov r15, qword [rsp + 0x98]
jmp 0x14021a668
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 0x14021a668
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.1401e4f40
mov qword [rbp + 0x38], rax
test rax, rax
je 0x14021afdb
mov ecx, dword [rsp + 0xb0]
mov r8d, ecx
shr r8d, 5
lea rdx, [rsp + 0x15e0]
mov rcx, rax
call fcn.1402695f0
cmp edi, 0x101e
jge 0x14021ab83
mov ebx, 0x1777
mov edx, 0xfff
mov ecx, listen
jmp 0x14021af77
lea eax, [rdi - 0x1f]
cmp eax, 0x7fff
jae 0x14021af4c
mov ebx, 0xc365
mov edx, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x14021af77
mov rdx, qword [rbp + 0x10]
mov r10d, dword [rdx + r9*4 - 4]
mov r8d, dword [rbp + 0x34]
cmp r10d, dword [rbp + 0x2c]
jne 0x14021abcc
cmp dword [rdx + r9*4 - 8], r8d
jne 0x14021abcc
jmp 0x14021ac20
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 0x14021abcc
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.1401e4f40
test rax, rax
je 0x14021acad
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 0x14021acb9
mov rdx, qword [rbp + 0x38]
mov rcx, rbx
mov r8, r14
call fcn.1402695f0
movsxd rax, r13d
lea rax, [rbx + rax*2]
jmp 0x14021ad50
mov dword [r15], 7
jmp 0x14021a2bc
mov rax, rbx
test r13d, r13d
jle 0x14021ad50
mov ecx, r13d
and ecx, 3
cmp r13d, 4
jae 0x14021acd8
xor edx, edx
mov rax, rbx
jmp 0x14021ad2f
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 0x14021ace0
add rax, rbx
test ecx, ecx
je 0x14021ad50
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 0x14021ad37
add rbx, r14
mov rdx, qword [rbp + 0x10]
cmp esi, 2
je 0x14021ade4
cmp esi, 1
je 0x14021adce
test esi, esi
jne 0x14021ae35
mov qword [rdi + 8], rax
mov r10d, dword [rbp + 0x1c]
test r10d, r10d
jle 0x14021ae35
cmp r10d, 0x14
jb 0x14021adaa
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x14021aee0
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x14021aee0
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 0x14021adb7
jmp 0x14021ae35
mov qword [rdi + 8], rbx
movsxd r8, dword [rbp + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.1402695f0
jmp 0x14021ae35
mov qword [rdi + 8], rbx
mov r8d, dword [rbp + 0x1c]
test r8d, r8d
jle 0x14021ae35
cmp r8d, 0x14
jb 0x14021ae18
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x14021ae70
lea rcx, [rdi + r14]
add rax, rcx
add rax, 0x31
cmp rdx, rax
jae 0x14021ae70
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 0x14021ae22
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.1401e5010
mov qword [rbp + 0x38], 0
jmp 0x14021a2f4
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 0x14021ae97
cmp r9, r8
jne 0x14021ae1e
jmp 0x14021ae35
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 0x14021af00
cmp r11, r10
jne 0x14021adb3
jmp 0x14021ae35
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 0x14021afea
mov rcx, r13
call fcn.1401e5010
lea edi, [rbx*4]
mov rcx, rdi
call fcn.1401e4f40
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14021afdb
mov r13, rax
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0x118], ebx
jmp 0x14021aff9
mov dword [r15], 7
xor r13d, r13d
jmp 0x14021bdf7
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.140269430
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 0x14021b07f
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 0x14021b1c9
mov rax, qword [rsp + 0x50]
cmp eax, 0x1021
jg 0x14021b0ba
movabs rax, 0xfff0000000c
mov qword [rsp + 0x140], rax
mov esi, 0x1777
mov dword [rsp + 0x90], send
mov dword [rsp + 0x70], 0xfff
jmp 0x14021b14d
add eax, 0xffffffdd
cmp eax, 0x7ffe
ja 0x14021b0f0
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 0x14021b14d
cmp eax, 0x1fffe
ja 0x14021b123
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x140], rax
mov esi, 0x30d43
mov dword [rsp + 0x90], send
mov dword [rsp + 0x70], 0x1ffff
jmp 0x14021b14d
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.1401e5010
mov rbx, rsi
lea edi, [rsi*4]
mov rcx, rdi
call fcn.1401e4f40
mov qword [rsp + 0x130], rax
test rax, rax
je 0x14021be0e
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.140269430
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 0x14021ba48
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 0x14021b27a
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 0x14021ba4d
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 0x14021b3af
movzx eax, cl
cmp eax, 2
je 0x14021b2d5
cmp eax, 1
jne 0x14021b3b9
mov rax, qword [rbp]
mov rsi, rbp
mov ebp, dword [rax + rdi*4]
jmp 0x14021ba0e
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 0x14021b300
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 0x14021b614
add r10, r12
mov edx, ecx
jmp 0x14021b359
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x58]
mov eax, dword [r13 + rdx*4]
test eax, eax
je 0x14021b616
mov esi, eax
and esi, dword [rsp + 0x88]
cmp esi, r11d
jne 0x14021b342
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 0x14021b342
movzx esi, word [rax + rbx*2 + 2]
cmp dword [r10 + rbx*4 + 4], esi
jne 0x14021b342
movzx esi, word [rax + rbx*2 + 4]
cmp dword [r10 + rbx*4 + 8], esi
jne 0x14021b342
movzx esi, word [rax + rbx*2 + 6]
cmp dword [r10 + rbx*4 + 0xc], esi
jne 0x14021b342
add rbx, 4
cmp ebx, 0x20
jne 0x14021b373
jmp 0x14021b618
mov rsi, rbp
mov ebp, eax
jmp 0x14021ba0e
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 0x14021b3e0
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 0x14021b530
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 0x14021b59b
mov edx, ecx
not edx
jmp 0x14021b5d5
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 0x14021b578
mov esi, eax
and esi, dword [rsp + 0x68]
cmp esi, r11d
jne 0x14021b57c
test byte [rsp + 0x60], 1
je 0x14021b5d5
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 0x14021b57c
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021b5bf
test edx, edx
js 0x14021b5f8
mov eax, edx
mov rcx, qword [rsp + 0x80]
mov ebp, dword [rcx + rax*4]
and ebp, dword [rsp + 0x70]
jle 0x14021b5f8
dec ebp
mov r9, qword [rsp + 0x30]
jmp 0x14021b9fb
mov eax, dword [rsp + 0x48]
mov ebp, eax
mov rsi, qword [rsp + 0x30]
cmp esi, eax
jne 0x14021b6e4
lea r13d, [rsi + 0x24]
jmp 0x14021b9b1
mov edx, ecx
not edx
test edx, edx
mov r9, qword [rsp + 0x30]
js 0x14021b635
mov eax, edx
mov ebp, dword [r13 + rax*4]
and ebp, dword [rsp + 0x3c]
sub ebp, 1
jae 0x14021b6d5
mov ebp, dword [rsp + 0x48]
cmp r9d, ebp
jne 0x14021b652
mov rax, qword [rsp + 0xd8]
xor edx, edx
mov r11, qword [rsp + 0x78]
jmp 0x14021b791
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 0x14021b691
add rsi, 2
dec edx
cmp edx, 1
jg 0x14021b676
jmp 0x14021b767
mov r9, qword [rsp + 0x30]
cmp rcx, 2
jb 0x14021ba34
lea rdx, [rcx - 1]
mov esi, ecx
xor r13d, r13d
movzx ebp, word [r11 + r13]
cmp dword [r12 + r13*2], ebp
jne 0x14021b6c4
add r13, 2
dec esi
cmp esi, 1
jg 0x14021b6a9
jmp 0x14021b779
add rcx, 0xfffffffffffffffe
add r10, 4
add ebx, 0xfffffffe
add r11, 4
jmp 0x14021b672
mov rsi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x78]
jmp 0x14021ba0e
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 0x14021b720
add rsi, 2
dec eax
cmp eax, 1
jg 0x14021b708
jmp 0x14021b771
cmp rcx, 2
jb 0x14021ba3c
lea rax, [rcx - 1]
mov esi, ecx
mov rbp, qword [rsp + 0xa0]
movzx r10d, word [rbp + rbx]
cmp r10w, word [rbp]
jne 0x14021b755
add rbp, 2
dec esi
cmp esi, 1
jg 0x14021b738
jmp 0x14021b89c
add rcx, 0xfffffffffffffffe
add rdx, 4
add r11d, 0xfffffffe
add rbx, 4
jmp 0x14021b6fd
mov rdx, rcx
mov r9, qword [rsp + 0x30]
jmp 0x14021b77b
mov rax, rcx
jmp 0x14021b89e
mov ecx, edx
mov ebp, r9d
sub ebp, ecx
mov ebx, r9d
cmp ecx, 0x1f
mov r11, qword [rsp + 0x78]
jg 0x14021b834
mov r8d, edx
test dl, 1
jne 0x14021b79b
jmp 0x14021b7c2
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 0x14021b82b
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 0x14021b7e4
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.14021c150
test byte [rsp + 0x60], 1
jne 0x14021b86c
mov r9d, ebx
mov rsi, qword [rsp + 0x40]
jmp 0x14021b88f
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.14021c150
mov r9d, ebx
mov r12, r14
mov r14, qword [rsp + 0x30]
jmp 0x14021ba06
mov ecx, eax
mov rdx, qword [rsp + 0x30]
mov ebp, edx
sub ebp, ecx
test ecx, ecx
jle 0x14021b8ed
cmp ecx, 0x23
ja 0x14021b8fb
mov ecx, eax
neg ecx
and ecx, 3
je 0x14021b908
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 0x14021b8c8
mov r8, rax
sub r8, r10
jmp 0x14021b90b
mov rsi, qword [rsp + 0x30]
lea r13d, [rsi + 0x24]
jmp 0x14021b9b1
mov rsi, qword [rsp + 0x30]
mov r13d, esi
jmp 0x14021b9b1
mov r8d, eax
add rax, 0xffffffffffffffdf
cmp rax, 3
jb 0x14021b9a3
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 0x14021b935
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.14021c150
test byte [rsp + 0x60], 1
je 0x14021b9f8
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.14021c150
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 0x14021b254
mov esi, dword [rsp + 0x50]
test esi, esi
js 0x14021b258
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ebp
mov eax, ebp
jmp 0x14021b258
mov ebp, r9d
jmp 0x14021b646
mov rsi, qword [rsp + 0x30]
mov ebp, esi
jmp 0x14021b60b
mov r9d, esi
jmp 0x14021ba5d
mov r15, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test eax, eax
jns 0x14021ba68
mov dword [rbp + 0xc], 0x7fff
cmp r9d, 0x801e
jle 0x14021ba80
mov dword [r15], 8
xor r13d, r13d
jmp 0x14021bde2
mov r13, r9
test r12d, r12d
jle 0x14021bde2
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 0x14021bb33
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.14021c150
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 0x14021bde2
mov eax, r12d
sub eax, r14d
mov r8, qword [rbp + 0x38]
movsxd r12, r14d
cmp eax, edi
jge 0x14021bb5a
mov ecx, r13d
sub ecx, eax
cmp ecx, dword [rsp + 0x48]
jge 0x14021bc5c
mov edi, eax
jmp 0x14021bcc9
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 0x14021bb90
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 0x14021bbe7
mov edx, ecx
not edx
jmp 0x14021bc3a
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 0x14021bbcf
mov esi, eax
and esi, dword [rsp + 0x50]
cmp esi, r11d
jne 0x14021bbd3
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 0x14021bbd3
movzx esi, word [rax + rbx*2 + 2]
cmp si, word [r10 + rbx*2 + 2]
jne 0x14021bbd3
movzx esi, word [rax + rbx*2 + 4]
cmp si, word [r10 + rbx*2 + 4]
jne 0x14021bbd3
movzx esi, word [rax + rbx*2 + 6]
cmp si, word [r10 + rbx*2 + 6]
jne 0x14021bbd3
add rbx, 4
cmp ebx, 0x20
jne 0x14021bbff
test edx, edx
js 0x14021bcc9
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 0x14021bb15
jmp 0x14021bcc9
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 0x14021bca9
mov esi, r11d
xor edi, edi
movzx ebx, word [r10 + rdi]
cmp bx, word [rdx + rdi]
jne 0x14021bcaf
add rdi, 2
dec esi
cmp esi, 1
jg 0x14021bc91
jmp 0x14021bcbf
je 0x14021bdd3
inc rbp
add r10, 2
cmp ecx, ebp
jne 0x14021bc88
jmp 0x14021bb53
mov edi, eax
test ebp, ebp
jns 0x14021bb15
xor eax, eax
cmp r13d, dword [rsp + 0x48]
je 0x14021bd35
cmp edi, 1
jle 0x14021bd26
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 0x14021bd1a
add rbx, 2
dec esi
cmp esi, 1
jg 0x14021bd02
jmp 0x14021bd33
add r10, 2
cmp r11, 3
jge 0x14021bcf7
jmp 0x14021bd35
lea eax, [rdi - 1]
mov r9, r13
mov ebp, r9d
sub ebp, eax
jmp 0x14021bd45
mov eax, edx
mov r9, r13
mov ebp, r9d
sub ebp, eax
cmp eax, edi
jge 0x14021baed
movsxd rcx, eax
movsxd rbx, r9d
mov eax, edi
sub eax, ecx
test al, 1
jne 0x14021bd58
mov rax, rcx
jmp 0x14021bd79
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 0x14021bdc7
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 0x14021bd9c
mov r8, qword [rsi + 0x38]
mov r9, r13
jmp 0x14021baf5
xor edi, edi
test ebp, ebp
jns 0x14021bb15
jmp 0x14021bcc9
mov rcx, qword [rsp + 0x130]
mov r15, qword [rsp + 0x98]
call fcn.1401e5010
mov r8, qword [rsp + 0x110]
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 0x30], eax
jmp 0x14021a2ae
mov dword [r15], 7
xor ecx, ecx
jmp 0x14021bdf2