Function at 0x1800010d0
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 0x180001102
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001102
nop
jmp 0x180001100
mov eax, 0x10
call entry0
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rax, rsp
cmp dword [0x180020a74], 0xa
jl 0x180001142
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001142
nop dword [rax]
jmp 0x180001140
mov cl, byte [section..data]
mov byte [rbx], cl
cmp dword [0x180020a74], 0xa
jl 0x180001164
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800011e0
mov cl, byte [0x180004001]
mov byte [rbx + 1], cl
cmp dword [0x180020a74], 0xa
jl 0x180001187
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800011e0
mov cl, byte [0x180004002]
mov byte [rbx + 2], cl
cmp dword [0x180020a74], 0xa
jl 0x1800011aa
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800011e0
mov cl, byte [0x180004003]
mov byte [rbx + 3], cl
mov ecx, dword [0x180020a78]
mov r9d, dword [0x180020a74]
lea r10d, [rcx - 1]
imul r10d, ecx
and r10d, 1
cmp r9d, 0xa
jl 0x1800011e2
test r10d, r10d
je 0x1800011e2
nop word [rax + rax]
jmp 0x1800011e0
cmp dword [0x180020a6c], 0xa
jl 0x180001202
mov ecx, dword [0x180020a70]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001202
nop dword [rax]
jmp 0x180001200
mov r12d, dword [rbx]
test r12, r12
je 0x18000131e
xor ebx, ebx
cmp r12d, 0x10
jb 0x1800012f0
lea rdx, [r12 - 1]
cmp rdx, 0x400
jae 0x1800012f0
mov ebx, r12d
and ebx, 0xfffffff0
lea rdi, [rbx - 0x10]
mov rdx, rdi
shr rdx, 4
add rdx, 1
mov r8d, edx
and r8d, 1
test rdi, rdi
je 0x1800012b6
mov rsi, r8
sub rsi, rdx
xor ecx, ecx
lea rdx, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov edi, ecx
and edi, 0x3e0
movups xmm1, xmmword [rdi + rdx + 4]
movups xmm2, xmmword [rcx + rdx + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rcx + rdx + 0x414]
xorps xmm2, xmm0
movups xmmword [rcx + rdx + 0x404], xmm2
lea edi, [rcx + 0x10]
and edi, 0x3f0
movups xmm2, xmmword [rdi + rdx + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rcx + rdx + 0x414], xmm1
add rcx, 0x20
add rsi, 2
jne 0x180001263
jmp 0x1800012b8
xor ecx, ecx
test r8, r8
je 0x1800012eb
mov edx, ecx
and edx, 0x3f0
lea rdi, section..data
movups xmm0, xmmword [rdx + rdi + 4]
movups xmm1, xmmword [rcx + 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 [rcx + rdi + 0x404], xmm1
cmp rbx, r12
je 0x18000131e
lea rdx, section..data
mov ecx, ebx
and ecx, 0x3ff
movzx ecx, byte [rcx + rdx + 4]
xor cl, byte [rbx + rdx + 0x404]
xor cl, 0xc
mov byte [rbx + rdx + 0x404], cl
add rbx, 1
cmp rbx, r12
jb 0x1800012f7
cmp r9d, 0xa
jl 0x180001332
test r10d, r10d
je 0x180001332
nop dword [rax]
jmp 0x180001330
lea r15, section..data
lea r14, [r12 + r15]
add r14, 0x404
mov cl, byte [r14]
mov byte [rax], cl
cmp dword [0x180020a74], 0xa
jl 0x180001363
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800013d0
mov cl, byte [r14 + 1]
mov byte [rax + 1], cl
cmp dword [0x180020a74], 0xa
jl 0x180001384
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800013d0
mov cl, byte [r14 + 2]
mov byte [rax + 2], cl
cmp dword [0x180020a74], 0xa
jl 0x1800013a5
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800013d0
mov cl, byte [r14 + 3]
mov byte [rax + 3], cl
cmp dword [0x180020a74], 0xa
jl 0x1800013d2
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800013d2
nop word cs:[rax + rax]
jmp 0x1800013d0
mov ecx, dword [0x180020a70]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete dl
cmp dword [0x180020a6c], 0xa
setl cl
or cl, dl
cmp cl, 1
jne 0x180001430
add r14, 4
mov eax, dword [rax]
lea rdx, [r12 + r15]
add rdx, 0x408
xor edi, edi
cmp rax, rdi
je 0x180001432
mov ebx, edi
and ebx, 0x3ff
movzx ebx, byte [rbx + r15 + 4]
xor byte [rdx + rdi], bl
add rdi, 1
test cl, cl
jne 0x180001408
nop word cs:[rax + rax]
jmp 0x180001430
cmp dword [0x180020a7c], 0xa
jl 0x18000144e
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x18000144e
jmp 0x18000144c
add r12, 0x408
mov qword [rbp - 0x10], r14
movsxd rax, dword [0x180004440]
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001460
add rax, r15
add rax, 0x404
mov qword [rbp - 8], rax
mov qword [rbp], r14
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x18000147b
mov qword [rbp - 0x18], r14
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001489
mov qword [rbp - 0x28], r14
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001497
mov rbx, r14
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x1800014a4
mov r13, rbx
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x1800014b0
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x1800014ed
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a1d
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000151c
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a1f
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add rdi, r9
add r10, r9
mov r11, qword [rbp - 0x18]
mov edx, dword [rdi]
add rdx, r9
mov rsi, r11
movzx ecx, byte [rsi]
movzx eax, byte [rdx]
test cl, cl
je 0x180001551
add rsi, 1
add rdx, 1
cmp cl, al
je 0x18000153b
cmp cl, al
je 0x18000155f
add rdi, 4
add r10, 2
jmp 0x180001533
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 0x180001599
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a21
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800015c8
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001a23
add r8, r10
mov edx, dword [r10 + rax + 0x20]
mov edi, dword [r10 + rax + 0x24]
add rdx, r10
add rdi, r10
mov eax, dword [rdx]
add rax, r10
mov rsi, r14
movzx ebx, byte [rsi]
movzx ecx, byte [rax]
test bl, bl
je 0x1800015f9
add rsi, 1
add rax, 1
cmp bl, cl
je 0x1800015e3
cmp bl, cl
je 0x180001607
add rdx, 4
add rdi, 2
jmp 0x1800015db
movzx eax, word [rdi]
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, r13
mov r8, r13
call r10
add rsp, 0x10
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a84], 0xa
jl 0x18000166a
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a25
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001699
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a27
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov ecx, dword [r10 + rcx + 0x24]
add rdx, r10
add rcx, r10
mov edi, dword [rdx]
add rdi, r10
xor esi, esi
lea rax, [r12 + rsi]
movzx eax, byte [r15 + rax]
movzx ebx, byte [rdi + rsi]
test al, al
je 0x1800016cc
add rsi, 1
cmp al, bl
je 0x1800016b3
cmp al, bl
je 0x1800016da
add rdx, 4
add rcx, 2
jmp 0x1800016ac
movzx eax, word [rcx]
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 r14, rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001a37
test edx, edx
je 0x180001a37
movsxd rax, dword [0x180004440]
mov qword [rbp - 0x18], rax
cmp dword [0x180020a7c], 0xa
mov rdx, qword [rbp - 0x10]
mov rbx, rdx
jl 0x180001760
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
mov rbx, rdx
and ecx, 1
jne 0x180001a29
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001760
mov qword [rbp], rbx
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x18000176d
mov r14, rbx
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001779
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001783
mov rdi, r14
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x180001790
mov r13, rdi
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x18000179c
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x1800017d9
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a2b
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001808
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a2d
add r8, r9
mov r11d, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add r11, r9
add r10, r9
mov edx, dword [r11]
add rdx, r9
mov rsi, rbx
movzx ecx, byte [rsi]
movzx eax, byte [rdx]
test cl, cl
je 0x18000183a
add rsi, 1
add rdx, 1
cmp cl, al
je 0x180001824
cmp cl, al
je 0x180001848
add r11, 4
add r10, 2
jmp 0x18000181b
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, rdi
call r9
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a84], 0xa
jl 0x180001882
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a2f
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800018b1
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001a31
add r8, r10
mov edi, dword [r10 + rax + 0x20]
mov esi, dword [r10 + rax + 0x24]
add rdi, r10
add rsi, r10
mov eax, dword [rdi]
add rax, r10
mov rbx, r14
movzx ecx, byte [rbx]
movzx edx, byte [rax]
test cl, cl
je 0x1800018e2
add rbx, 1
add rax, 1
cmp cl, dl
je 0x1800018cc
cmp cl, dl
je 0x1800018f0
add rdi, 4
add rsi, 2
jmp 0x1800018c4
movzx eax, word [rsi]
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, r13
mov r8, r13
call r10
add rsp, 0x10
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a84], 0xa
jl 0x180001953
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a33
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001982
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a35
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov ecx, dword [r10 + rcx + 0x24]
add rdx, r10
add rcx, r10
mov edi, dword [rdx]
add rdi, r10
xor esi, esi
lea rax, [r12 + rsi]
movzx eax, byte [r15 + rax]
movzx ebx, byte [rdi + rsi]
test al, al
je 0x1800019b5
add rsi, 1
cmp al, bl
je 0x18000199c
cmp al, bl
je 0x1800019c3
add rdx, 4
add rcx, 2
jmp 0x180001995
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r10, rax
mov rax, qword [rbp - 0x18]
mov edx, dword [rax + r15 + 0x454]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call r10
add rsp, 0x20
cmp dword [0x180020a7c], 0xa
mov r14, qword [rbp - 0x10]
jl 0x180001459
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001459
jmp 0x18000144c
jmp 0x180001a1d
jmp 0x180001a1f
jmp 0x180001a21
jmp 0x180001a23
jmp 0x180001a25
jmp 0x180001a27
jmp 0x180001a29
jmp 0x180001a2b
jmp 0x180001a2d
jmp 0x180001a2f
jmp 0x180001a31
jmp 0x180001a33
jmp 0x180001a35
cmp ecx, 0xa
jl 0x180001a42
test edx, edx
je 0x180001a42
jmp 0x180001a40
mov rdx, qword [rbp - 8]
lea r11, [rdx + 0x108]
xor r8d, r8d
mov rdx, qword [rbp - 8]
movzx edx, word [rdx + 6]
cmp r8, rdx
jae 0x180001b96
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
lea rax, [r8 + r8*4]
lea r9, [r11 + rax*8]
add r9, 0xc
lea r13, [r11 + rax*8]
add r13, 0x10
lea r10, [r11 + rax*8]
add r10, 0x14
cmp ebx, 0xa
jl 0x180001a9d
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001b92
mov r12d, dword [r13]
test r12, r12
je 0x180001aef
mov eax, dword [r10]
mov ecx, dword [r9]
add rcx, r14
lea rdi, [rax + r15]
add rdi, 0x404
xor eax, eax
jmp 0x180001ac7
add rax, 1
cmp r12, rax
je 0x180001aef
movzx edx, byte [rdi + rax]
mov byte [rcx + rax], dl
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
cmp ebx, 0xa
jl 0x180001abe
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
je 0x180001abe
jmp 0x180001b8e
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp ecx, 0xa
jl 0x180001b74
test edi, edi
je 0x180001b74
cmp ebx, 0xa
jl 0x180001b1d
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001b94
mov r12d, dword [r13]
test r12, r12
je 0x180001a89
mov eax, dword [r10]
mov ecx, dword [r9]
add rcx, r14
lea rdi, [rax + r15]
add rdi, 0x404
xor eax, eax
jmp 0x180001b4f
add rax, 1
cmp r12, rax
je 0x180001a89
movzx edx, byte [rdi + rax]
mov byte [rcx + rax], dl
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
cmp ebx, 0xa
jl 0x180001b42
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
je 0x180001b42
jmp 0x180001b90
add r8, 1
cmp ecx, 0xa
jl 0x180001a50
test edi, edi
je 0x180001a50
jmp 0x180001a40
jmp 0x180001b8e
jmp 0x180001b90
jmp 0x180001b92
jmp 0x180001b94
mov rdx, qword [rbp - 8]
mov rdx, qword [rdx + 0x30]
mov r11, r14
sub r11, rdx
cmp ecx, 0xa
jl 0x180001bb6
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001bb6
jmp 0x180001bb4
mov rdx, qword [rbp - 8]
mov r15d, dword [rdx + 0xb0]
add r15, r14
movabs r8, 0x1fffffff8
cmp dword [r15], 0
je 0x180001d49
mov edi, dword [r15 + 4]
cmp rdi, 8
jb 0x180001d14
cmp ecx, 0xa
jl 0x180001bfa
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001d43
add rdi, r8
shr rdi, 1
mov r9d, edi
xor r10d, r10d
cmp r10, r9
je 0x180001d14
movzx edi, word [r15 + r10*2 + 8]
mov edx, edi
shr edx, 0xc
mov esi, edi
and esi, 0xfff
cmp edi, 0xa000
jae 0x180001ca0
cmp edx, 3
jne 0x180001cdb
cmp ecx, 0xa
jl 0x180001c47
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001d45
mov eax, dword [r15]
lea rax, [r14 + rax*4]
mov edi, esi
add dword [rax + rdi*4], r11d
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001cdb
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001cdb
lea rdi, [r14 + rdi*4]
mov eax, dword [r15]
add dword [rdi + rax*4], r11d
mov eax, dword [r15]
add dword [rdi + rax*4], r11d
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001cdb
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001c74
jmp 0x180001cdb
cmp edx, 0xa
jne 0x180001cdb
mov eax, dword [r15]
add rsi, r14
add qword [rax + rsi], r11
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001cdb
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001cdb
mov eax, dword [r15]
add qword [rsi + rax], r11
mov eax, dword [r15]
add qword [rsi + rax], r11
jmp 0x180001caf
lea esi, [rax - 1]
imul esi, eax
test sil, 1
sete bl
cmp ecx, 0xa
setl dl
or dl, bl
jne 0x180001cfc
xor edi, edi
test dil, 1
mov edi, edx
je 0x180001cf4
add r10, 1
cmp ecx, 0xa
jl 0x180001c06
and esi, 1
je 0x180001c06
jmp 0x180001d43
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp ecx, 0xa
jl 0x180001d26
test edi, edi
jne 0x180001d47
mov edx, dword [r15 + 4]
add r15, rdx
cmp ecx, 0xa
jl 0x180001bce
test edi, edi
je 0x180001bce
jmp 0x180001bb4
jmp 0x180001d43
jmp 0x180001d45
jmp 0x180001d47
mov rdx, qword [rbp - 8]
mov edx, dword [rdx + 0x90]
add rdx, r14
mov qword [rbp - 0x10], rdx
lea rdx, [r14 + 2]
mov qword [rbp - 0x30], rdx
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete dl
cmp ecx, 0xa
setl al
or al, dl
cmp al, 1
jne 0x180001d98
mov rcx, qword [rbp - 0x10]
mov r12d, dword [rcx + 0xc]
test al, al
je 0x180001d98
test r12d, r12d
je 0x180002158
add r12, r14
sub rsp, 0x20
jmp 0x180001db2
test al, al
je 0x180001d98
jmp 0x180001d7a
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r12
call r9
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001de0
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002146
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001e0f
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002148
add r8, r9
mov esi, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rsi, r9
add rcx, r9
mov edi, dword [rsi]
add rdi, r9
mov rbx, qword [rbp - 0x18]
movzx eax, byte [rbx]
movzx edx, byte [rdi]
test al, al
je 0x180001e41
add rbx, 1
add rdi, 1
cmp al, dl
je 0x180001e2b
cmp al, dl
je 0x180001e4f
add rsi, 4
add rcx, 2
jmp 0x180001e22
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r12
call r9
add rsp, 0x20
mov r15, rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001f35
test edx, edx
je 0x180001f35
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001ec2
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000214a
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001ef1
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000214c
add r8, r9
mov esi, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rsi, r9
add rcx, r9
mov edi, dword [rsi]
add rdi, r9
mov rbx, qword [rbp - 0x18]
movzx eax, byte [rbx]
movzx edx, byte [rdi]
test al, al
je 0x180001f23
add rbx, 1
add rdi, 1
cmp al, dl
je 0x180001f0d
cmp al, dl
je 0x180001d9e
add rsi, 4
add rcx, 2
jmp 0x180001f04
cmp ecx, 0xa
jl 0x180001f42
test edx, edx
jne 0x180002156
mov rbx, qword [rbp - 0x10]
mov edx, dword [rbx]
mov r12d, dword [rbx + 0x10]
add rdx, r14
mov qword [rbp - 0x20], rdx
add r12, r14
mov rdx, qword [rbp - 0x20]
mov rdx, qword [rdx]
test rdx, rdx
je 0x18000213c
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx r13d, dx
cmovns r13, rax
jmp 0x180001f99
movzx eax, word [rsi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r13
call r9
add rsp, 0x20
mov qword [r12], rax
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001fcb
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000214e
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001ffa
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002150
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov esi, dword [r9 + rcx + 0x24]
add rdx, r9
add rsi, r9
mov edi, dword [rdx]
add rdi, r9
mov rax, qword [rbp - 0x28]
movzx ebx, byte [rax]
movzx ecx, byte [rdi]
test bl, bl
je 0x18000202c
add rax, 1
add rdi, 1
cmp bl, cl
je 0x180002016
cmp bl, cl
je 0x18000203a
add rdx, 4
add rsi, 2
jmp 0x18000200d
movzx eax, word [rsi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r13
call r9
add rsp, 0x20
mov qword [r12], rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180002120
test edx, edx
je 0x180002120
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002210
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x1800020b1
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002152
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800020dc
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002154
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov esi, dword [r9 + rcx + 0x24]
add rdx, r9
add rsi, r9
mov edi, dword [rdx]
add rdi, r9
mov rax, qword [rbp - 0x28]
movzx ebx, byte [rax]
movzx ecx, byte [rdi]
test bl, bl
je 0x18000210e
add rax, 1
add rdi, 1
cmp bl, cl
je 0x1800020f8
cmp bl, cl
je 0x180001f7a
add rdx, 4
add rsi, 2
jmp 0x1800020ef
add qword [rbp - 0x20], 8
add r12, 8
cmp ecx, 0xa
jl 0x180001f56
test edx, edx
je 0x180001f56
jmp 0x180002156
add qword [rbp - 0x10], 0x14
jmp 0x180001d62
jmp 0x180002146
jmp 0x180002148
jmp 0x18000214a
jmp 0x18000214c
jmp 0x18000214e
jmp 0x180002150
jmp 0x180002152
jmp 0x180002154
jmp 0x180002156
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 0x1800021f2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800021f2
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 0x1800021c4
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000218a
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 0x1800021f2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000218a
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret