Function at 0x140212860
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.14025e2c0
sub rsp, rax
movdqa xmmword [rsp + 0x1e00], xmm7
movdqa xmmword [rsp + 0x1df0], xmm6
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x1de8], rax
cmp dword [r9], 0
jg 0x1402147fa
cmp edx, 1
ja 0x14021294b
mov r12d, r8d
cmp r8d, 3
jae 0x14021294b
mov rbp, rcx
cmp r12d, 2
je 0x140212957
test r12d, r12d
jne 0x1402129c9
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x140375f60]
movq qword [rbp + 0x28], xmm0
movzx eax, word [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x30]
cmp eax, 0x10
jl 0x14021291c
shr rax, 4
cmp rax, 1
jne 0x140212b2b
xor ecx, ecx
test al, 1
je 0x14021291c
cmp byte [rbp + rcx + 0x40], 0
jne 0x14021291c
mov rax, qword [rbp]
movzx r8d, word [rax + rcx*4]
mov dword [rax + rcx*4], r8d
cmp dword [rbp + 0x1c], 0
jle 0x1402129c9
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [rbp + 0x10]
movzx r8d, word [rcx + rax*4]
mov dword [rcx + rax*4], r8d
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x140212930
jmp 0x1402129c9
mov dword [r9], 1
jmp 0x1402147fa
movq xmm0, qword [rbp + 0x28]
pand xmm0, xmmword [0x140375f70]
movq qword [rbp + 0x28], xmm0
movzx eax, byte [rbp + 0x34]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x30]
cmp eax, 0x10
jl 0x1402129a0
shr rax, 4
cmp rax, 1
jne 0x140212b76
xor ecx, ecx
test al, 1
je 0x1402129a0
cmp byte [rbp + rcx + 0x40], 0
jne 0x1402129a0
mov rax, qword [rbp]
movzx r8d, byte [rax + rcx*4]
mov dword [rax + rcx*4], r8d
cmp dword [rbp + 0x1c], 0
jle 0x1402129c9
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [rbp + 0x10]
movzx r8d, byte [rcx + rax*4]
mov dword [rcx + rax*4], r8d
inc rax
movsxd rcx, dword [rbp + 0x1c]
cmp rax, rcx
jl 0x1402129b0
test edx, edx
mov eax, 0x10000
mov edi, 0x1000
cmove edi, eax
mov esi, edi
shr esi, 4
mov r10d, dword [rbp + 0x30]
cmp r10d, 0x110000
mov qword [rsp + 0x88], r9
jl 0x140212a12
cmp byte [rbp + 0x1103f], 0
je 0x140212a2c
mov rcx, qword [rbp]
mov eax, dword [rcx + 0x43ffc]
add eax, 0xf
shl rax, 2
add rax, qword [rbp + 0x10]
jmp 0x140212a37
lea rax, [rbp + 0x34]
xor ebx, ebx
cmp r10d, 0x10
jl 0x140212bc3
mov r11d, dword [rbp + 0x34]
mov rcx, qword [rbp]
jmp 0x140212a42
mov rcx, qword [rbp]
lea rax, [rcx + 0x43ffc]
mov r11d, dword [rax]
lea rax, [rbp + 0x34]
mov dword [rbp + 0x34], r11d
shr r10, 4
mov r8, qword [rbp + 0x10]
mov rbx, r10
jmp 0x140212a68
cmp r9d, r11d
jne 0x140212aee
mov r10d, ebx
dec rbx
cmp r10d, 1
jle 0x140212bc1
lea r9d, [rbx - 1]
cmp byte [rbp + r9 + 0x40], 0
mov r9d, dword [rcx + r9*4]
je 0x140212a4f
cmp dword [r8 + r9*4], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 4], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 8], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0xc], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x10], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x14], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x18], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x1c], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x20], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x24], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x28], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x2c], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x30], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x34], r11d
jne 0x140212aee
cmp dword [r8 + r9*4 + 0x38], r11d
jne 0x140212aee
mov r10d, ebx
cmp dword [r8 + r9*4 + 0x3c], r11d
je 0x140212a5b
shl ebx, 4
add ebx, 0x1ff
and ebx, 0xfffffe00
cmp ebx, 0x110000
jne 0x140212b1b
mov ecx, dword [rbp + 0x28]
mov dword [rbp + 0x34], ecx
mov ebx, 0x110000
mov r14d, 0x110000
jmp 0x140212c0f
mov r14d, ebx
cmp ebx, edi
jl 0x140212bc3
jmp 0x140212c0f
mov r10d, eax
and r10d, 0xfffffffe
xor ecx, ecx
jmp 0x140212b57
mov r8, qword [rbp]
movzx r11d, word [r8 + rcx*4]
mov dword [r8 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x140212b65
add rcx, 2
cmp r10, rcx
je 0x140212904
cmp byte [rbp + rcx + 0x40], 0
je 0x140212b36
cmp byte [rbp + rcx + 0x41], 0
jne 0x140212b4a
mov r8, qword [rbp]
movzx r11d, word [r8 + rcx*4 + 4]
mov dword [r8 + rcx*4 + 4], r11d
jmp 0x140212b4a
mov r10d, eax
and r10d, 0xfffffffe
xor ecx, ecx
jmp 0x140212ba2
mov r8, qword [rbp]
movzx r11d, byte [r8 + rcx*4]
mov dword [r8 + rcx*4], r11d
cmp byte [rbp + rcx + 0x41], 0
je 0x140212bb0
add rcx, 2
cmp r10, rcx
je 0x140212988
cmp byte [rbp + rcx + 0x40], 0
je 0x140212b81
cmp byte [rbp + rcx + 0x41], 0
jne 0x140212b95
mov r8, qword [rbp]
movzx r11d, byte [r8 + rcx*4 + 4]
mov dword [r8 + rcx*4 + 4], r11d
jmp 0x140212b95
xor ebx, ebx
mov ecx, ebx
sar ecx, 4
cmp ecx, esi
jge 0x140212c0c
movsxd rcx, ecx
mov r10d, esi
nop word cs:[rax + rax]
mov byte [rbp + rcx + 0x40], 0
mov r8d, dword [rbp + 0x34]
mov r9, qword [rbp]
mov dword [r9 + rcx*4], r8d
mov byte [rbp + rcx + 0x41], 0
mov r8d, dword [rbp + 0x34]
mov r9, qword [rbp]
mov dword [r9 + rcx*4 + 4], r8d
add rcx, 2
cmp r10, rcx
jne 0x140212be0
mov r14d, edi
mov qword [rsp + 0x78], rsi
mov dword [rbp + 0x30], r14d
mov rcx, qword [rbp]
mov rsi, qword [rbp + 0x10]
movsxd r8, r14d
xor r9d, r9d
jmp 0x140212c56
mov r11d, r9d
and r11d, 0xf
add r11d, dword [rcx + r10*4]
lea r10, [rsi + r11*4]
mov r10d, dword [r10]
mov dword [rsp + r9*4 + 0x2e0], r10d
inc r9
cmp r9, 0x80
je 0x140212c73
mov r10, rax
cmp r9, r8
jge 0x140212c3f
mov r10d, r9d
shr r10d, 4
cmp byte [rbp + r10 + 0x40], 0
jne 0x140212c30
lea r10, [rcx + r10*4]
jmp 0x140212c3f
mov qword [rsp + 0x100], rbx
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0x74], edx
movabs rax, 0xffffffff00000000
mov qword [rsp + 0x158], rax
mov edi, 0x94
mov dword [rsp + 0x80], r14d
cmp r14d, 0x10
mov qword [rsp + 0x38], rbp
mov rsi, qword [rsp + 0x78]
mov dword [rsp + 0xf4], r12d
jl 0x140213134
sar dword [rsp + 0x80], 4
mov r14d, 0x40
mov r15d, 4
xor edi, edi
mov eax, 0x94
mov qword [rsp + 0x30], rax
mov r13d, 1
jmp 0x140212d46
mov dword [rsp + 0x15c], r8d
mov dword [rsp + r8*4 + 0x160], edi
movsxd rcx, dword [rsp + 0x158]
mov dword [rsp + rcx*4 + 0x1e0], eax
movsxd rcx, dword [rsp + 0x158]
lea eax, [rcx + 1]
mov dword [rsp + 0x158], eax
mov dword [rsp + rcx*4 + 0x260], r15d
mov rax, qword [rsp + 0x30]
add eax, r14d
mov qword [rsp + 0x30], rax
add edi, r15d
cmp edi, dword [rsp + 0x80]
jge 0x140213127
cmp edi, esi
mov eax, reloc.WS2_32.dll_recv
cmove r14d, eax
cmove r15d, r13d
mov rax, qword [rbp]
movsxd rcx, edi
mov edx, dword [rax + rcx*4]
cmp byte [rbp + rcx + 0x40], 1
jne 0x140212db0
mov r8, qword [rbp + 0x10]
lea r9, [r8 + rdx*4]
mov eax, dword [r8 + rdx*4]
lea r10d, [r14 - 1]
lea rdx, [r8 + rdx*4]
add rdx, 4
lea r8, [r9 + r10*4]
add r8, 4
nop word cs:[rax + rax]
cmp dword [rdx], eax
jne 0x140212d9d
add rdx, 4
cmp rdx, r8
jb 0x140212d90
cmp rdx, r8
jne 0x140212d29
mov byte [rbp + rcx + 0x40], 0
mov rdx, qword [rbp]
mov dword [rdx + rcx*4], eax
jmp 0x140212e12
cmp r15d, 2
jl 0x140212e10
lea r8d, [r15 + rdi]
movsxd r8, r8d
lea r9, [rcx + 1]
nop word cs:[rax + rax]
cmp r9, r8
jge 0x140212e10
lea r10, [r9 + 1]
cmp dword [rax + r9*4], edx
mov r9, r10
je 0x140212dd0
mov rcx, rbp
mov edx, edi
call fcn.140215840
mov ecx, 0
test eax, eax
cmovns ecx, r14d
mov rax, qword [rsp + 0x30]
js 0x1402147b6
add eax, ecx
jmp 0x140212d31
mov eax, edx
mov edx, dword [rsp + 0x15c]
test edx, edx
js 0x140212e26
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x140212e64
movsxd r8, dword [rsp + 0x158]
test r8, r8
jle 0x140212cf0
mov r9d, r8d
xor edx, edx
nop dword [rax]
cmp dword [rsp + rdx*4 + 0x1e0], eax
je 0x140212e5d
inc rdx
cmp r9, rdx
jne 0x140212e40
cmp r9d, 0x20
jne 0x140212cf0
jmp 0x140212e7c
mov dword [rsp + 0x15c], edx
add dword [rsp + rdx*4 + 0x260], r15d
mov edx, dword [rsp + rdx*4 + 0x160]
cmp edx, 0xfffffffe
jne 0x14021307b
test edi, edi
je 0x140212f20
mov r9, qword [rbp]
mov r8d, 4
xor edx, edx
jmp 0x140212ea7
add edx, r8d
cmp edx, edi
je 0x140212f20
cmp edx, esi
cmove r8d, r13d
movsxd r10, edx
cmp byte [rbp + r10 + 0x40], 0
jne 0x140212ea0
cmp dword [r9 + r10*4], eax
jne 0x140212ea0
add r8d, r15d
mov ebp, dword [rsp + 0x158]
test ebp, ebp
jle 0x140213048
mov r9d, ebp
and r9d, 3
cmp ebp, 4
jae 0x140213094
mov r10d, 0xffffffff
mov r12d, 0x11000
xor r11d, r11d
test r9, r9
mov rbp, qword [rsp + 0x38]
je 0x140213053
nop dword [rax]
mov esi, dword [rsp + r11*4 + 0x260]
cmp esi, r12d
cmovl r10d, r11d
cmovl r12d, esi
inc r11
dec r9
jne 0x140212f00
jmp 0x140213053
mov r10d, dword [rsp + 0x158]
test r10d, r10d
jle 0x140212f55
mov ecx, r10d
and ecx, 3
cmp r10d, 4
jae 0x140212f5f
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
test rcx, rcx
jne 0x140213010
jmp 0x14021302b
mov edx, 0xffffffff
jmp 0x14021302b
and r10d, 0xfffffffc
mov edx, 0xffffffff
mov r9d, 0x11000
xor r8d, r8d
jmp 0x140212f8c
mov r9d, ebx
add r8, 4
cmp r8, r10
je 0x140212ff7
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 0x140212fc0
mov r11d, r9d
jmp 0x140212fc4
lea edx, [r8 + 1]
mov ebx, dword [rsp + r8*4 + 0x268]
cmp ebx, r11d
jl 0x140212fe0
mov ebx, r11d
jmp 0x140212fe4
lea edx, [r8 + 2]
mov r9d, dword [rsp + r8*4 + 0x26c]
cmp r9d, ebx
jge 0x140212f80
lea edx, [r8 + 3]
jmp 0x140212f83
mov rsi, qword [rsp + 0x78]
test rcx, rcx
je 0x14021302b
nop word cs:[rax + rax]
mov r10d, dword [rsp + r8*4 + 0x260]
cmp r10d, r9d
cmovl edx, r8d
cmovl r9d, r10d
inc r8
dec rcx
jne 0x140213010
mov dword [rsp + 0x15c], edx
movsxd rcx, edx
mov dword [rsp + rcx*4 + 0x160], edi
mov dword [rsp + rcx*4 + 0x1e0], eax
jmp 0x140212d21
mov r10d, 0xffffffff
mov rbp, qword [rsp + 0x38]
mov dword [rsp + 0x15c], r10d
movsxd r9, r10d
mov dword [rsp + r9*4 + 0x160], edx
mov dword [rsp + r9*4 + 0x1e0], eax
mov dword [rsp + r9*4 + 0x260], r8d
mov rsi, qword [rsp + 0x78]
test edx, edx
js 0x140212d29
mov byte [rbp + rcx + 0x40], 2
mov rax, qword [rbp]
mov dword [rax + rcx*4], edx
jmp 0x140212d36
and ebp, 0xfffffffc
mov r10d, 0xffffffff
mov r12d, 0x11000
xor r11d, r11d
jmp 0x1402130c0
mov r12d, ebx
add r11, 4
cmp r11, rbp
je 0x140212eef
mov ebx, dword [rsp + r11*4 + 0x260]
cmp ebx, r12d
cmovl r10d, r11d
mov esi, dword [rsp + r11*4 + 0x264]
cmovl r12d, ebx
cmp esi, r12d
jl 0x1402130f0
mov esi, r12d
jmp 0x1402130f4
lea r10d, [r11 + 1]
mov ebx, dword [rsp + r11*4 + 0x268]
cmp ebx, esi
jl 0x140213110
mov ebx, esi
jmp 0x140213114
lea r10d, [r11 + 2]
mov r12d, dword [rsp + r11*4 + 0x26c]
cmp r12d, ebx
jge 0x1402130b0
lea r10d, [r11 + 3]
jmp 0x1402130b3
mov rdi, qword [rsp + 0x30]
test edi, edi
js 0x1402147b6
lea eax, [rdi*4]
movsxd rcx, eax
call fcn.1401dee00
test rax, rax
je 0x1402147b6
mov r13, rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x2e0]
mov r8d, 0x200
mov rcx, rax
call fcn.1402609f0
mov r8d, dword [rsp + 0x158]
test r8, r8
je 0x1402131bf
test r8d, r8d
jle 0x1402131cb
mov eax, r8d
and eax, 3
cmp r8d, 4
mov rdi, qword [rsp + 0x30]
jae 0x1402132aa
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
test rax, rax
je 0x1402131ba
mov r8d, dword [rsp + rcx*4 + 0x260]
cmp r8d, r9d
cmovg edx, ecx
cmovg r9d, r8d
inc rcx
dec rax
jne 0x1402131a0
movsxd rax, edx
jmp 0x1402131d7
mov ecx, 0xffffffff
mov rdi, qword [rsp + 0x30]
jmp 0x1402131de
mov rax, 0xffffffffffffffff
mov rdi, qword [rsp + 0x30]
mov ecx, dword [rsp + rax*4 + 0x160]
mov qword [rsp + 0x120], 0
mov rax, qword [rbp]
mov dword [rax], 0
mov rax, qword [rbp]
mov dword [rax + 0x10], 0x40
cmp edi, 0x103e
mov dword [rsp + 0xa0], ecx
jg 0x14021323b
movabs rax, 0xfff0000000c
mov qword [rsp + 0x120], rax
mov r15d, 0x1777
mov dword [rsp + 0x4c], recv
mov dword [rsp + 0x68], 0xfff
jmp 0x14021335d
lea eax, [rdi - 0x40]
cmp eax, 0x7ffe
ja 0x140213272
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x120], rax
mov r15d, 0xc365
mov dword [rsp + 0x4c], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x68], 0x7fff
jmp 0x14021335d
cmp eax, 0x1fffe
ja 0x140213335
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x120], rax
mov r15d, 0x30d43
mov dword [rsp + 0x4c], setsockopt
mov dword [rsp + 0x68], 0x1ffff
jmp 0x14021335d
and r8d, 0xfffffffc
mov edx, 0xffffffff
xor ecx, ecx
xor r9d, r9d
jmp 0x1402132d0
mov r9d, r11d
add rcx, 4
cmp rcx, r8
je 0x14021319b
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 0x140213300
mov r10d, r9d
jmp 0x140213303
lea edx, [rcx + 1]
mov r11d, dword [rsp + rcx*4 + 0x268]
cmp r11d, r10d
jg 0x140213320
mov r11d, r10d
jmp 0x140213323
lea edx, [rcx + 2]
mov r9d, dword [rsp + rcx*4 + 0x26c]
cmp r9d, r11d
jle 0x1402132c0
lea edx, [rcx + 3]
jmp 0x1402132c3
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x120], rax
mov r15d, 0x16e367
mov dword [rsp + 0x4c], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x68], 0x1fffff
xor eax, eax
mov qword [rsp + 0x50], rax
xor ecx, ecx
call fcn.1401deed0
lea edi, [r15*4]
mov rcx, rdi
call fcn.1401dee00
mov qword [rsp + 0x110], rax
test rax, rax
je 0x140213d4a
mov dword [rsp + 0x118], r15d
mov dword [rsp + 0x11c], r15d
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140260830
mov dword [rsp + 0x128], 0x40
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov r9d, 0x80
call fcn.140215a20
mov eax, dword [rbp + 0x30]
cmp eax, 0x90
jl 0x140213d5e
sar eax, 4
mov dword [rsp + 0xd0], eax
mov r10, qword [rsp + 0x30]
lea eax, [r10 - 0x10]
xor ecx, ecx
cmp r10d, 0x100f
setge cl
mov edx, 0xfff
mov r8d, 0x7fff
cmovl r8d, edx
mov edx, 0x1777
mov r9d, 0xc365
cmovl r9d, edx
xor edx, edx
cmp eax, 0x1ffff
setae dl
mov eax, 0x1ffff
mov r11d, 0x1fffff
cmovb r11d, eax
mov eax, 0x30d43
mov edi, 0x16e367
cmovb edi, eax
cmp r10d, 0x800f
lea eax, [rcx + rcx*2 + 0xc]
lea ecx, [rdx*4 + 0x11]
cmovl ecx, eax
mov dword [rsp + 0xa4], ecx
cmovl r11d, r8d
mov dword [rsp + 0x9c], r11d
cmovl edi, r9d
mov qword [rsp + 0xe8], rdi
lea eax, [rdi*4]
mov qword [rsp + 0xc0], rax
mov eax, esi
mov qword [rsp + 0x80], rax
lea rax, [r13 + 4]
mov qword [rsp + 0xe0], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0xf8], rax
lea rax, [r13 + 0xc]
mov qword [rsp + 0x108], rax
mov edx, 4
mov r14d, 8
mov eax, 0x80
mov qword [rsp + 0x40], rax
mov eax, 0x40
mov qword [rsp + 0x60], rax
mov eax, r15d
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0x48], 0
mov r8, rbx
jmp 0x140213510
mov rax, qword [rbp]
mov ecx, dword [rax + r12*4]
mov ecx, dword [rax + rcx*4]
mov dword [rax + r12*4], ecx
add r14d, edx
cmp r14d, dword [rsp + 0xd0]
jge 0x140213d6b
cmp r14d, esi
jne 0x1402135f4
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x124], eax
mov r15, qword [rsp + 0xe8]
cmp r15d, dword [rsp + 0xb8]
jle 0x140213583
mov rcx, r8
call fcn.1401deed0
mov rcx, qword [rsp + 0xc0]
call fcn.1401dee00
mov qword [rsp + 0x110], rax
test rax, rax
je 0x140213d4a
mov r8, rax
mov dword [rsp + 0x118], r15d
mov eax, r15d
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0x11c], r15d
mov rcx, r8
xor edx, edx
mov rbx, r8
mov r8, qword [rsp + 0xc0]
call fcn.140260830
mov dword [rsp + 0x128], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x110]
mov rdx, r13
xor r8d, r8d
mov rdi, qword [rsp + 0x40]
mov r9d, edi
call fcn.140215a20
mov r8, rbx
mov edx, 1
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x4c], eax
mov eax, edi
mov dword [rsp + 0x48], edi
movsxd r12, r14d
movzx eax, byte [rbp + r12 + 0x40]
cmp eax, 1
je 0x140213750
test eax, eax
jne 0x1402134f0
mov dword [rsp + 0x58], edx
mov r10, qword [rbp]
mov r9d, dword [r10 + r12*4]
mov rax, qword [rsp + 0x60]
lea edx, [rax - 1]
lea r11d, [rax - 2]
mov ecx, edx
and ecx, 7
mov eax, r9d
cmp r11d, 7
jb 0x14021369d
and edx, 0xfffffff8
mov eax, r9d
nop word [rax + rax]
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, r9d
add edx, 0xfffffff8
jne 0x140213640
test ecx, ecx
je 0x1402136bd
nop word cs:[rax + rax]
lea edx, [rax + rax*8]
lea eax, [rax + rdx*4]
add eax, r9d
dec ecx
jne 0x1402136b0
mov r11d, eax
mov ecx, dword [rsp + 0x4c]
shl r11d, cl
lea ecx, [r15 - 1]
xor edx, edx
div ecx
lea ecx, [rdx + 1]
mov eax, dword [r8 + rdx*4 + 4]
test eax, eax
je 0x1402138bb
mov ebx, dword [rsp + 0x68]
not ebx
mov ebp, dword [rsp + 0x60]
mov edx, ecx
jmp 0x140213711
cmp rax, rdi
je 0x1402138bf
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x1402138bd
mov esi, eax
and esi, ebx
cmp esi, r11d
mov rsi, qword [rsp + 0x78]
jne 0x1402136f9
and eax, dword [rsp + 0x68]
cdqe
lea rax, [rax*4 - 4]
add rax, r13
lea rdi, [rax + rbp*4]
nop word cs:[rax + rax]
cmp dword [rax], r9d
jne 0x1402136f0
add rax, 4
cmp rax, rdi
jb 0x140213740
jmp 0x1402136f0
mov dword [rsp + 0x58], edx
mov rax, qword [rbp]
mov r10, qword [rbp + 0x10]
mov qword [rsp + 0xa8], rax
mov edi, dword [rax + r12*4]
mov eax, dword [r10 + rdi*4]
mov rcx, qword [rsp + 0x60]
cmp ecx, 3
mov r11d, 2
cmovge r11d, ecx
lea r9, [r11 - 1]
add r11, 0xfffffffffffffffe
mov ecx, r9d
and ecx, 3
mov edx, 1
cmp r11, 3
jb 0x1402137e7
and r9, 0xfffffffffffffffc
lea r11, [r10 + rdi*4]
add r11, 0x10
xor edx, edx
nop word cs:[rax + rax]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4 - 0xc]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4 - 8]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4 - 4]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r11 + rdx*4]
add rdx, 4
cmp r9, rdx
jne 0x1402137b0
inc rdx
test rcx, rcx
je 0x140213814
lea r9, [rdi*4]
lea rdx, [r9 + rdx*4]
add rdx, r10
xor r9d, r9d
nop
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [rdx + r9*4]
inc r9
cmp rcx, r9
jne 0x140213800
mov qword [rsp + 0xd8], r10
mov qword [rsp + 0xc8], rdi
lea r11, [r10 + rdi*4]
mov ebp, eax
mov ecx, dword [rsp + 0x4c]
shl ebp, cl
lea ecx, [r15 - 1]
xor edx, edx
div ecx
lea ecx, [rdx + 1]
mov eax, dword [r8 + rdx*4 + 4]
test eax, eax
je 0x1402138dd
mov ebx, dword [rsp + 0x68]
not ebx
mov rdx, qword [rsp + 0x60]
lea r9d, [rdx + 1]
mov edx, ecx
jmp 0x140213874
add edx, ecx
mov eax, edx
xor edx, edx
div r15d
movsxd rax, edx
mov eax, dword [r8 + rax*4]
test eax, eax
je 0x1402138df
mov esi, eax
and esi, ebx
cmp esi, ebp
jne 0x140213860
and eax, dword [rsp + 0x68]
cdqe
lea rax, [rax*4 - 4]
add rax, r13
mov esi, r9d
xor edi, edi
nop word cs:[rax + rax]
mov r10d, dword [rax + rdi]
cmp r10d, dword [r11 + rdi]
jne 0x140213860
add rdi, 4
dec esi
cmp esi, 1
jg 0x1402138a0
test edx, edx
jns 0x1402138e5
jmp 0x140213912
mov edx, ecx
not edx
test edx, edx
mov rbp, qword [rsp + 0x38]
js 0x1402139cb
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x68]
dec eax
jmp 0x1402139d0
mov edx, ecx
not edx
test edx, edx
js 0x140213912
mov eax, edx
mov eax, dword [r8 + rax*4]
and eax, dword [rsp + 0x68]
jle 0x140213912
dec eax
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + r12*4], eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
mov edx, dword [rsp + 0x58]
jmp 0x1402134ff
mov ecx, dword [rsp + 0x60]
movsxd rax, dword [rsp + 0x40]
lea rdx, [rax*4]
lea r9, [rcx*4]
mov rbx, rdx
sub rbx, r9
add rbx, qword [rsp + 0xe0]
mov r9, rcx
mov qword [rsp + 0x90], r8
mov rbp, r9
dec r9
mov esi, ebp
xor edi, edi
nop
mov r10d, dword [rbx + rdi]
cmp r10d, dword [r11 + rdi]
jne 0x140213967
add rdi, 4
dec esi
cmp esi, 1
jg 0x140213950
jmp 0x140213974
add rbx, 4
cmp rbp, 3
jge 0x140213944
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov r10d, r8d
sub r10d, r9d
mov rsi, qword [rsp + 0xa8]
mov dword [rsi + r12*4], r10d
mov ebx, r8d
cmp r9d, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
jge 0x140213bf4
movsxd rbp, r9d
mov r9, rcx
sub r9, rbp
cmp r9, 0x10
jae 0x140213ab8
mov r8, rbp
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0xc8]
jmp 0x140213b5a
mov eax, 0xffffffff
test eax, eax
setns r11b
js 0x140213c1d
cmp r14d, dword [rsp + 0xa0]
jne 0x140213c1d
cmp r14d, esi
jl 0x140213c1d
cmp eax, dword [rsp + 0x48]
jge 0x140213c1d
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
sub ecx, edx
mov r11d, edx
mov edx, 1
sub rdx, r11
xor r11d, r11d
nop word [rax + rax]
cmp dword [r10 + r11*4], eax
je 0x140213a39
add r11, 4
cmp r11, qword [rsp + 0x80]
jb 0x140213a20
jmp 0x140213c22
cmp ecx, eax
jle 0x140213c2f
mov r11d, eax
jmp 0x140213a57
add r11d, edi
mov eax, r11d
mov r11d, eax
cmp eax, ecx
jge 0x140213c2f
lea eax, [r11 + 1]
movsxd rsi, r11d
cmp dword [r13 + rsi*4 + 4], r9d
jne 0x140213a4c
lea rsi, [rsi*4]
add rsi, r13
mov edi, 2
nop word cs:[rax + rax]
cmp dword [rsi + rdi*4], r9d
jne 0x140213a46
lea rbx, [rdx + rdi]
inc rbx
inc rdi
cmp rbx, 2
jne 0x140213a80
cmp r11d, 0xffffffff
setge r11b
jl 0x140213c18
cmp eax, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
jl 0x140213a14
jmp 0x140213c1d
lea r8, [rax*4]
add r8, r13
mov rdi, qword [rsp + 0xd8]
lea r10, [rdi + rbp*4]
mov rbx, qword [rsp + 0xc8]
lea r10, [r10 + rbx*4]
sub r8, r10
cmp r8, 0x20
jae 0x140213aee
mov r8, rbp
mov rbp, qword [rsp + 0x38]
jmp 0x140213b5a
lea r10, [rbx*4]
mov rbx, r9
and rbx, 0xfffffffffffffff8
lea r8, [rbx + rbp]
shl rbp, 2
add rax, rbx
add rbp, r10
lea rsi, [rdi + rbp]
add rsi, 0x10
add rdx, qword [rsp + 0xf8]
xor edi, edi
nop dword [rax]
movdqu xmm0, xmmword [rsi + rdi*4 - 0x10]
movdqu xmm1, xmmword [rsi + rdi*4]
movdqu xmmword [rdx + rdi*4 - 0x10], xmm0
movdqu xmmword [rdx + rdi*4], xmm1
add rdi, 8
cmp rbx, rdi
jne 0x140213b20
cmp r9, rbx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xc8]
je 0x140213bf2
mov r9d, ecx
sub r9d, r8d
mov rdx, r8
not rdx
add rdx, rcx
and r9d, 3
je 0x140213b84
nop
mov r10d, dword [r11 + r8*4]
inc r8
mov dword [r13 + rax*4], r10d
inc rax
dec r9
jne 0x140213b70
cmp rdx, 3
jb 0x140213bf2
sub rcx, r8
shl rbx, 2
lea rdx, [rbx + r8*4]
mov r8, qword [rsp + 0xd8]
add rdx, r8
add rdx, 0xc
mov r8, qword [rsp + 0x108]
lea r9, [r8 + rax*4]
xor r8d, r8d
nop word cs:[rax + rax]
mov r10d, dword [rdx + r8*4 - 0xc]
mov dword [r9 + r8*4 - 0xc], r10d
mov r10d, dword [rdx + r8*4 - 8]
mov dword [r9 + r8*4 - 8], r10d
mov r10d, dword [rdx + r8*4 - 4]
mov dword [r9 + r8*4 - 4], r10d
mov r10d, dword [rdx + r8*4]
mov dword [r9 + r8*4], r10d
add r8, 4
cmp rcx, r8
jne 0x140213bc0
add rax, r8
mov ebx, eax
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r8, qword [rsp + 0x40]
mov r9d, ebx
call fcn.140215a20
mov eax, ebx
mov qword [rsp + 0x40], rax
jmp 0x140213d39
mov rsi, qword [rsp + 0x78]
test r11b, r11b
je 0x140213c2f
mov dword [r10 + r12*4], eax
mov edx, dword [rsp + 0x58]
jmp 0x1402134ff
mov qword [rsp + 0x90], r8
mov r8, qword [rsp + 0x40]
lea edx, [r8 + 1]
mov ecx, edx
sub ecx, dword [rsp + 0x60]
movsxd rax, r8d
movsxd rcx, ecx
cmp r8d, ecx
mov r11d, ecx
cmovl r11d, r8d
mov rsi, rax
nop dword [rax]
cmp rsi, rcx
jle 0x140213c77
lea rdi, [rsi - 1]
dec edx
cmp dword [r13 + rsi*4 - 4], r9d
mov rsi, rdi
je 0x140213c60
jmp 0x140213c7a
mov edx, r11d
mov r8, qword [rsp + 0x40]
mov ecx, r8d
sub ecx, edx
mov dword [r10 + r12*4], edx
mov ebx, r8d
cmp ecx, dword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
jge 0x140213d21
add edx, dword [rsp + 0x60]
not r8d
add r8d, edx
cmp r8d, 7
jae 0x140213caf
mov rbx, rax
jmp 0x140213cfb
inc r8
mov rdx, r8
and rdx, 0xfffffffffffffff8
lea rbx, [rdx + rax]
add ecx, edx
movd xmm0, r9d
pshufd xmm0, xmm0, 0
mov r10, qword [rsp + 0xf8]
lea rax, [r10 + rax*4]
xor r10d, r10d
nop dword [rax + rax]
movdqu xmmword [rax + r10*4 - 0x10], xmm0
movdqu xmmword [rax + r10*4], xmm0
add r10, 8
cmp rdx, r10
jne 0x140213ce0
cmp r8, rdx
je 0x140213d1c
mov rax, qword [rsp + 0x60]
sub eax, ecx
nop word cs:[rax + rax]
mov dword [r13 + rbx*4], r9d
inc rbx
dec eax
jne 0x140213d10
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x110]
mov rdx, r13
mov r9d, ebx
call fcn.140215a20
mov qword [rsp + 0x40], rbx
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x58]
jmp 0x1402134ff
mov r14, qword [rsp + 0x88]
mov dword [r14], 7
xor r8d, r8d
jmp 0x140213d80
mov eax, 0x80
mov qword [rsp + 0x40], rax
mov r8, rbx
mov r14, qword [rsp + 0x88]
cmp dword [r14], 0
jle 0x140213dd2
xor eax, eax
mov qword [rsp + 0x50], rax
mov r15d, dword [rsp + 0x74]
mov rcx, r8
call fcn.1401deed0
cmp dword [r14], 0
jg 0x1402147c4
mov esi, dword [rsp + 0xf4]
cmp esi, 1
mov rdx, qword [rsp + 0x50]
jne 0x140213e15
mov eax, edx
and eax, 1
je 0x140213e15
mov rax, qword [rbp + 0x38]
movsxd rcx, edx
lea r14d, [rdx*2 + 2]
inc edx
mov word [rax + rcx*2], 0xffee
mov eax, edx
mov qword [rsp + 0x50], rax
jmp 0x140213e73
mov qword [rsp + 0x90], r8
mov rcx, qword [rbp + 0x10]
call fcn.1401deed0
mov qword [rbp + 0x10], r13
mov rax, qword [rsp + 0x30]
mov dword [rbp + 0x18], eax
mov rax, qword [rsp + 0x40]
mov dword [rbp + 0x1c], eax
cmp eax, 0x40010
mov r15d, dword [rsp + 0x74]
jl 0x140213ece
mov dword [r14], 8
xor eax, eax
jmp 0x140213ffc
lea r14d, [rdx + rdx]
test esi, esi
je 0x140213ef0
cmp esi, 1
je 0x140213e73
mov eax, dword [rbp + 0x1c]
movsxd rdx, eax
lea ecx, [rdx + r14]
and ecx, 3
cmp ecx, 3
je 0x1402146a9
cmp ecx, 2
je 0x1402146db
test ecx, ecx
jne 0x1402146b7
mov r8, qword [rbp + 0x10]
mov r9d, dword [r8 + rdx*4 - 4]
cmp r9d, dword [rbp + 0x2c]
jne 0x1402146b7
mov edx, dword [r8 + rdx*4 - 8]
cmp edx, dword [rbp + 0x34]
jne 0x1402146b7
jmp 0x140214708
mov rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
movsxd r8, eax
mov r10d, dword [rcx + r8*4 - 4]
mov edx, dword [rbp + 0x2c]
cmp r10d, edx
jne 0x140213e97
mov r9d, dword [rbp + 0x34]
cmp dword [rcx + r8*4 - 8], r9d
jne 0x140213e9b
jmp 0x140213ec6
mov r9d, dword [rbp + 0x34]
cmp r10d, r9d
je 0x140213eb6
mov eax, r8d
inc eax
mov dword [rbp + 0x1c], eax
mov dword [rcx + r8*4], r9d
mov edx, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
cdqe
mov dword [rcx + rax*4], edx
mov eax, dword [rbp + 0x1c]
shl eax, 2
jmp 0x140214708
mov ecx, dword [rsp + 0xa0]
test ecx, ecx
js 0x140213f3d
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 0x140213f44
mov eax, dword [rbp + 0x1c]
mov ecx, eax
xor ecx, edx
test cl, 1
je 0x140213f13
cdqe
mov ecx, dword [rbp + 0x2c]
mov rdx, qword [rbp + 0x10]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rdx + rax*4], ecx
mov eax, dword [rbp + 0x1c]
mov rcx, qword [rbp + 0x10]
movsxd rdx, eax
mov r8d, dword [rcx + rdx*4 - 4]
cmp r8d, dword [rbp + 0x2c]
jne 0x140214655
mov r8d, dword [rbp + 0x34]
cmp dword [rcx + rdx*4 - 8], r8d
jne 0x140214659
jmp 0x14021467c
mov dword [rbp + 0x20], 0xfffff
mov eax, dword [rsp + 0xb4]
mov ecx, eax
shr ecx, 6
mov eax, dword [rbp + 0x30]
sar eax, 6
cmp eax, ecx
jle 0x140213fe8
mov qword [rsp + 0xc0], rcx
dec esi
shr esi, 1
and esi, 0xfffffffe
add rsi, 2
mov r8d, 0xffffffff
xor eax, eax
xor ecx, ecx
jmp 0x140213fb0
mov r10d, r8d
lea r8d, [rdx + 0x10]
mov dword [r9 + rcx*8 + 4], r8d
lea r8d, [rdx + 0x20]
mov r9, qword [rbp]
mov dword [r9 + rcx*8 + 8], r8d
add edx, 0x30
mov r8, qword [rbp]
mov dword [r8 + rcx*8 + 0xc], edx
add rcx, 2
inc eax
mov r8d, r10d
cmp rsi, rcx
je 0x14021400e
mov r9, qword [rbp]
mov edx, dword [r9 + rcx*8]
mov word [rsp + rcx + 0x15e0], dx
mov r10d, 0xffffffff
cmp edx, dword [rbp + 0x20]
jne 0x140213f80
mov r10d, eax
test r8d, r8d
js 0x140213f80
cmp dword [rbp + 0xc], 0
jns 0x140213f7d
lea r10d, [r8 + 0x1f]
cmp r10d, eax
jne 0x140213f7d
mov dword [rbp + 0xc], r8d
jmp 0x140213f7d
mov dword [rbp + 0xc], 0x7fff
mov rax, qword [rsp + 0x100]
mov dword [rbp + 0x30], eax
mov eax, ecx
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x90]
jmp 0x140213d85
xor esi, esi
test r15d, r15d
sete sil
mov dword [rsp + 0x80], 0
mov r8d, 0x5ddc
mov rcx, qword [rsp + 0x90]
xor edx, edx
call fcn.140260830
movdqa xmm0, xmmword [0x140375f80]
movdqu xmmword [rsp + 0x11c], xmm0
mov rax, qword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x15e0]
xor r8d, r8d
xor r9d, r9d
call fcn.140215b60
shl esi, 0xc
mov eax, dword [rbp + 0x30]
sar eax, 4
mov dword [rsp + 0x58], eax
mov ecx, 0
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x40], esi
sub eax, esi
mov qword [rsp + 0x60], rax
jle 0x1402145d4
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x68], eax
mov ebx, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x78], rax
lea rdx, [rbx*4]
xor eax, eax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1402edae0]
mov dword [rsp + 0x80], 0
jmp 0x14021410f
mov rbp, qword [rsp + 0x38]
mov byte [rbp + rbx + 0x40], 3
mov rax, qword [rsp + 0x30]
add eax, 0x24
mov qword [rsp + 0x30], rax
mov al, 1
mov dword [rsp + 0x80], eax
mov r15d, dword [rsp + 0x74]
mov r14, qword [rsp + 0x88]
mov rbx, r12
sub rdx, 0xffffffffffffff80
cmp rbx, qword [rsp + 0x78]
jge 0x1402145d4
mov r13, qword [rbp]
movd xmm1, dword [rbp + 0x20]
pshufd xmm2, xmm1, 0
lea r14, [rbx*4]
movdqu xmm1, xmmword [r13 + rbx*4]
mov rcx, r14
or rcx, 0x10
movdqu xmm4, xmmword [r13 + rcx]
movdqa xmm5, xmm4
por xmm5, xmm1
pcmpeqd xmm1, xmm2
pcmpeqd xmm4, xmm2
mov r11, r14
or r11, 0x20
movdqu xmm6, xmmword [r13 + r11]
mov r15, r14
or r15, 0x30
movdqu xmm3, xmmword [r13 + r15]
movdqa xmm7, xmm3
por xmm7, xmm6
pcmpeqd xmm6, xmm2
por xmm7, xmm5
pcmpeqd xmm3, xmm2
pand xmm3, xmm6
pand xmm3, xmm4
mov r10, r14
or r10, 0x40
movdqu xmm5, xmmword [r13 + r10]
mov rdi, r14
or rdi, 0x50
movdqu xmm6, xmmword [r13 + rdi]
movdqa xmm4, xmm6
por xmm4, xmm5
pcmpeqd xmm5, xmm2
pcmpeqd xmm6, xmm2
pand xmm6, xmm5
mov r8, r14
or r8, 0x60
movdqu xmm5, xmmword [r13 + r8]
por xmm4, xmm5
por xmm4, xmm7
pcmpeqd xmm5, xmm2
mov r9, r14
or r9, 0x70
movdqu xmm7, xmmword [r13 + r9]
por xmm4, xmm7
pcmpeqd xmm7, xmm2
pand xmm7, xmm5
pand xmm7, xmm6
pand xmm7, xmm3
pand xmm7, xmm1
pand xmm7, xmm0
packuswb xmm7, xmm7
packuswb xmm7, xmm7
pshufd xmm1, xmm4, 0xee
por xmm1, xmm4
pshufd xmm2, xmm1, 0x55
por xmm2, xmm1
movd esi, xmm2
movd eax, xmm7
lea r12, [rbx + 0x20]
cmp eax, 0x1010101
jne 0x140214276
mov byte [rbp + rbx + 0x40], 0
cmp dword [rsp + 0x68], 0
jns 0x1402140f0
xor eax, eax
cmp esi, 0x10000
setae al
mov ecx, dword [rsp + 0x80]
movzx ecx, cl
mov r8d, 1
cmovae ecx, r8d
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0x30]
lea ecx, [rcx + rax*4]
add ecx, 0x20
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x68], 0
jmp 0x1402140f0
cmp esi, 0xffff
ja 0x1402140d0
mov eax, dword [r13 + rbx*4]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r14
or rsi, 4
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r14
or rsi, 8
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
mov rsi, r14
or rsi, 0xc
add eax, dword [r13 + rsi]
lea esi, [rax + rax*8]
lea eax, [rax + rsi*4]
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x14
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x18
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x1c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r11]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x24
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x28
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x2c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r15]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x34
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x38
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x3c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r10]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x44
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x48
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x4c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + rdi]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x54
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x58
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x5c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r8]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x64
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x68
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x6c
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
add eax, dword [r13 + r9]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x74
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea eax, [rax + rcx*4]
mov rcx, r14
or rcx, 0x78
add eax, dword [r13 + rcx]
lea ecx, [rax + rax*8]
lea ecx, [rax + rcx*4]
or r14, 0x7c
add ecx, dword [r13 + r14]
imul rax, rcx, 0x574b4629
shr rax, 0x2b
imul eax, eax, 0x1776
mov r8d, ecx
sub r8d, eax
mov rax, qword [rsp + 0x90]
mov r11d, dword [rax + r8*4 + 4]
test r11d, r11d
mov rbp, qword [rsp + 0x38]
mov esi, 0xae8f1b93
je 0x1402145a7
shl ecx, 0xc
inc r8d
lea r10, [rdx + r13]
mov r9d, r8d
jmp 0x1402144f3
add r9d, r8d
mov rax, r9
imul rax, rsi
shr rax, 0x2c
imul eax, eax, 0x1777
sub r9d, eax
mov rax, qword [rsp + 0x90]
mov r11d, dword [rax + r9*4]
test r11d, r11d
je 0x1402145a7
mov eax, r11d
and eax, 0xfffff000
cmp eax, ecx
jne 0x1402144c7
and r11d, 0xfff
lea r11, [rsp + r11*2]
add r11, 0x15de
xor r14d, r14d
nop word cs:[rax + rax]
movzx eax, word [r11 + r14*2]
cmp dword [r10 + r14*4], eax
jne 0x1402144c7
movzx eax, word [r11 + r14*2 + 2]
cmp dword [r10 + r14*4 + 4], eax
jne 0x1402144c7
movzx eax, word [r11 + r14*2 + 4]
cmp dword [r10 + r14*4 + 8], eax
jne 0x1402144c7
movzx eax, word [r11 + r14*2 + 6]
cmp dword [r10 + r14*4 + 0xc], eax
jne 0x1402144c7
add r14, 4
cmp r14d, 0x20
jne 0x140214520
test r9d, r9d
js 0x1402145a7
mov eax, r9d
mov rcx, qword [rsp + 0x90]
mov r8d, dword [rcx + rax*4]
lea rcx, [rbx + rbp]
add rcx, 0x40
mov eax, 0xfff
and r8d, eax
mov r15d, dword [rsp + 0x74]
mov r14, qword [rsp + 0x88]
je 0x1402145bc
dec r8d
mov byte [rcx], 1
mov dword [r13 + rbx*4], r8d
jmp 0x1402140fd
lea rcx, [rbx + rbp]
add rcx, 0x40
mov r15d, dword [rsp + 0x74]
mov r14, qword [rsp + 0x88]
mov rbx, r12
mov byte [rcx], 2
mov rax, qword [rsp + 0x30]
add eax, 0x20
mov qword [rsp + 0x30], rax
jmp 0x140214100
mov rbx, qword [rsp + 0x60]
sar ebx, 5
lea edi, [rbx + 0x1f]
sar edi, 5
mov rax, qword [rsp + 0xc0]
lea esi, [rdi + rax]
add ebx, dword [rsp + 0x30]
add ebx, esi
lea eax, [rbx*2 + 2]
movsxd rcx, eax
call fcn.1401dee00
mov qword [rbp + 0x38], rax
test rax, rax
je 0x140214b4e
mov ecx, dword [rsp + 0xb4]
mov r8d, ecx
shr r8d, 5
lea rdx, [rsp + 0x15e0]
mov rcx, rax
call fcn.1402609f0
cmp ebx, 0x101e
mov qword [rsp + 0xe0], rdi
jge 0x140214683
mov r13, rbx
mov edi, 0x1777
mov r12d, 0xfff
mov ecx, recv
jmp 0x140214afa
mov r8d, dword [rbp + 0x34]
lea eax, [rdx + 1]
mov dword [rbp + 0x1c], eax
mov dword [rcx + rdx*4], r8d
mov eax, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rbp + 0x1c]
lea r8d, [rdx + 1]
mov dword [rbp + 0x1c], r8d
mov dword [rcx + rdx*4], eax
mov eax, dword [rbp + 0x1c]
add eax, eax
jmp 0x140214708
mov r13, rbx
lea eax, [rbx - 0x1f]
cmp eax, 0x7fff
jae 0x140214acd
mov edi, 0xc365
mov r12d, 0x7fff
mov ecx, reloc.WS2_32.dll_ntohs
jmp 0x140214afa
mov r8, qword [rbp + 0x10]
mov edx, dword [r8 + rdx*4 - 4]
cmp edx, dword [rbp + 0x34]
je 0x1402146f6
mov eax, dword [rbp + 0x34]
mov rdx, qword [rbp + 0x10]
movsxd r8, dword [rbp + 0x1c]
lea r9d, [r8 + 1]
mov dword [rbp + 0x1c], r9d
mov dword [rdx + r8*4], eax
inc ecx
and ecx, 3
cmp ecx, 2
jne 0x1402146b7
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x34]
mov rdx, qword [rbp + 0x10]
lea r8d, [rax + 1]
mov dword [rbp + 0x1c], r8d
cdqe
mov dword [rdx + rax*4], ecx
mov r8, qword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x2c]
lea edx, [rax + 1]
mov dword [rbp + 0x1c], edx
cdqe
mov dword [r8 + rax*4], ecx
mov eax, dword [rbp + 0x1c]
add eax, r14d
add eax, 0x30
movsxd rcx, eax
call fcn.1401dee00
test rax, rax
je 0x1402147b6
mov rdi, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm0
movdqu xmmword [rax], xmm0
mov r9, qword [rsp + 0x50]
mov dword [rax + 0x10], r9d
mov eax, dword [rbp + 0x1c]
mov dword [rdi + 0x14], eax
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x18], eax
mov eax, 0xfff
add eax, dword [rbp + 0x30]
shr eax, 0xc
mov word [rdi + 0x1c], ax
mov byte [rdi + 0x1e], r15b
mov byte [rdi + 0x1f], sil
movzx eax, word [rbp + 0xc]
mov word [rdi + 0x26], ax
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x28], eax
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x2c], eax
lea rbx, [rdi + 0x30]
mov qword [rdi], rbx
movsxd r14, r14d
mov eax, dword [rsp + 0xb4]
cmp dword [rbp + 0x30], eax
jle 0x140214833
mov rdx, qword [rbp + 0x38]
mov rcx, rbx
mov r8, r14
mov r15, r9
call fcn.1402609f0
movsxd rax, r15d
lea rax, [rbx + rax*2]
movabs r15, 0xffffffff00000000
jmp 0x1402148d4
mov rax, qword [rsp + 0x88]
mov dword [rax], 7
mov dword [rbp + 0xc], 0xffffffff
movabs rax, 0xffffffff00000000
mov qword [rbp + 0x1c], rax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x38]
call fcn.1401deed0
mov qword [rbp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x1df0]
movaps xmm7, xmmword [rsp + 0x1e00]
add rsp, 0x1e18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbx
test r9d, r9d
movabs r15, 0xffffffff00000000
jle 0x1402148d4
mov ecx, r9d
and ecx, 3
cmp r9d, 4
jae 0x14021485c
xor edx, edx
mov rax, rbx
jmp 0x1402148b3
and r9d, 0xfffffffc
xor eax, eax
xor edx, edx
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8]
mov word [rbx + rax], r8w
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8 + 0x10]
mov word [rbx + rax + 2], r8w
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8 + 0x20]
mov word [rbx + rax + 4], r8w
mov r8, qword [rbp]
movzx r8d, word [r8 + rax*8 + 0x30]
mov word [rbx + rax + 6], r8w
add rdx, 0x10
add rax, 8
add r9d, 0xfffffffc
jne 0x140214864
add rax, rbx
test ecx, ecx
je 0x1402148d4
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 0x1402148bb
add rbx, r14
mov rdx, qword [rbp + 0x10]
cmp esi, 2
je 0x140214952
cmp esi, 1
je 0x1402149ac
test esi, esi
jne 0x1402149c0
mov qword [rdi + 8], rax
mov r10d, dword [rbp + 0x1c]
test r10d, r10d
jle 0x1402149c0
cmp r10d, 0x14
jb 0x14021492e
lea ecx, [r10 - 1]
lea r8, [rdx + rcx*4]
add r8, 4
cmp rax, r8
jae 0x1402149f1
lea rcx, [rax + rcx*2]
add rcx, 2
cmp rdx, rcx
jae 0x1402149f1
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 0x14021493b
jmp 0x1402149c0
mov qword [rdi + 8], rbx
mov r8d, dword [rbp + 0x1c]
test r8d, r8d
jle 0x1402149c0
cmp r8d, 0x14
jb 0x14021498d
lea eax, [r8 - 1]
lea rcx, [rdx + rax*4]
add rcx, 4
cmp rbx, rcx
jae 0x140214a5d
add rax, r14
add rax, rdi
add rax, 0x31
cmp rdx, rax
jae 0x140214a5d
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 0x140214997
jmp 0x1402149c0
mov qword [rdi + 8], rbx
movsxd r8, dword [rbp + 0x1c]
shl r8, 2
mov rcx, rbx
call fcn.1402609f0
mov dword [rbp + 0xc], 0xffffffff
mov qword [rbp + 0x1c], r15
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x38]
call fcn.1401deed0
mov qword [rbp + 0x38], 0
jmp 0x1402147fc
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 0x140214a11
cmp r11, r10
jne 0x140214937
jmp 0x1402149c0
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 [0x1402d91a0]
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 0x140214a84
cmp r9, r8
jne 0x140214993
jmp 0x1402149c0
xor ecx, ecx
cmp eax, 0x1ffff
setae cl
lea ecx, [rcx*4 + 0x11]
mov eax, 0x1ffff
mov r12d, 0x1fffff
cmovb r12d, eax
mov eax, 0x30d43
mov edi, 0x16e367
cmovb edi, eax
mov dword [rsp + 0x9c], ecx
mov dword [rsp + 0x120], ecx
mov dword [rsp + 0x124], r12d
mov rcx, qword [rsp + 0x110]
cmp edi, dword [rsp + 0x118]
jle 0x140214b61
call fcn.1401deed0
lea ebx, [rdi*4]
mov rcx, rbx
call fcn.1401dee00
mov qword [rsp + 0x110], rax
test rax, rax
je 0x140214b4e
mov rcx, rax
mov dword [rsp + 0x118], edi
jmp 0x140214b68
mov dword [r14], 7
xor eax, eax
mov qword [rsp + 0x50], rax
jmp 0x14021580a
lea ebx, [rdi*4]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x11c], edi
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], rcx
xor edx, edx
mov r8, rbx
call fcn.140260830
mov dword [rsp + 0x128], 0x20
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x13c], xmm0
movdqa xmmword [rsp + 0x130], xmm0
test byte [rsp + 0x80], 1
mov edx, dword [rsp + 0x40]
jne 0x140214bdf
mov dword [rsp + 0x48], 0
xor ebx, ebx
xor edi, edi
mov dword [rsp + 0xa8], 0
xor eax, eax
mov qword [rsp + 0xb8], rax
jmp 0x140214d11
cmp r13d, 0x1021
jg 0x140214c17
movabs rax, 0xfff0000000c
mov qword [rsp + 0x140], rax
mov edi, 0x1777
mov dword [rsp + 0xa8], setsockopt
mov dword [rsp + 0x48], 0xfff
jmp 0x140214caf
add r13d, 0xffffffdd
cmp r13d, 0x7ffe
ja 0x140214c50
movabs rax, 0x7fff0000000f
mov qword [rsp + 0x140], rax
mov edi, 0xc365
mov dword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x48], 0x7fff
jmp 0x140214caf
cmp r13d, 0x1fffe
ja 0x140214c85
movabs rax, 0x1ffff00000011
mov qword [rsp + 0x140], rax
mov edi, 0x30d43
mov dword [rsp + 0xa8], setsockopt
mov dword [rsp + 0x48], 0x1ffff
jmp 0x140214caf
movabs rax, 0x1fffff00000015
mov qword [rsp + 0x140], rax
mov edi, 0x16e367
mov dword [rsp + 0xa8], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x48], 0x1fffff
xor ecx, ecx
call fcn.1401deed0
lea r15d, [rdi*4]
mov rcx, r15
call fcn.1401dee00
mov qword [rsp + 0x130], rax
test rax, rax
je 0x140215822
mov rbx, rax
mov dword [rsp + 0x138], edi
mov dword [rsp + 0x13c], edi
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.140260830
mov dword [rsp + 0x148], 0x24
mov eax, 0x24
mov qword [rsp + 0xb8], rax
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
mov eax, dword [rbp + 0xc]
cmp ecx, edx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], r12d
jle 0x140215477
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0x90], rdi
mov r8d, ecx
lea ecx, [rdi - 1]
mov dword [rsp + 0xc8], ecx
mov ecx, dword [rsp + 0x48]
not ecx
mov dword [rsp + 0xa4], ecx
mov r15d, edx
not edx
add r8d, edx
shr r8d, 5
mov ecx, r8d
inc ecx
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0x60]
dec ecx
mov dword [rsp + 0xa0], ecx
mov ecx, r12d
not ecx
mov dword [rsp + 0x4c], ecx
movsxd rcx, esi
mov qword [rsp + 0xd8], rcx
lea rbx, [r15*4]
mov rcx, qword [rsp + 0xb8]
inc ecx
mov dword [rsp + 0xe8], ecx
xor ebp, ebp
mov r11d, eax
mov r10d, esi
jmp 0x140214dcc
mov word [rsp + rbp*2 + 0x4e0], di
inc rbp
add r15, 0x20
sub rbx, 0xffffffffffffff80
cmp rbp, qword [rsp + 0x78]
je 0x14021547c
mov rcx, qword [rsp + 0x38]
mov edx, dword [rcx + r15 + 0x40]
test dl, dl
sete r8b
test r11d, r11d
sets r9b
cmp dword [rcx + 0x20], 0x10000
setl cl
xor cl, 3
movzx ecx, cl
test r8b, r9b
cmove ecx, edx
mov edx, 0
cmovne r11d, edx
test cl, cl
je 0x140214e2d
movzx eax, cl
cmp eax, 2
mov qword [rsp + 0x50], r10
je 0x140214e39
cmp eax, 1
jne 0x140214f33
mov rsi, qword [rsp + 0x38]
mov rax, qword [rsi]
mov edi, dword [rax + r15*4]
jmp 0x140215454
mov edi, eax
mov rsi, qword [rsp + 0x38]
jmp 0x140215454
mov dword [rsp + 0x58], r11d
movsxd r10, r15d
shl r10, 2
mov rax, qword [rsp + 0x38]
mov r9, qword [rax]
mov r8, qword [rax + 0x38]
mov rcx, r15
shl rcx, 0x20
movsxd rdx, r15d
mov rax, rcx
sar rax, 0x1e
mov eax, dword [r9 + rax]
or rdx, 1
movabs r11, 0x2000000000
add rcx, r11
sar rcx, 0x20
nop dword [rax + rax]
lea r11d, [rax + rax*8]
lea eax, [rax + r11*4]
add eax, dword [r9 + rdx*4]
inc rdx
cmp rdx, rcx
jl 0x140214e80
mov r11d, eax
mov ecx, dword [rsp + 0x9c]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xa0]
lea ecx, [rdx + 1]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + rdx*4 + 4]
test eax, eax
je 0x1402151ee
add r10, r9
mov edx, ecx
jmp 0x140214edf
add edx, ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + rdx*4]
test eax, eax
je 0x1402151f0
mov esi, eax
and esi, dword [rsp + 0x4c]
cmp esi, r11d
jne 0x140214ec5
and eax, r12d
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor edi, edi
movzx esi, word [rax + rdi*2]
cmp dword [r10 + rdi*4], esi
jne 0x140214ec5
movzx esi, word [rax + rdi*2 + 2]
cmp dword [r10 + rdi*4 + 4], esi
jne 0x140214ec5
movzx esi, word [rax + rdi*2 + 4]
cmp dword [r10 + rdi*4 + 8], esi
jne 0x140214ec5
movzx esi, word [rax + rdi*2 + 6]
cmp dword [r10 + rdi*4 + 0xc], esi
jne 0x140214ec5
add rdi, 4
cmp edi, 0x20
jne 0x140214ef7
jmp 0x1402151f2
mov dword [rsp + 0x58], r11d
lea rax, [r15 + 0x20]
movsxd r14, r10d
lea r9, [r14 + r14]
mov rcx, r9
mov rdx, r15
mov rsi, qword [rsp + 0x38]
nop
mov r8, qword [rsi]
mov r10, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4]
mov word [r10 + rcx + 2], r8w
shr r8d, 2
and r8d, 0xc000
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 4]
mov word [r11 + rcx + 4], r10w
shr r10d, 4
and r10d, 0x3000
or r10d, r8d
mov r8, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4 + 8]
mov word [r11 + rcx + 6], r8w
shr r8d, 6
and r8d, 0xc00
or r8d, r10d
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 0xc]
mov word [r11 + rcx + 8], r10w
shr r10d, 8
and r10d, 0x300
or r10d, r8d
mov r8, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4 + 0x10]
mov word [r11 + rcx + 0xa], r8w
shr r8d, 0xa
and r8d, 0xc0
or r8d, r10d
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 0x14]
mov word [r11 + rcx + 0xc], r10w
shr r10d, 0xc
and r10d, 0x30
or r10d, r8d
mov r8, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r8d, dword [r8 + rdx*4 + 0x18]
mov word [r11 + rcx + 0xe], r8w
shr r8d, 0xe
and r8d, 0xc
or r8d, r10d
mov r10, qword [rsi]
mov r11, qword [rsi + 0x38]
mov r10d, dword [r10 + rdx*4 + 0x1c]
add rdx, 8
mov word [r11 + rcx + 0x10], r10w
shr r10d, 0x10
and r10d, 3
or r10d, r8d
mov r8, qword [rsi + 0x38]
mov word [r8 + rcx], r10w
add rcx, 0x12
cmp rdx, rax
jb 0x140214f50
mov r8, qword [rsi + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
lea edx, [rax + rcx]
lea ecx, [rax + 1]
lea r10, [r8 + r14*2]
movzx eax, word [r8 + r14*2]
movsxd rcx, ecx
movsxd rdx, edx
nop word cs:[rax + rax]
lea r11d, [rax + rax*8]
lea r11d, [rax + r11*4]
movzx eax, word [r8 + rcx*2]
inc rcx
add eax, r11d
cmp rcx, rdx
jl 0x140215090
mov r11d, eax
mov ecx, dword [rsp + 0xa8]
shl r11d, cl
xor edx, edx
div dword [rsp + 0xc8]
mov ecx, edx
inc ecx
movsxd rax, ecx
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rdx + rax*4]
mov edx, ecx
test eax, eax
jne 0x1402150fa
mov edx, ecx
not edx
jmp 0x14021513b
add edx, ecx
mov eax, edx
cdq
idiv dword [rsp + 0x90]
movsxd rax, edx
mov rsi, qword [rsp + 0xd0]
mov eax, dword [rsi + rax*4]
test eax, eax
je 0x1402150d8
mov esi, eax
and esi, dword [rsp + 0xa4]
cmp esi, r11d
jne 0x1402150dc
test byte [rsp + 0x80], 1
je 0x14021513b
and eax, dword [rsp + 0x48]
dec eax
cdqe
mov esi, dword [rsp + 0xe8]
mov rdi, r8
movzx r13d, word [rdi + rax*2]
cmp r13w, word [rdi + r9]
jne 0x1402150dc
add rdi, 2
dec esi
cmp esi, 1
jg 0x140215124
test edx, edx
mov r11d, dword [rsp + 0x58]
js 0x140215163
mov eax, edx
mov rcx, qword [rsp + 0xd0]
mov edi, dword [rcx + rax*4]
and edi, dword [rsp + 0x48]
jle 0x140215163
dec edi
mov r10, qword [rsp + 0x50]
jmp 0x140215441
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rsi, qword [rsp + 0x50]
cmp esi, eax
je 0x1402153e5
mov eax, 0x23
mov rcx, 0xffffffffffffffba
mov edx, 0x24
mov r9, 0xffffffffffffffbc
mov r11d, edx
mov rsi, r10
movzx edi, word [rsi + rcx]
cmp di, word [rsi]
jne 0x1402151af
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140215194
jmp 0x1402152b9
cmp rax, 2
jb 0x1402153de
lea r11, [rax - 1]
mov esi, eax
mov rdi, r10
movzx r13d, word [rdi + r9]
cmp r13w, word [rdi]
jne 0x1402151dd
add rdi, 2
dec esi
cmp esi, 1
jg 0x1402151c2
jmp 0x14021537e
add rax, 0xfffffffffffffffe
add rcx, 4
add edx, 0xfffffffe
add r9, 4
jmp 0x14021518e
mov edx, ecx
not edx
test edx, edx
mov r10, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x58]
js 0x140215216
mov eax, edx
mov rcx, qword [rsp + 0x68]
mov edi, dword [rcx + rax*4]
and edi, r12d
sub edi, 1
jae 0x1402152aa
mov edi, dword [rsp + 0x30]
cmp r10d, edi
jne 0x14021522f
mov rax, qword [rsp + 0xd8]
xor r11d, r11d
jmp 0x1402152d6
movsxd rax, r10d
lea rdx, [r8 + rax*2]
add rdx, 0xffffffffffffffc2
add r9, rbx
lea r10, [r8 + rax*2]
add r10, 0xffffffffffffffc4
mov ecx, 0x1f
mov edi, 0x20
mov r11d, edi
xor esi, esi
movzx r14d, word [rdx + rsi]
cmp dword [r9 + rsi*2], r14d
jne 0x14021526e
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140215254
jmp 0x1402152b4
cmp rcx, 2
jb 0x1402153ce
lea r11, [rcx - 1]
mov esi, ecx
xor r14d, r14d
movzx r13d, word [r10 + r14]
cmp dword [r9 + r14*2], r13d
jne 0x140215299
add r14, 2
dec esi
cmp esi, 1
jg 0x140215281
jmp 0x1402152c1
add rcx, 0xfffffffffffffffe
add rdx, 4
add edi, 0xfffffffe
add r10, 4
jmp 0x14021524f
mov rsi, qword [rsp + 0x38]
jmp 0x140215454
mov r11, rcx
jmp 0x1402152c4
mov r11, rax
jmp 0x140215381
mov ecx, r11d
mov r10, qword [rsp + 0x50]
mov edi, r10d
sub edi, ecx
mov r14d, r10d
cmp ecx, 0x1f
jg 0x14021530c
inc r11
mov rcx, r11
mov r9, qword [rsp + 0x38]
mov rdx, qword [r9]
add rdx, rbx
movzx edx, word [rdx + r11*4 - 4]
mov r8, qword [r9 + 0x38]
mov word [r8 + rax*2], dx
inc rax
inc rcx
cmp r11d, 0x20
mov r11, rcx
jne 0x1402152e1
mov r8, qword [r9 + 0x38]
mov r14d, eax
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x30]
mov r8d, r12d
mov r9d, r10d
mov r13, r10
call fcn.140215b60
test byte [rsp + 0x80], 1
jne 0x140215343
mov r10d, r14d
mov rsi, qword [rsp + 0x38]
jmp 0x140215367
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsi + 0x38]
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, r13d
call fcn.140215b60
mov r10d, r14d
mov r14, qword [rsp + 0x88]
mov r12d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x58]
jmp 0x140215454
mov eax, r11d
mov rsi, qword [rsp + 0x50]
mov edi, esi
sub edi, eax
test eax, eax
jle 0x1402153e5
cmp eax, 0x23
ja 0x1402153c9
lea rax, [r11 + r11]
inc r11
mov rcx, r11
mov r10, qword [rsp + 0x38]
mov rdx, qword [r10 + 0x38]
lea r8, [rdx + r14*2]
movzx r8d, word [rax + r8]
mov word [rdx + r14*2], r8w
inc r14
inc rcx
cmp r11d, 0x24
mov r11, rcx
jne 0x1402153a2
mov r8, qword [r10 + 0x38]
jmp 0x1402153e9
mov r14d, esi
jmp 0x1402153e9
mov r10, qword [rsp + 0x50]
mov edi, r10d
xor r11d, r11d
jmp 0x1402152d6
mov rsi, qword [rsp + 0x50]
mov edi, esi
lea r14d, [rsi + 0x24]
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r12d, dword [rsp + 0x30]
mov r8d, r12d
mov r9d, esi
call fcn.140215b60
test byte [rsp + 0x80], 1
je 0x140215434
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x38]
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x130]
mov r8d, r12d
mov r9d, esi
call fcn.140215b60
mov r10d, r14d
mov r12d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x58]
or edi, 0x8000
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x88]
mov eax, dword [rsi + 0xc]
test eax, eax
jns 0x140214dae
test r11d, r11d
js 0x140214dae
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xc], edi
mov eax, edi
jmp 0x140214dae
mov r10d, esi
jmp 0x140215485
mov rbp, qword [rsp + 0x38]
mov esi, dword [rsp + 0x30]
test eax, eax
jns 0x140215490
mov dword [rbp + 0xc], 0x7fff
cmp r10d, 0x801e
mov rax, qword [rsp + 0x78]
jle 0x1402154ad
mov dword [r14], 8
xor r10d, r10d
jmp 0x1402157eb
test eax, eax
jle 0x1402157eb
movsxd rax, esi
mov qword [rsp + 0x68], rax
mov r14d, dword [rsp + 0xc0]
mov rax, qword [rsp + 0x60]
dec eax
mov dword [rsp + 0x80], eax
mov r15, qword [rsp + 0x110]
not r12d
movsxd rax, dword [rsp + 0xe0]
add rax, rax
lea rax, [rax + r14*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x78]
lea ecx, [rax + 1]
mov dword [rsp + 0x4c], ecx
mov edi, 0x20
xor ebx, ebx
jmp 0x14021554b
mov r8, qword [rsi + 0x38]
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x110]
mov rdx, r8
mov r8d, dword [rsp + 0x30]
mov r9d, r10d
call fcn.140215b60
mov r8, qword [rsi + 0x38]
mov r10d, r13d
mov word [r8 + r14*2], bp
inc r14
add ebx, edi
mov rax, qword [rsp + 0x78]
cmp eax, ebx
mov rbp, qword [rsp + 0x38]
jle 0x1402157eb
sub eax, ebx
mov r8, qword [rbp + 0x38]
cmp eax, edi
jge 0x14021556b
mov ecx, r10d
sub ecx, eax
cmp ecx, dword [rsp + 0x30]
jge 0x140215664
mov edi, eax
jmp 0x1402156d4
mov r13, r10
lea edx, [rbx + 0x20]
lea ecx, [rbx + 1]
movsxd rax, ebx
lea r9, [rsp + rax*2]
add r9, 0x4e0
movzx eax, word [rsp + rax*2 + 0x4e0]
movsxd rcx, ecx
movsxd rdx, edx
mov rbp, qword [rsp + 0x60]
nop word cs:[rax + rax]
lea r10d, [rax + rax*8]
lea r10d, [rax + r10*4]
movzx eax, word [rsp + rcx*2 + 0x4e0]
inc rcx
add eax, r10d
cmp rcx, rdx
jl 0x1402155a0
mov r10d, eax
mov ecx, dword [rsp + 0x9c]
shl r10d, cl
xor edx, edx
div dword [rsp + 0x80]
lea ecx, [rdx + 1]
mov eax, dword [r15 + rdx*4 + 4]
mov edx, ecx
test eax, eax
jne 0x1402155f5
mov edx, ecx
not edx
jmp 0x14021564f
add edx, ecx
mov eax, edx
xor edx, edx
div ebp
mov eax, dword [r15 + rdx*4]
test eax, eax
je 0x1402155e1
mov r11d, eax
and r11d, r12d
cmp r11d, r10d
jne 0x1402155e5
and eax, dword [rsp + 0x40]
lea rax, [r8 + rax*2]
add rax, 0xfffffffffffffffe
xor r11d, r11d
movzx esi, word [rax + r11*2]
cmp si, word [r9 + r11*2]
jne 0x1402155e5
movzx esi, word [rax + r11*2 + 2]
cmp si, word [r9 + r11*2 + 2]
jne 0x1402155e5
movzx esi, word [rax + r11*2 + 4]
cmp si, word [r9 + r11*2 + 4]
jne 0x1402155e5
movzx esi, word [rax + r11*2 + 6]
cmp si, word [r9 + r11*2 + 6]
jne 0x1402155e5
add r11, 4
cmp r11d, 0x20
jne 0x14021560f
test edx, edx
mov r10, r13
js 0x1402156d4
mov eax, edx
mov ebp, dword [r15 + rax*4]
and ebp, dword [rsp + 0x40]
dec ebp
jmp 0x1402156cc
mov r13, r10
movsxd rdx, ebx
lea rdx, [rsp + rdx*2]
add rdx, 0x4e0
inc ecx
mov r9, qword [rsp + 0x58]
add r9, r8
mov r10d, dword [rsp + 0x4c]
sub r10d, ebx
mov rbp, qword [rsp + 0x68]
test eax, eax
jle 0x1402156af
mov r11d, r10d
xor esi, esi
movzx edi, word [r9 + rsi]
cmp di, word [rdx + rsi]
jne 0x1402156b5
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140215695
jmp 0x1402156c7
je 0x1402157e4
inc rbp
add r9, 2
cmp ecx, ebp
jne 0x14021568c
mov edi, eax
mov r10, r13
jmp 0x1402156d4
mov edi, eax
mov r10, r13
test ebp, ebp
jns 0x14021552f
xor eax, eax
cmp r10d, dword [rsp + 0x30]
je 0x140215748
movsxd rcx, ebx
cmp edi, 1
jle 0x140215739
lea rcx, [rsp + rcx*2]
add rcx, 0x4e0
mov edx, edi
mov r13, r10
movsxd r9, r10d
add r9, r9
sub r9, rdx
sub r9, rdx
add r9, r8
add r9, 2
mov r10, rdx
dec rdx
mov r11d, r10d
xor esi, esi
movzx ebp, word [r9 + rsi]
cmp bp, word [rcx + rsi]
jne 0x14021572d
add rsi, 2
dec r11d
cmp r11d, 1
jg 0x140215713
jmp 0x140215743
add r9, 2
cmp r10, 3
jge 0x140215708
jmp 0x140215745
lea eax, [rdi - 1]
mov ebp, r10d
sub ebp, eax
jmp 0x140215754
mov eax, edx
mov r10, r13
mov ebp, r10d
sub ebp, eax
cmp eax, edi
jge 0x140215767
movsxd rcx, ebx
movsxd rdx, eax
movsxd r13, r10d
mov eax, edi
sub eax, edx
test al, 1
jne 0x140215774
mov rax, rdx
jmp 0x140215796
mov r13d, r10d
mov rsi, qword [rsp + 0x38]
jmp 0x14021550b
lea rax, [rdx + 1]
lea r8, [rcx + rdx]
movzx r8d, word [rsp + r8*2 + 0x4e0]
mov r9, qword [rsp + 0x38]
mov r9, qword [r9 + 0x38]
mov word [r9 + r13*2], r8w
inc r13
movsxd r8, edi
not rdx
add rdx, r8
mov rsi, qword [rsp + 0x38]
je 0x140215507
lea rdx, [rsp + 0x4e2]
lea rcx, [rdx + rcx*2]
movzx edx, word [rcx + rax*2 - 2]
mov r9, qword [rsi + 0x38]
mov word [r9 + r13*2], dx
movzx edx, word [rcx + rax*2]
add rax, 2
mov r9, qword [rsi + 0x38]
mov word [r9 + r13*2 + 2], dx
add r13, 2
cmp r8, rax
jne 0x1402157b6
jmp 0x140215507
xor edi, edi
jmp 0x1402156c9
mov qword [rsp + 0x50], r10
mov rcx, qword [rsp + 0x130]
mov r14, qword [rsp + 0x88]
call fcn.1401deed0
mov r15d, dword [rsp + 0x74]
mov r8, qword [rsp + 0x110]
mov rax, qword [rsp + 0x100]
mov dword [rbp + 0x30], eax
jmp 0x140213d85
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [r14], 7
xor ecx, ecx
jmp 0x140215800