Function at 0x180001090
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]
cmp dword [0x180020a6c], 0xa
jl 0x1800010c2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800010c2
nop
jmp 0x1800010c0
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rdx, rsp
mov esi, dword [0x180020a74]
mov ebx, dword [0x180020a78]
cmp ebx, 0xa
jl 0x180001102
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
je 0x180001102
nop
jmp 0x180001100
mov al, byte [section..data]
mov byte [rbp], al
mov r15d, dword [0x180020a74]
mov r8d, dword [0x180020a78]
lea r13d, [r15 - 1]
imul r13d, r15d
and r13d, 1
sete al
cmp r8d, 0xa
setl cl
or cl, al
mov r9b, byte [0x180004001]
mov r10b, byte [0x180004002]
mov eax, dword [0x180020a70]
mov r11, rdx
lea edx, [rax - 1]
imul edx, eax
test dl, 1
mov rdx, r11
sete al
cmp dword [0x180020a6c], 0xa
mov r11b, byte [0x180004003]
setl r12b
or r12b, al
mov r14d, ecx
or r14b, cl
cmp ebx, 0xa
jl 0x180001186
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001300
mov al, byte [rbp]
mov byte [rdi], al
test cl, cl
jne 0x180001199
nop
test cl, cl
je 0x180001190
mov al, byte [rbp]
mov byte [rdi], al
cmp r8d, 0xa
jl 0x1800011a8
test r13d, r13d
jne 0x180001300
mov byte [rdi + 1], r9b
test cl, cl
jne 0x1800011b8
test cl, cl
je 0x1800011b0
mov byte [rdi + 1], r9b
cmp r8d, 0xa
jl 0x1800011c7
test r13d, r13d
jne 0x180001300
mov byte [rdi + 2], r10b
test cl, cl
jne 0x1800011d8
nop
test cl, cl
je 0x1800011d0
mov byte [rdi + 2], r10b
cmp r8d, 0xa
jl 0x1800011e7
test r13d, r13d
jne 0x180001300
mov byte [rdi + 3], r11b
test cl, cl
jne 0x1800011f8
nop
test cl, cl
je 0x1800011f0
mov byte [rdi + 3], r11b
cmp r8d, 0xa
jl 0x180001207
test r13d, r13d
jne 0x180001300
test r12b, r12b
jne 0x180001362
cmp r8d, 0xa
jl 0x18000121f
test r13d, r13d
jne 0x180001320
test cl, cl
mov eax, r13d
cmovne eax, r13d
mov esi, r8d
cmovne esi, r8d
test r14b, r14b
je 0x180001330
cmp esi, 0xa
jl 0x180001245
test eax, eax
jne 0x180001310
test cl, cl
mov eax, r13d
cmovne eax, r13d
mov esi, r8d
cmovne esi, r8d
test r14b, r14b
je 0x180001340
cmp esi, 0xa
jl 0x18000126b
test eax, eax
jne 0x180001310
test cl, cl
mov eax, r13d
cmovne eax, r13d
mov esi, r8d
cmovne esi, r8d
test r14b, r14b
je 0x180001350
cmp esi, 0xa
jl 0x180001291
test eax, eax
jne 0x180001310
test cl, cl
mov eax, r13d
cmovne eax, r13d
mov esi, r15d
cmovne esi, esi
mov ebx, r8d
cmovne ebx, r8d
test r14b, r14b
je 0x180001360
cmp ebx, 0xa
jl 0x1800012b9
test eax, eax
jne 0x180001310
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rdx, rsp
cmp ebx, 0xa
jl 0x180001172
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
je 0x180001172
jmp 0x180001100
jmp 0x180001300
jmp 0x180001310
jmp 0x180001320
jmp 0x180001330
jmp 0x180001340
jmp 0x180001350
jmp 0x180001360
mov r9d, dword [rdi]
test r9, r9
je 0x180001485
xor ecx, ecx
cmp r9d, 0x10
jb 0x180001451
lea rax, [r9 - 1]
cmp rax, 0x400
jae 0x180001451
mov r10, rdx
mov ecx, r9d
and ecx, 0xfffffff0
lea rdx, [rcx - 0x10]
mov rbx, rdx
shr rbx, 4
add rbx, 1
mov eax, ebx
and eax, 1
test rdx, rdx
je 0x180001415
mov rsi, rax
sub rsi, rbx
xor ebx, ebx
lea rdi, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov edx, ebx
and edx, 0x3e0
movups xmm1, xmmword [rdx + rdi + 4]
movups xmm2, xmmword [rbx + rdi + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rbx + rdi + 0x414]
xorps xmm2, xmm0
movups xmmword [rbx + rdi + 0x404], xmm2
lea edx, [rbx + 0x10]
and edx, 0x3f0
movups xmm2, xmmword [rdx + rdi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rbx + rdi + 0x414], xmm1
add rbx, 0x20
add rsi, 2
jne 0x1800013c2
jmp 0x180001417
xor ebx, ebx
test rax, rax
je 0x180001449
mov eax, ebx
and eax, 0x3f0
lea rdx, section..data
movups xmm0, xmmword [rax + rdx + 4]
movups xmm1, xmmword [rbx + rdx + 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 [rbx + rdx + 0x404], xmm1
cmp rcx, r9
mov rdx, r10
je 0x180001485
lea rbx, section..data
nop dword [rax + rax]
mov eax, ecx
and eax, 0x3ff
movzx eax, byte [rax + rbx + 4]
xor al, byte [rcx + rbx + 0x404]
xor al, 0xc
mov byte [rcx + rbx + 0x404], al
add rcx, 1
cmp rcx, r9
jb 0x180001460
cmp r8d, 0xa
jl 0x180001492
test r13d, r13d
je 0x180001492
jmp 0x180001490
lea rsi, section..data
lea r13, [r9 + rsi]
add r13, 0x404
mov bl, byte [r13]
mov rdi, rdx
mov byte [rdx], bl
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x1800014cf
test ecx, ecx
je 0x1800014cf
mov byte [rdi], bl
jmp 0x1800014ad
cmp edx, 0xa
jl 0x1800014dc
test ecx, ecx
jne 0x1800015f0
mov r8b, byte [r13 + 1]
mov byte [rdi + 1], r8b
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x18000152a
test ecx, ecx
je 0x18000152a
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp edx, 0xa
setl bl
or bl, al
test bl, bl
je 0x180001522
mov byte [rdi + 1], r8b
cmp edx, 0xa
jl 0x180001537
test ecx, ecx
jne 0x1800015f0
mov r8b, byte [r13 + 2]
mov byte [rdi + 2], r8b
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x180001585
test ecx, ecx
je 0x180001585
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp edx, 0xa
setl bl
or bl, al
test bl, bl
je 0x18000157d
mov byte [rdi + 2], r8b
cmp edx, 0xa
jl 0x18000158e
test ecx, ecx
jne 0x1800015f0
mov r8b, byte [r13 + 3]
mov byte [rdi + 3], r8b
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x1800015dc
test ecx, ecx
je 0x1800015dc
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp edx, 0xa
setl bl
or bl, al
test bl, bl
je 0x1800015d4
mov byte [rdi + 3], r8b
cmp edx, 0xa
jl 0x1800015f2
test ecx, ecx
je 0x1800015f2
nop word cs:[rax + rax]
nop
jmp 0x1800015f0
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x180020a6c], 0xa
setl cl
or cl, al
cmp cl, 1
jne 0x180001650
add r13, 4
mov eax, dword [rdi]
lea rdx, [r9 + rsi]
add rdx, 0x408
xor edi, edi
cmp rax, rdi
je 0x180001652
mov ebx, edi
and ebx, 0x3ff
movzx ebx, byte [rbx + rsi + 4]
xor byte [rdx + rdi], bl
add rdi, 1
test cl, cl
jne 0x180001628
nop word cs:[rax + rax]
nop
jmp 0x180001650
cmp dword [0x180020a7c], 0xa
mov qword [rbp], r13
jl 0x180001674
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800018a0
movsxd rax, dword [0x180004440]
lea r14, [rax + rsi]
add r14, 0x404
mov r12, r13
cmp byte [r12], 0
lea r12, [r12 + 1]
jne 0x180001689
mov r15, r12
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001698
mov r13, r15
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x1800016a5
mov rdi, r13
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800016b3
mov rbx, rdi
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x1800016bf
mov rsi, rbx
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x1800016cb
sub rsp, 0x20
mov rcx, r12
call fcn.180001ff0
mov rcx, rax
mov rdx, r15
call fcn.180001ec0
mov rcx, rbx
call rax
mov rcx, rax
mov rdx, rdi
call fcn.180001ec0
sub rsp, 0x10
mov qword [rsp + 0x28], 0x1388
mov qword [rsp + 0x20], 0
mov r9d, 0x10
xor ecx, ecx
mov rdx, rsi
mov r8, rsi
call rax
add rsp, 0x10
mov rcx, r12
call fcn.180001ff0
mov rcx, rax
mov rdx, qword [rbp]
call fcn.180001ec0
add rsp, 0x20
mov qword [rbp - 8], r14
mov edx, dword [r14 + 0x50]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call rax
add rsp, 0x20
mov r14, rax
mov esi, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea ecx, [rsi - 1]
imul ecx, esi
cmp eax, 0xa
jl 0x1800018a4
mov edx, ecx
and edx, 1
je 0x1800018a4
movsxd r12, dword [0x180004440]
cmp dword [0x180020a7c], 0xa
mov r13, qword [rbp]
mov r14, r13
jl 0x1800017b5
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
mov r14, r13
and ecx, 1
jne 0x1800018a2
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x1800017b5
mov r15, r14
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x1800017c2
mov rdi, r15
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800017cf
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800017d8
mov rsi, rdi
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x1800017e4
mov rbx, rsi
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x1800017f0
sub rsp, 0x20
mov rcx, r14
call fcn.180001ff0
mov rcx, rax
mov rdx, r15
call fcn.180001ec0
mov rcx, rsi
call rax
mov rcx, rax
mov rdx, rdi
call fcn.180001ec0
sub rsp, 0x10
mov qword [rsp + 0x28], 0x1388
mov qword [rsp + 0x20], 0
mov r9d, 0x10
xor ecx, ecx
mov rdx, rbx
mov r8, rbx
call rax
add rsp, 0x10
mov rcx, r14
call fcn.180001ff0
mov rcx, rax
mov rdx, r13
call fcn.180001ec0
add rsp, 0x20
lea rsi, section..data
mov edx, dword [r12 + rsi + 0x454]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call rax
add rsp, 0x20
cmp dword [0x180020a7c], 0xa
jge 0x18000165f
jmp 0x180001674
jmp 0x1800018a0
jmp 0x1800018a2
test cl, 1
sete cl
cmp eax, 0xa
setl dl
or dl, cl
cmp dl, 1
jne 0x180001af6
mov rcx, qword [rbp - 8]
lea r8, [rcx + 0x108]
xor r9d, r9d
mov rcx, qword [rbp - 8]
movzx ecx, word [rcx + 6]
cmp r9, rcx
jae 0x180001b04
lea rax, [r9 + r9*4]
lea r10, [r8 + rax*8]
add r10, 0xc
mov ebx, dword [0x180020a74]
mov edi, dword [0x180020a78]
cmp edi, 0xa
jl 0x180001906
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001b00
cmp edi, 0xa
jl 0x18000191a
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001afa
mov eax, dword [r10 + 4]
test rax, rax
je 0x180001989
mov esi, dword [r10]
add rsi, r14
mov ecx, dword [r10 + 8]
lea rdx, section..data
add rcx, rdx
add rcx, 0x404
jmp 0x180001951
add rax, 0xffffffffffffffff
add rsi, 1
add rcx, 1
test rax, rax
je 0x180001989
movzx edx, byte [rcx]
mov byte [rsi], dl
mov ebx, dword [0x180020a74]
mov edi, dword [0x180020a78]
lea edx, [rbx - 1]
imul edx, ebx
and edx, 1
cmp edi, 0xa
jl 0x18000197b
test edx, edx
je 0x18000197b
movzx edx, byte [rcx]
mov byte [rsi], dl
jmp 0x180001951
cmp edi, 0xa
jl 0x180001940
test edx, edx
je 0x180001940
jmp 0x180001afa
mov esi, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea ecx, [rsi - 1]
imul ecx, esi
cmp eax, 0xa
jl 0x180001adb
mov edx, ecx
and edx, 1
je 0x180001adb
cmp edi, 0xa
jl 0x1800019c3
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001afe
mov eax, dword [r10 + 4]
test rax, rax
je 0x180001a33
mov ecx, dword [r10 + 8]
lea rdx, section..data
lea rsi, [rcx + rdx]
add rsi, 0x404
mov ecx, dword [r10]
add rcx, r14
jmp 0x1800019fb
add rax, 0xffffffffffffffff
add rcx, 1
add rsi, 1
test rax, rax
je 0x180001a33
movzx edx, byte [rsi]
mov byte [rcx], dl
mov ebx, dword [0x180020a74]
mov edi, dword [0x180020a78]
lea edx, [rbx - 1]
imul edx, ebx
and edx, 1
cmp edi, 0xa
jl 0x180001a25
test edx, edx
je 0x180001a25
movzx edx, byte [rsi]
mov byte [rcx], dl
jmp 0x1800019fb
cmp edi, 0xa
jl 0x1800019ea
test edx, edx
je 0x1800019ea
jmp 0x180001af8
cmp edi, 0xa
jl 0x180001a47
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001b02
mov eax, dword [r10 + 4]
test rax, rax
je 0x180001ab4
mov ecx, dword [r10 + 8]
lea rdx, section..data
lea rsi, [rcx + rdx]
add rsi, 0x404
mov ecx, dword [r10]
add rcx, r14
jmp 0x180001a7f
add rax, 0xffffffffffffffff
add rcx, 1
add rsi, 1
test rax, rax
je 0x180001ab4
movzx edx, byte [rsi]
mov byte [rcx], dl
mov ebx, dword [0x180020a74]
mov edi, dword [0x180020a78]
lea edx, [rbx - 1]
imul edx, ebx
and edx, 1
cmp edi, 0xa
jl 0x180001aa9
test edx, edx
je 0x180001aa9
movzx edx, byte [rsi]
mov byte [rcx], dl
jmp 0x180001a7f
cmp edi, 0xa
jl 0x180001a6e
test edx, edx
je 0x180001a6e
jmp 0x180001afc
cmp dword [0x180020a6c], 0xa
jl 0x1800018f2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800019af
jmp 0x1800018f2
add r9, 1
test cl, 1
sete cl
cmp eax, 0xa
setl dl
or dl, cl
cmp dl, 1
je 0x1800018c9
jmp 0x180001af6
jmp 0x180001af8
jmp 0x180001afa
jmp 0x180001afc
jmp 0x180001afe
jmp 0x180001b00
jmp 0x180001b02
mov rcx, qword [rbp - 8]
mov ebx, dword [rcx + 0xb0]
cmp dword [r14 + rbx], 0
je 0x180001ca3
add rbx, r14
mov rcx, qword [rbp - 8]
mov rdi, qword [rcx + 0x30]
mov rcx, r14
sub rcx, rdi
mov r10, rbx
jmp 0x180001b5b
mov edi, dword [r10 + 4]
lea rbx, [r10 + rdi]
lea edx, [rsi - 1]
imul edx, esi
test dl, 1
sete r8b
cmp eax, 0xa
setl dl
or dl, r8b
cmp dword [r10 + rdi], 0
mov r10, rbx
je 0x180001ca3
test dl, 1
je 0x180001b5b
mov r8d, dword [r10 + 4]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
cmp r8, 7
jbe 0x180001c8c
cmp eax, 0xa
jl 0x180001b84
test edi, edi
jne 0x180001c9f
movabs rdx, 0x1fffffff8
add r8, rdx
shr r8, 1
mov r9d, r8d
xor r11d, r11d
cmp r11, r9
je 0x180001c8c
movzx edi, word [r10 + r11*2 + 8]
mov edx, edi
shr edx, 0xc
mov r8d, edi
and r8d, 0xfff
cmp edi, 0xa000
jae 0x180001be4
cmp edx, 3
jne 0x180001c74
mov eax, dword [rbx]
lea rax, [r14 + rax*4]
add dword [rax + r8*4], ecx
mov esi, dword [0x180020a70]
mov eax, dword [0x180020a6c]
jmp 0x180001c74
cmp edx, 0xa
jne 0x180001c74
mov edi, r8d
cmp eax, 0xa
jl 0x180001c14
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001c3c
jmp 0x180001c14
add r11, 1
cmp eax, 0xa
jl 0x180001b9a
test edi, edi
je 0x180001b9a
jmp 0x180001c9f
mov eax, dword [rbx]
mov rdx, rdi
add rdx, r14
add qword [rax + rdx], rcx
mov esi, dword [0x180020a70]
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x180001c74
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
je 0x180001c74
lea rax, [rdi + r14]
mov edx, dword [rbx]
add qword [rdx + rax], rcx
mov edx, dword [rbx]
add qword [rdx + rax], rcx
cmp dword [0x180020a6c], 0xa
jl 0x180001c14
mov edx, dword [0x180020a70]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
je 0x180001c14
mov edx, dword [rbx]
add qword [rax + rdx], rcx
mov edx, dword [rbx]
add qword [rax + rdx], rcx
jmp 0x180001c4c
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
cmp eax, 0xa
jl 0x180001c02
test edi, edi
je 0x180001c02
jmp 0x180001ca1
cmp eax, 0xa
jl 0x180001b2f
test edi, edi
je 0x180001b2f
jmp 0x180001c9d
jmp 0x180001c9f
jmp 0x180001ca1
test dl, 1
je 0x180001cba
cmp eax, 0xa
jl 0x180001cbc
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
je 0x180001cbc
jmp 0x180001cb8
jmp 0x180001cba
lea rax, [r14 + 2]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x90]
add rax, r14
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov edi, dword [rax + 0xc]
test rdi, rdi
je 0x180001e39
add rdi, r14
sub rsp, 0x20
mov rcx, r12
call fcn.180001ff0
mov rcx, rax
mov rdx, r15
call fcn.180001ec0
mov rcx, rdi
call rax
add rsp, 0x20
mov rsi, rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001d45
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001d45
sub rsp, 0x20
mov rcx, r12
call fcn.180001ff0
mov rcx, rax
mov rdx, r15
call fcn.180001ec0
mov rcx, rdi
call rax
jmp 0x180001cec
cmp ecx, 0xa
jl 0x180001d59
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001e37
mov rdx, qword [rbp - 0x10]
mov edi, dword [rdx]
mov ebx, dword [rdx + 0x10]
add rdi, r14
mov qword [rbp], rdi
add rbx, r14
mov rdx, qword [rbp]
mov rdx, qword [rdx]
test rdx, rdx
je 0x180001e15
mov rax, qword [rbp - 0x18]
add rax, rdx
test rdx, rdx
movzx edi, dx
cmovns rdi, rax
sub rsp, 0x20
mov rcx, r12
call fcn.180001ff0
mov rcx, rax
mov rdx, r13
call fcn.180001ec0
mov rcx, rsi
mov rdx, rdi
call rax
add rsp, 0x20
mov qword [rbx], rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001df9
test edx, edx
je 0x180001df9
sub rsp, 0x20
mov rcx, r12
call fcn.180001ff0
mov rcx, rax
mov rdx, r13
call fcn.180001ec0
mov rcx, rsi
mov rdx, rdi
call rax
add rsp, 0x20
mov qword [rbx], rax
jmp 0x180001d8d
add qword [rbp], 8
add rbx, 8
cmp ecx, 0xa
jl 0x180001d6c
test edx, edx
je 0x180001d6c
jmp 0x180001e37
add qword [rbp - 0x10], 0x14
cmp ecx, 0xa
jl 0x180001cd5
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001cd5
jmp 0x180001cb8
jmp 0x180001e37
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
add rax, r14
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x180001ea5
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001ea5
mov rsi, qword [rbp - 8]
mov eax, dword [rsi + 0x28]
add rax, r14
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [rsi + 0x28]
add rax, r14
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x180001ea5
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001e6b
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret