Function at 0x180001040
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
cmp dword [0x180020a64], 0xa
jl 0x180001072
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001072
nop
jmp 0x180001070
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov r15, rsp
cmp dword [0x180020a6c], 0xa
jl 0x1800010b2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800010b2
nop dword [rax]
jmp 0x1800010b0
mov r8b, byte [section..data]
mov eax, dword [0x180020a70]
mov r13d, dword [0x180020a6c]
lea ecx, [rax - 1]
mov qword [rbp - 0x10], rax
imul ecx, eax
and ecx, 1
sete al
cmp r13d, 0xa
setl bl
or bl, al
mov r9b, byte [0x180004001]
mov r10b, byte [0x180004002]
mov eax, dword [0x180020a68]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a64], 0xa
mov r11b, byte [0x180004003]
setl r12b
or r12b, al
mov r14d, ebx
or r14b, bl
mov byte [rdi], r8b
test bl, bl
jne 0x180001137
nop word cs:[rax + rax]
nop dword [rax + rax]
test bl, bl
je 0x180001130
mov byte [rdi], r8b
cmp r13d, 0xa
jl 0x180001145
test ecx, ecx
jne 0x1800010b0
mov byte [rdi + 1], r9b
test bl, bl
jne 0x180001158
nop dword [rax]
test bl, bl
je 0x180001150
mov byte [rdi + 1], r9b
cmp r13d, 0xa
jl 0x180001166
test ecx, ecx
jne 0x1800010b0
mov byte [rdi + 2], r10b
test bl, bl
jne 0x180001178
nop
test bl, bl
je 0x180001170
mov byte [rdi + 2], r10b
cmp r13d, 0xa
jl 0x180001186
test ecx, ecx
jne 0x1800010b0
mov byte [rdi + 3], r11b
test bl, bl
jne 0x180001198
nop
test bl, bl
je 0x180001190
mov byte [rdi + 3], r11b
cmp r13d, 0xa
jl 0x1800011a6
test ecx, ecx
jne 0x1800010b0
test r12b, r12b
jne 0x1800012d2
cmp r13d, 0xa
jl 0x1800011bd
test ecx, ecx
jne 0x180001290
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
test r14b, r14b
je 0x1800012a0
cmp edx, 0xa
jl 0x1800011e1
test eax, eax
jne 0x180001290
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
test r14b, r14b
je 0x1800012b0
cmp edx, 0xa
jl 0x180001205
test eax, eax
jne 0x180001290
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
test r14b, r14b
je 0x1800012c0
cmp edx, 0xa
jl 0x180001225
test eax, eax
jne 0x180001290
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
mov rsi, qword [rbp - 0x10]
cmovne esi, esi
test r14b, r14b
je 0x1800012d0
cmp edx, 0xa
jl 0x18000124c
test eax, eax
jne 0x180001290
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov r15, rsp
cmp edx, 0xa
jl 0x18000111a
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
je 0x18000111a
jmp 0x1800010b0
jmp 0x180001290
jmp 0x1800012a0
jmp 0x1800012b0
jmp 0x1800012c0
jmp 0x1800012d0
mov r12d, dword [rdi]
test r12, r12
mov r11, r15
je 0x1800013f7
xor ebx, ebx
cmp r12d, 0x10
jb 0x1800013c2
lea rax, [r12 - 1]
cmp rax, 0x400
jae 0x1800013c2
mov ebx, r12d
and ebx, 0xfffffff0
lea rdx, [rbx - 0x10]
mov rax, rdx
shr rax, 4
add rax, 1
mov r8d, eax
and r8d, 1
test rdx, rdx
je 0x180001388
mov rdi, r8
sub rdi, rax
xor eax, eax
lea rsi, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov edx, eax
and edx, 0x3e0
movups xmm1, xmmword [rdx + rsi + 4]
movups xmm2, xmmword [rax + rsi + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rax + rsi + 0x414]
xorps xmm2, xmm0
movups xmmword [rax + rsi + 0x404], xmm2
lea edx, [rax + 0x10]
and edx, 0x3f0
movups xmm2, xmmword [rdx + rsi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rax + rsi + 0x414], xmm1
add rax, 0x20
add rdi, 2
jne 0x180001335
jmp 0x18000138a
xor eax, eax
test r8, r8
je 0x1800013bd
mov edx, eax
and edx, 0x3f0
lea rdi, section..data
movups xmm0, xmmword [rdx + rdi + 4]
movups xmm1, xmmword [rax + rdi + 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 [rax + rdi + 0x404], xmm1
cmp rbx, r12
je 0x1800013f7
lea rax, section..data
nop dword [rax]
mov edx, ebx
and edx, 0x3ff
movzx edx, byte [rdx + rax + 4]
xor dl, byte [rbx + rax + 0x404]
xor dl, 0xc
mov byte [rbx + rax + 0x404], dl
add rbx, 1
cmp rbx, r12
jb 0x1800013d0
cmp r13d, 0xa
jl 0x180001412
test ecx, ecx
je 0x180001412
nop word cs:[rax + rax]
nop dword [rax + rax]
jmp 0x180001410
lea r10, section..data
lea r15, [r12 + r10]
add r15, 0x404
mov r8d, 3
mov rax, r11
mov rsi, r15
mov cl, byte [r15]
jmp 0x180001440
mov cl, byte [rsi]
nop word [rax + rax]
mov byte [rax], cl
mov edx, dword [0x180020a70]
mov ebx, dword [0x180020a6c]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
cmp ebx, 0xa
jl 0x180001460
test edi, edi
jne 0x180001440
cmp ebx, 0xa
jl 0x180001469
test edi, edi
jne 0x180001410
add rsi, 1
add rax, 1
sub r8, 1
jae 0x180001435
cmp dword [0x180020a64], 0xa
jl 0x180001642
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001642
cmp ebx, 0xa
jl 0x1800014ad
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001640
mov dl, byte [r15]
mov byte [r11], dl
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
cmp ecx, 0xa
jl 0x1800014d1
test eax, eax
jne 0x1800014b0
cmp ecx, 0xa
jl 0x1800014de
test eax, eax
jne 0x180001640
mov dl, byte [r15 + 1]
mov byte [r11 + 1], dl
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
cmp ecx, 0xa
jl 0x180001538
test eax, eax
je 0x180001538
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
sete r8b
cmp ecx, 0xa
setl bl
or bl, r8b
nop word cs:[rax + rax]
test bl, bl
je 0x180001530
mov byte [r11 + 1], dl
cmp ecx, 0xa
jl 0x180001545
test eax, eax
jne 0x180001640
mov dl, byte [r15 + 2]
mov byte [r11 + 2], dl
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
cmp ecx, 0xa
jl 0x180001598
test eax, eax
je 0x180001598
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
sete r8b
cmp ecx, 0xa
setl bl
or bl, r8b
nop dword [rax]
test bl, bl
je 0x180001590
mov byte [r11 + 2], dl
cmp ecx, 0xa
jl 0x1800015a5
test eax, eax
jne 0x180001640
mov r8b, byte [r15 + 3]
mov byte [r11 + 3], r8b
mov edx, dword [0x180020a70]
mov ebx, dword [0x180020a6c]
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
cmp ebx, 0xa
jl 0x1800015f8
test eax, eax
je 0x1800015f8
mov edx, dword [0x180020a70]
mov ebx, dword [0x180020a6c]
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
sete r9b
cmp ebx, 0xa
setl cl
or cl, r9b
nop dword [rax]
test cl, cl
je 0x1800015f0
mov byte [r11 + 3], r8b
cmp ebx, 0xa
jl 0x180001601
test eax, eax
jne 0x180001640
mov r8d, 3
mov rax, r11
mov rsi, r15
cmp ebx, 0xa
jl 0x180001435
lea ecx, [rdx - 1]
imul ecx, edx
mov r8d, 3
mov rax, r11
mov rsi, r15
and ecx, 1
je 0x180001435
jmp 0x180001410
jmp 0x180001640
add r15, 4
mov r9d, dword [r11]
test r9, r9
je 0x1800017a4
xor eax, eax
cmp r9d, 0x20
jb 0x18000177f
lea rdx, [r9 - 1]
cmp rdx, 0x400
jae 0x18000177f
lea rcx, [r12 + r10]
add rcx, 0x408
lea rdx, [r9 + r10]
add rdx, 4
cmp rcx, rdx
jae 0x1800016a8
lea rcx, [r9 + r12]
add rcx, r10
add rcx, 0x408
lea rdx, str.gfYozYfXcDGdIYdLVMFTQeDaUuyJkLyEnubKzwyCMdVSVEPrMWhmwPvoYhvTjRXmdXijMkaRbnAVGbiJAIdOqsxHhfRtJmZxFGlHTYDohgGPjVWFIGxmeWVDpqVvSjWopudqDOMlhiUnXGAvcbugZtLSIOLnSkqJSkxvgTswttUJxtFLnCuATtcHozrUYewbRzGvuRrdcRgfnbdhpwujgrmdybPsduKeEMOqSxWFiBEIZowDwVQyKZQEYuAWDXRxTxbSxQaCfdoiUEytRLBxKMbeMKxWaqhJKiztRMlHdabcLkJnWiSmMSTQkaYWYslkXsKThtQGAwlUwDJQyydIBQxvYXTbFlrQQFjwICSfqYGWWyUEEaTiRSJxdeXBJmZJpxtskWzBhmBznUrxmBZRcZgSrEwVBEQynyIBjuKPyThHCgsLIVbtgcZuvfBJbklfuMwaDgEIhaDyymUCyYDjdBPsQOrfILOykuyzXdyQpsZPQAHADeHMZPkPqpxbAgPRabEoWUrnwDwbVcacLFpmdUfKFSxvkFKTyOxsMDyYrTWkKkcBzxvVdJCzgHPwxHPDfQPrLsPmGxxEKBeJoBWLQpSwjXXsCZUXKOiYKmVrReWzYYfiROILLFyIvwPDthFnwSkhIYjrIZlVjFqxKfyHRnFOOulJTtnMonVsgEinqwkydvfaPZdRhhIJAgbTDmqabJnRJUCZkJFwwAffQUiMswmOQTxYDAcdpULSDVRQDDkMksgWqoXDIFFlBwmXDQrOCfJTaZhtDuJvSGIdhkacvSQiAHcxqWowGCZzSlsoGxIHuSxacGwEXgaFQtylIaKKDeVwbYzZzGpPakUFbGnnMkhYSWGICsijUvKECqsonODPtlFGxMXmTCPbuJAswIrMqvEZzKsYRKcnMhYKzcvuUYQYBcGwvRJqxTmlanlHYUhzDAwtJeDIbZJriTulgyqdmFKiruoqLjnrlipesymkeUhgbeklqdfhXBfKoQEVcBQSMeXGJrKmsMgkjGVaoPb
cmp rcx, rdx
jbe 0x1800016a8
xor eax, eax
jmp 0x18000177f
mov eax, r9d
and eax, 0xffffffe0
lea rbx, [rax - 0x20]
mov rdx, rbx
shr rdx, 5
add rdx, 1
mov r8d, edx
and r8d, 1
test rbx, rbx
je 0x180001743
lea rdi, [r12 + r10]
add rdi, 0x438
mov rbx, r8
sub rbx, rdx
xor esi, esi
mov edx, esi
and edx, 0x3c0
movups xmm0, xmmword [rdx + r10 + 4]
movups xmm1, xmmword [rdx + r10 + 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 edx, [rsi + 0x20]
and edx, 0x3e0
movups xmm0, xmmword [rdx + r10 + 4]
xorps xmm0, xmm1
movups xmm1, xmmword [rdx + r10 + 0x14]
xorps xmm1, xmm3
movups xmmword [rdi + rsi - 0x10], xmm0
movups xmmword [rdi + rsi], xmm1
add rsi, 0x40
add rbx, 2
jne 0x1800016dc
jmp 0x180001745
xor esi, esi
test r8, r8
je 0x18000177a
mov edx, esi
and edx, 0x3e0
movups xmm0, xmmword [rdx + r10 + 4]
movups xmm1, xmmword [rdx + r10 + 0x14]
movups xmm2, xmmword [r15 + rsi]
xorps xmm2, xmm0
movups xmm0, xmmword [r15 + rsi + 0x10]
xorps xmm0, xmm1
movups xmmword [r15 + rsi], xmm2
movups xmmword [r15 + rsi + 0x10], xmm0
cmp rax, r9
je 0x1800017a4
lea rdx, [r12 + r10]
add rdx, 0x408
mov ecx, eax
and ecx, 0x3ff
movzx ecx, byte [rcx + r10 + 4]
xor byte [rdx + rax], cl
add rax, 1
cmp rax, r9
jb 0x18000178a
movsxd rax, dword [0x180004440]
cmp dword [0x180020a74], 0xa
jl 0x1800017d2
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800017d2
nop word cs:[rax + rax]
nop
jmp 0x1800017d0
lea rsi, [rax + r10]
add rsi, 0x404
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x1800017dd
mov r13, r15
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x1800017ea
mov r14, r13
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x1800017f8
mov qword [rbp - 0x10], r14
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001806
mov rbx, r14
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001813
mov rdi, rbx
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x18000181f
sub rsp, 0x20
mov rcx, r15
call fcn.180002260
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x180001859
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001892
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001892
nop dword [rax + rax]
jmp 0x180001890
mov qword [rbp - 8], rsi
add r8, r9
mov r11d, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add r11, r9
add r10, r9
mov esi, dword [r11]
add rsi, r9
mov rdx, r13
nop word cs:[rax + rax]
nop dword [rax]
movzx ecx, byte [rdx]
movzx eax, byte [rsi]
test cl, cl
je 0x1800018d6
add rdx, 1
add rsi, 1
cmp cl, al
je 0x1800018c0
cmp cl, al
je 0x1800018e4
add r11, 4
add r10, 2
jmp 0x1800018a9
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, rbx
call r9
add rsp, 0x20
mov r10, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x18000191e
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001952
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001952
nop dword [rax]
jmp 0x180001950
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add rdx, r10
add r9, r10
mov esi, dword [rdx]
add rsi, r10
mov rax, r14
movzx ebx, byte [rax]
movzx ecx, byte [rsi]
test bl, bl
je 0x180001983
add rax, 1
add rsi, 1
cmp bl, cl
je 0x18000196d
cmp bl, cl
je 0x180001991
add rdx, 4
add r9, 2
jmp 0x180001965
movzx eax, word [r9]
mov eax, dword [r8 + rax*4]
add r10, rax
sub rsp, 0x30
mov qword [rsp + 0x28], 0x1388
mov qword [rsp + 0x20], 0
mov r9d, 0x10
xor ecx, ecx
mov rdx, rdi
mov r8, rdi
call r10
add rsp, 0x10
mov rcx, r15
call fcn.180002260
add rsp, 0x20
mov r10, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x1800019f4
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001a32
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001a32
nop word cs:[rax + rax]
nop dword [rax]
jmp 0x180001a30
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add rdx, r10
add r9, r10
lea rax, section..data
lea rdi, [r12 + rax]
add rdi, 0x408
mov esi, dword [rdx]
add rsi, r10
xor eax, eax
movzx ebx, byte [rdi + rax]
movzx ecx, byte [rsi + rax]
test bl, bl
je 0x180001a72
add rax, 1
cmp bl, cl
je 0x180001a5e
cmp bl, cl
je 0x180001a80
add rdx, 4
add r9, 2
jmp 0x180001a57
movzx eax, word [r9]
mov eax, dword [r8 + rax*4]
add r10, rax
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0x50]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call r10
add rsp, 0x20
mov qword [rbp], rax
mov edx, dword [0x180020a68]
mov ebx, dword [0x180020a64]
cmp ebx, 0xa
jl 0x180001acd
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
je 0x180001acd
jmp 0x180001acb
mov rax, qword [rbp - 8]
lea r11, [rax + 0x108]
xor r10d, r10d
mov rax, qword [rbp - 8]
movzx eax, word [rax + 6]
cmp r10, rax
jae 0x180001c68
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea rdx, [r10 + r10*4]
lea r8, [r11 + rdx*8]
add r8, 0x14
lea r14, [r11 + rdx*8]
add r14, 0x10
lea r9, [r11 + rdx*8]
add r9, 0xc
cmp eax, 0xa
jl 0x180001b28
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001c64
mov edx, dword [r14]
test rdx, rdx
je 0x180001b9c
mov ebx, dword [r9]
add rbx, qword [rbp]
mov eax, dword [r8]
lea rcx, section..data
lea rdi, [rax + rcx]
add rdi, 0x404
jmp 0x180001b5f
add rdx, 0xffffffffffffffff
add rdi, 1
add rbx, 1
test rdx, rdx
je 0x180001b9c
movzx eax, byte [rdi]
mov byte [rbx], al
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea r12d, [rcx - 1]
imul r12d, ecx
and r12d, 1
cmp eax, 0xa
jl 0x180001b8d
test r12d, r12d
je 0x180001b8d
movzx eax, byte [rdi]
mov byte [rbx], al
jmp 0x180001b5f
cmp eax, 0xa
jl 0x180001b4e
test r12d, r12d
je 0x180001b4e
jmp 0x180001c64
mov edx, dword [0x180020a68]
mov ebx, dword [0x180020a64]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
cmp ebx, 0xa
jl 0x180001c4a
test esi, esi
je 0x180001c4a
cmp eax, 0xa
jl 0x180001bd6
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001c66
mov r12d, dword [r14]
test r12, r12
je 0x180001b14
mov ebx, dword [r9]
add rbx, qword [rbp]
mov eax, dword [r8]
lea rcx, section..data
lea rdi, [rax + rcx]
add rdi, 0x404
jmp 0x180001c15
add r12, 0xffffffffffffffff
add rdi, 1
add rbx, 1
test r12, r12
je 0x180001b14
movzx eax, byte [rdi]
mov byte [rbx], al
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001c3f
test edx, edx
je 0x180001c3f
movzx eax, byte [rdi]
mov byte [rbx], al
jmp 0x180001c15
cmp eax, 0xa
jl 0x180001c00
test edx, edx
je 0x180001c00
jmp 0x180001c66
add r10, 1
cmp ebx, 0xa
jl 0x180001adb
test esi, esi
je 0x180001adb
jmp 0x180001acb
jmp 0x180001c64
jmp 0x180001c66
mov rcx, qword [rbp - 8]
mov eax, dword [rcx + 0xb0]
mov r11, qword [rbp]
add rax, r11
mov rcx, qword [rcx + 0x30]
sub r11, rcx
movabs r8, 0x1fffffff8
jmp 0x180001c92
mov ecx, dword [rax + 4]
add rax, rcx
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete r9b
cmp ebx, 0xa
setl cl
or cl, r9b
test cl, cl
je 0x180001ca9
cmp dword [rax], 0
je 0x180001da4
mov esi, dword [rax + 4]
cmp rsi, 8
jb 0x180001d86
cmp ebx, 0xa
jl 0x180001cd1
and edi, 1
jne 0x180001da0
add rsi, r8
shr rsi, 1
mov r9d, esi
xor r10d, r10d
cmp r10, r9
je 0x180001d86
movzx ecx, word [rax + r10*2 + 8]
mov esi, ecx
shr esi, 0xc
mov edi, ecx
and edi, 0xfff
cmp ecx, 0xa000
jae 0x180001d24
cmp esi, 3
jne 0x180001d5d
mov ecx, dword [rax]
mov rdx, qword [rbp]
lea rcx, [rdx + rcx*4]
mov edx, edi
add dword [rcx + rdx*4], r11d
mov edx, dword [0x180020a68]
mov ebx, dword [0x180020a64]
jmp 0x180001d5d
cmp esi, 0xa
jne 0x180001d5d
mov ecx, dword [rax]
add rdi, qword [rbp]
add qword [rcx + rdi], r11
mov edx, dword [0x180020a68]
mov ebx, dword [0x180020a64]
cmp ebx, 0xa
jl 0x180001d5d
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
je 0x180001d5d
mov ecx, dword [rax]
add qword [rdi + rcx], r11
mov ecx, dword [rax]
add qword [rdi + rcx], r11
jmp 0x180001d33
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
cmp ebx, 0xa
jl 0x180001d6f
test edi, edi
jne 0x180001da2
add r10, 1
cmp ebx, 0xa
jl 0x180001cdd
test edi, edi
je 0x180001cdd
jmp 0x180001da0
cmp ebx, 0xa
jl 0x180001c8c
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
je 0x180001c8c
jmp 0x180001d9e
jmp 0x180001da0
jmp 0x180001da2
cmp ebx, 0xa
jl 0x180001db6
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
je 0x180001db6
jmp 0x180001db4
mov rcx, qword [rbp]
lea rax, [rcx + 2]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x90]
add rax, rcx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov r14d, dword [rax + 0xc]
test r14, r14
je 0x1800021d8
add r14, qword [rbp]
jmp 0x180001e02
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r14
call r9
add rsp, 0x20
sub rsp, 0x20
mov rcx, r15
call fcn.180002260
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x180001e33
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001e66
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800021ce
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdi, r9
add rcx, r9
mov esi, dword [rdi]
add rsi, r9
mov rbx, r13
movzx eax, byte [rbx]
movzx edx, byte [rsi]
test al, al
je 0x180001e97
add rbx, 1
add rsi, 1
cmp al, dl
je 0x180001e81
cmp al, dl
je 0x180001ea5
add rdi, 4
add rcx, 2
jmp 0x180001e79
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r14
call r9
add rsp, 0x20
mov r12, rax
mov eax, dword [0x180020a68]
mov ecx, dword [0x180020a64]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001f8d
test edx, edx
je 0x180001f8d
sub rsp, 0x20
mov rcx, r15
call fcn.180002260
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x180001f17
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001f4a
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800021d0
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdi, r9
add rcx, r9
mov esi, dword [rdi]
add rsi, r9
mov rbx, r13
movzx eax, byte [rbx]
movzx edx, byte [rsi]
test al, al
je 0x180001f7b
add rbx, 1
add rsi, 1
cmp al, dl
je 0x180001f65
cmp al, dl
je 0x180001dea
add rdi, 4
add rcx, 2
jmp 0x180001f5d
cmp ecx, 0xa
jl 0x180001f9a
test edx, edx
jne 0x1800021d6
mov rdx, qword [rbp - 0x18]
mov ebx, dword [rdx]
mov edi, dword [rdx + 0x10]
mov rdx, qword [rbp]
add rbx, rdx
mov qword [rbp - 0x28], rbx
add rdi, rdx
mov qword [rbp - 0x20], rdi
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdx]
test rdx, rdx
je 0x1800021ac
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx r14d, dx
cmovns r14, rax
jmp 0x180001ffb
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r12
mov rdx, r14
call r9
add rsp, 0x20
mov rcx, qword [rbp - 0x20]
mov qword [rcx], rax
sub rsp, 0x20
mov rcx, r15
call fcn.180002260
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x18000202c
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000205f
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800021d2
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdx, r9
add rcx, r9
mov esi, dword [rdx]
add rsi, r9
mov rdi, qword [rbp - 0x10]
movzx eax, byte [rdi]
movzx ebx, byte [rsi]
test al, al
je 0x180002091
add rdi, 1
add rsi, 1
cmp al, bl
je 0x18000207b
cmp al, bl
je 0x18000209f
add rdx, 4
add rcx, 2
jmp 0x180002072
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r12
mov rdx, r14
call r9
add rsp, 0x20
mov rcx, qword [rbp - 0x20]
mov qword [rcx], rax
mov eax, dword [0x180020a68]
mov ecx, dword [0x180020a64]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x18000218f
test edx, edx
je 0x18000218f
sub rsp, 0x20
mov rcx, r15
call fcn.180002260
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a7c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a80], 0xa
setl al
or al, cl
test al, al
je 0x180002118
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000214b
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800021d4
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdx, r9
add rcx, r9
mov esi, dword [rdx]
add rsi, r9
mov rdi, qword [rbp - 0x10]
movzx eax, byte [rdi]
movzx ebx, byte [rsi]
test al, al
je 0x18000217d
add rdi, 1
add rsi, 1
cmp al, bl
je 0x180002167
cmp al, bl
je 0x180001fd9
add rdx, 4
add rcx, 2
jmp 0x18000215e
add qword [rbp - 0x28], 8
add qword [rbp - 0x20], 8
cmp ecx, 0xa
jl 0x180001fb5
test edx, edx
je 0x180001fb5
jmp 0x1800021d6
add qword [rbp - 0x18], 0x14
cmp ecx, 0xa
jl 0x180001dd3
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001dd3
jmp 0x180001db4
jmp 0x1800021ce
jmp 0x1800021d0
jmp 0x1800021d2
jmp 0x1800021d4
jmp 0x1800021d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
add rax, qword [rbp]
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002249
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002249
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp]
mov eax, dword [rsi + 0x28]
add rax, rdi
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [rsi + 0x28]
add rax, rdi
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002249
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000220f
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret