Function at 0x180001090
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 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 qword [rbp], rsp
cmp dword [0x180020a74], 0xa
jl 0x180001102
mov eax, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001102
nop dword [rax]
jmp 0x180001100
mov r8b, byte [section..data]
mov r15d, dword [0x180020a78]
mov r13d, dword [0x180020a74]
lea ecx, [r15 - 1]
imul ecx, r15d
and ecx, 1
sete al
cmp r13d, 0xa
setl bl
or bl, al
mov r9b, byte [0x180004001]
mov r10b, byte [0x180004002]
mov eax, dword [0x180020a70]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a6c], 0xa
mov r11b, byte [0x180004003]
setl r12b
or r12b, al
mov r14d, ebx
or r14b, bl
mov byte [rdi], r8b
test bl, bl
jne 0x180001177
test bl, bl
je 0x180001170
mov byte [rdi], r8b
cmp r13d, 0xa
jl 0x180001185
test ecx, ecx
jne 0x1800012d0
mov byte [rdi + 1], r9b
test bl, bl
jne 0x180001198
nop dword [rax]
test bl, bl
je 0x180001190
mov byte [rdi + 1], r9b
cmp r13d, 0xa
jl 0x1800011a6
test ecx, ecx
jne 0x1800012d0
mov byte [rdi + 2], r10b
test bl, bl
jne 0x1800011b8
nop
test bl, bl
je 0x1800011b0
mov byte [rdi + 2], r10b
cmp r13d, 0xa
jl 0x1800011c6
test ecx, ecx
jne 0x1800012d0
mov byte [rdi + 3], r11b
test bl, bl
jne 0x1800011d8
nop
test bl, bl
je 0x1800011d0
mov byte [rdi + 3], r11b
cmp r13d, 0xa
jl 0x1800011e6
test ecx, ecx
jne 0x1800012d0
test r12b, r12b
jne 0x180001332
cmp r13d, 0xa
jl 0x1800011fd
test ecx, ecx
jne 0x1800012f0
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
test r14b, r14b
je 0x180001300
cmp edx, 0xa
jl 0x180001221
test eax, eax
jne 0x1800012e0
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
test r14b, r14b
je 0x180001310
cmp edx, 0xa
jl 0x180001245
test eax, eax
jne 0x1800012e0
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
test r14b, r14b
je 0x180001320
cmp edx, 0xa
jl 0x180001265
test eax, eax
jne 0x1800012e0
test bl, bl
mov eax, ecx
cmovne eax, ecx
mov edx, r13d
cmovne edx, r13d
mov esi, r15d
cmovne esi, esi
test r14b, r14b
je 0x180001330
cmp edx, 0xa
jl 0x18000128b
test eax, eax
jne 0x1800012e0
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov qword [rbp], rsp
cmp edx, 0xa
jl 0x180001169
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
je 0x180001169
jmp 0x180001100
jmp 0x1800012d0
jmp 0x1800012e0
jmp 0x1800012f0
jmp 0x180001300
jmp 0x180001310
jmp 0x180001320
jmp 0x180001330
mov r12d, dword [rdi]
test r12, r12
je 0x180001457
xor ebx, ebx
cmp r12d, 0x10
jb 0x18000141e
lea rax, [r12 - 1]
cmp rax, 0x400
jae 0x18000141e
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 0x1800013e5
mov rsi, r8
sub rsi, rax
xor edi, edi
lea rax, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov edx, edi
and edx, 0x3e0
movups xmm1, xmmword [rdx + rax + 4]
movups xmm2, xmmword [rdi + rax + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rdi + rax + 0x414]
xorps xmm2, xmm0
movups xmmword [rdi + rax + 0x404], xmm2
lea edx, [rdi + 0x10]
and edx, 0x3f0
movups xmm2, xmmword [rdx + rax + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rdi + rax + 0x414], xmm1
add rdi, 0x20
add rsi, 2
jne 0x180001392
jmp 0x1800013e7
xor edi, edi
test r8, r8
je 0x180001419
mov eax, edi
and eax, 0x3f0
lea rdx, section..data
movups xmm0, xmmword [rax + rdx + 4]
movups xmm1, xmmword [rdi + 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 [rdi + rdx + 0x404], xmm1
cmp rbx, r12
je 0x180001457
lea rax, section..data
nop word cs:[rax + rax]
nop
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 0x180001430
cmp r13d, 0xa
jl 0x180001472
test ecx, ecx
je 0x180001472
nop word cs:[rax + rax]
nop dword [rax + rax]
jmp 0x180001470
lea rsi, section..data
lea r14, [r12 + rsi]
add r14, 0x404
mov dl, byte [r14]
mov rdi, qword [rbp]
mov byte [rdi], dl
mov ebx, dword [0x180020a78]
mov ecx, dword [0x180020a74]
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
cmp ecx, 0xa
jl 0x1800014ab
test eax, eax
jne 0x18000148b
cmp ecx, 0xa
jl 0x1800014b8
test eax, eax
jne 0x1800015d0
mov al, byte [r14 + 1]
mov byte [rdi + 1], al
mov ebx, dword [0x180020a78]
mov edx, dword [0x180020a74]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001506
test ecx, ecx
je 0x180001506
mov ebx, dword [0x180020a78]
mov edx, dword [0x180020a74]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x1800014ff
mov byte [rdi + 1], al
cmp edx, 0xa
jl 0x180001513
test ecx, ecx
jne 0x1800015d0
mov al, byte [r14 + 2]
mov byte [rdi + 2], al
mov ebx, dword [0x180020a78]
mov edx, dword [0x180020a74]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001561
test ecx, ecx
je 0x180001561
mov ebx, dword [0x180020a78]
mov edx, dword [0x180020a74]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x18000155a
mov byte [rdi + 2], al
cmp edx, 0xa
jl 0x18000156a
test ecx, ecx
jne 0x1800015d0
mov al, byte [r14 + 3]
mov byte [rdi + 3], al
mov ebx, dword [0x180020a78]
mov edx, dword [0x180020a74]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x1800015b8
test ecx, ecx
je 0x1800015b8
mov ebx, dword [0x180020a78]
mov edx, dword [0x180020a74]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x1800015b1
mov byte [rdi + 3], al
cmp edx, 0xa
jl 0x1800015d2
test ecx, ecx
je 0x1800015d2
nop word cs:[rax + rax]
nop dword [rax + rax]
jmp 0x1800015d0
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x180020a6c], 0xa
mov ebx, dword [rdi]
setl dl
or dl, al
test rbx, rbx
je 0x180001620
lea rax, [r12 + rsi]
add rax, 0x408
xor edi, edi
mov ecx, edi
and ecx, 0x3ff
test dl, dl
je 0x180001662
movzx ecx, byte [rcx + rsi + 4]
xor byte [rax + rdi], cl
add rdi, 1
cmp rdi, rbx
jb 0x180001603
test dl, dl
je 0x180001660
movsxd rax, dword [0x180004440]
cmp dword [0x180020a7c], 0xa
jl 0x180001680
mov ecx, dword [0x180020a80]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001680
nop word cs:[rax + rax]
nop
jmp 0x180001650
jmp 0x180001660
add r12, rsi
mov dl, byte [rdi + r12 + 0x408]
nop dword [rax]
xor dl, byte [rcx + rsi + 4]
mov byte [rax + rdi], dl
xor dl, byte [rcx + rsi + 4]
mov byte [rax + rdi], dl
jmp 0x180001670
add r14, 4
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001684
add rax, rsi
add rax, 0x404
mov qword [rbp], rax
mov r13, r14
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x18000169e
mov r15, r13
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x1800016ac
mov qword [rbp - 0x28], r15
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x1800016ba
mov rbx, r15
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x1800016c7
mov rdi, rbx
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800016d3
sub rsp, 0x20
mov rcx, r14
call fcn.180002150
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x18000170d
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000173e
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x18000173e
jmp 0x18000173c
add r8, r9
mov qword [rbp - 8], r8
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 rcx, r13
movzx eax, byte [rcx]
movzx r8d, byte [rdx]
test al, al
je 0x180001776
add rcx, 1
add rdx, 1
cmp al, r8b
je 0x18000175e
cmp al, r8b
je 0x180001785
add r10, 2
add r11, 4
jmp 0x180001755
movzx eax, word [r10]
mov rcx, qword [rbp - 8]
mov eax, dword [rcx + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, rbx
call r9
add rsp, 0x20
mov r10, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x1800017c2
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800017f3
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800017f3
jmp 0x1800017f1
add r8, r10
mov r11d, dword [r10 + rax + 0x20]
mov r9d, dword [r10 + rax + 0x24]
add r11, r10
add r9, r10
mov eax, dword [r11]
add rax, r10
mov rbx, r15
movzx ecx, byte [rbx]
movzx edx, byte [rax]
test cl, cl
je 0x180001825
add rbx, 1
add rax, 1
cmp cl, dl
je 0x18000180f
cmp cl, dl
je 0x180001833
add r9, 2
add r11, 4
jmp 0x180001806
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, r14
call fcn.180002150
add rsp, 0x20
mov r10, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x180001896
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800018c7
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800018c7
jmp 0x1800018c5
add r8, r10
mov r11d, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add r11, r10
add r9, r10
lea rdi, [r12 + rsi]
add rdi, 0x408
mov eax, dword [r11]
add rax, r10
xor ebx, ebx
movzx ecx, byte [rdi + rbx]
movzx edx, byte [rax + rbx]
test cl, cl
je 0x180001901
add rbx, 1
cmp cl, dl
je 0x1800018ed
cmp cl, dl
je 0x18000190f
add r9, 2
add r11, 4
jmp 0x1800018e5
movzx eax, word [r9]
mov eax, dword [r8 + rax*4]
add r10, rax
mov rax, qword [rbp]
mov edx, dword [rax + 0x50]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call r10
add rsp, 0x20
mov r12, rax
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x18000195d
test edx, edx
je 0x18000195d
jmp 0x18000195b
cmp eax, 0xa
jl 0x180001968
test edx, edx
je 0x180001968
jmp 0x180001966
mov rdx, qword [rbp]
lea r8, [rdx + 0x108]
xor r9d, r9d
mov rdx, qword [rbp]
movzx edx, word [rdx + 6]
cmp r9, rdx
jae 0x180001afa
lea rax, [r9 + r9*4]
lea r10, [r8 + rax*8]
add r10, 0xc
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
cmp ebx, 0xa
jl 0x1800019b3
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001af6
cmp ebx, 0xa
jl 0x1800019c7
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001af2
mov r11d, dword [r10 + 4]
test r11, r11
je 0x180001a30
mov ecx, dword [r10]
add rcx, r12
mov eax, dword [r10 + 8]
lea rdi, [rax + rsi]
add rdi, 0x404
jmp 0x1800019f8
add r11, 0xffffffffffffffff
add rcx, 1
add rdi, 1
test r11, r11
je 0x180001a30
movzx eax, byte [rdi]
mov byte [rcx], al
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
cmp ebx, 0xa
jl 0x180001a22
test eax, eax
je 0x180001a22
movzx eax, byte [rdi]
mov byte [rcx], al
jmp 0x1800019f8
cmp ebx, 0xa
jl 0x1800019e7
test eax, eax
je 0x1800019e7
jmp 0x180001af2
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
cmp eax, 0xa
jl 0x180001ad8
test edi, edi
je 0x180001ad8
cmp ebx, 0xa
jl 0x180001a6a
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
jne 0x180001af8
mov r11d, dword [r10 + 4]
test r11, r11
je 0x18000199f
mov eax, dword [r10 + 8]
lea rcx, [rax + rsi]
add rcx, 0x404
mov edi, dword [r10]
add rdi, r12
jmp 0x180001aa3
add r11, 0xffffffffffffffff
add rdi, 1
add rcx, 1
test r11, r11
je 0x18000199f
movzx eax, byte [rcx]
mov byte [rdi], al
mov edx, dword [0x180020a78]
mov ebx, dword [0x180020a74]
lea eax, [rdx - 1]
imul eax, edx
and eax, 1
cmp ebx, 0xa
jl 0x180001acd
test eax, eax
je 0x180001acd
movzx eax, byte [rcx]
mov byte [rdi], al
jmp 0x180001aa3
cmp ebx, 0xa
jl 0x180001a8e
test eax, eax
je 0x180001a8e
jmp 0x180001af4
add r9, 1
cmp eax, 0xa
jl 0x180001976
test edi, edi
je 0x180001976
jmp 0x180001966
jmp 0x180001af2
jmp 0x180001af4
jmp 0x180001af6
jmp 0x180001af8
mov rbx, qword [rbp]
mov edx, dword [rbx + 0xb0]
add rdx, r12
mov r15, r12
sub r15, qword [rbx + 0x30]
movabs r8, 0x1fffffff8
jmp 0x180001b22
mov esi, dword [rdx + 4]
mov ebx, esi
add rdx, rbx
lea ebx, [rcx - 1]
imul ebx, ecx
test bl, 1
sete r9b
cmp eax, 0xa
setl bl
or bl, r9b
cmp bl, 1
jne 0x180001b85
test bl, bl
je 0x180001b85
cmp dword [rdx], 0
je 0x180001c95
mov esi, dword [rdx + 4]
cmp rsi, 8
jb 0x180001b1d
lea ebx, [rcx - 1]
imul ebx, ecx
test bl, 1
sete r9b
cmp eax, 0xa
setl bl
or bl, r9b
cmp bl, 1
jne 0x180001c8f
add rsi, r8
shr rsi, 1
mov r9d, esi
xor r10d, r10d
cmp r10, r9
jne 0x180001bb2
jmp 0x180001b1a
test bl, bl
je 0x180001b85
jmp 0x180001b3d
add r10, 1
test dil, 1
sete r11b
cmp eax, 0xa
setl bl
or bl, r11b
cmp bl, 1
jne 0x180001c8f
cmp r10, r9
je 0x180001b1a
movzx edi, word [rdx + r10*2 + 8]
mov esi, edi
shr esi, 0xc
mov r11d, edi
and r11d, 0xfff
cmp edi, 0xa000
jae 0x180001c11
cmp esi, 3
jne 0x180001c73
test bl, 1
je 0x180001c91
mov eax, dword [rdx]
lea rbx, [r12 + r11*4]
add dword [rbx + rax*4], r15d
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x180001c73
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
je 0x180001c73
mov eax, dword [rdx]
add dword [rbx + rax*4], r15d
mov eax, dword [rdx]
jmp 0x180001be7
cmp esi, 0xa
jne 0x180001c73
test bl, 1
je 0x180001c93
mov ebx, r11d
add rbx, r12
mov eax, dword [rdx]
add qword [rax + rbx], r15
jmp 0x180001c2f
mov eax, dword [rdx]
add qword [rbx + rax], r15
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x180001c73
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
je 0x180001c73
mov eax, dword [rdx]
add qword [rbx + rax], r15
mov eax, dword [rdx]
add qword [rbx + rax], r15
cmp dword [0x180020a6c], 0xa
jl 0x180001c29
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001c4b
jmp 0x180001c29
lea edi, [rcx - 1]
imul edi, ecx
cmp eax, 0xa
jl 0x180001b8b
mov ebx, edi
and ebx, 1
je 0x180001b8b
jmp 0x180001c8d
jmp 0x180001c8f
jmp 0x180001c91
jmp 0x180001c93
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001ca9
test edx, edx
je 0x180001ca9
jmp 0x180001ca7
lea rcx, [r12 + 2]
mov qword [rbp - 0x30], rcx
mov rcx, qword [rbp]
mov ecx, dword [rcx + 0x90]
add rcx, r12
mov qword [rbp - 0x10], rcx
mov rcx, qword [rbp - 0x10]
mov ecx, dword [rcx + 0xc]
mov qword [rbp - 8], rcx
test rcx, rcx
je 0x1800020c0
add qword [rbp - 8], r12
jmp 0x180001cf6
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call r9
add rsp, 0x20
sub rsp, 0x20
mov rcx, r14
call fcn.180002150
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x180001d27
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001d5a
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800020b8
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 0x180001d8b
add rbx, 1
add rsi, 1
cmp al, dl
je 0x180001d75
cmp al, dl
je 0x180001d99
add rcx, 2
add rdi, 4
jmp 0x180001d6d
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call r9
add rsp, 0x20
mov r15, rax
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x180001e80
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001e80
sub rsp, 0x20
mov rcx, r14
call fcn.180002150
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x180001e0a
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001e3d
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800020ba
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 0x180001e6e
add rbx, 1
add rsi, 1
cmp al, dl
je 0x180001e58
cmp al, dl
je 0x180001cdd
add rcx, 2
add rdi, 4
jmp 0x180001e50
mov rdx, qword [rbp - 0x10]
mov edx, dword [rdx]
mov qword [rbp - 0x18], rdx
mov rdx, qword [r12 + rdx]
test rdx, rdx
je 0x180002094
add qword [rbp - 0x18], r12
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
add rax, r12
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx ecx, dx
cmovns rcx, rax
mov qword [rbp - 0x20], rcx
jmp 0x180001ee3
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, qword [rbp - 0x20]
call r9
add rsp, 0x20
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
sub rsp, 0x20
mov rcx, r14
call fcn.180002150
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x180001f14
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001f47
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800020bc
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdx, r9
add rcx, r9
mov edi, dword [rdx]
add rdi, r9
mov rsi, qword [rbp - 0x28]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x180001f79
add rsi, 1
add rdi, 1
cmp al, bl
je 0x180001f63
cmp al, bl
je 0x180001f87
add rcx, 2
add rdx, 4
jmp 0x180001f5a
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, qword [rbp - 0x20]
call r9
add rsp, 0x20
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x180002076
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180002076
sub rsp, 0x20
mov rcx, r14
call fcn.180002150
add rsp, 0x20
mov r9, rax
mov eax, dword [0x180020a84]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a88], 0xa
setl al
or al, cl
test al, al
je 0x180001fff
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180002032
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800020be
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdx, r9
add rcx, r9
mov edi, dword [rdx]
add rdi, r9
mov rsi, qword [rbp - 0x28]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x180002064
add rsi, 1
add rdi, 1
cmp al, bl
je 0x18000204e
cmp al, bl
je 0x180001ec0
add rcx, 2
add rdx, 4
jmp 0x180002045
add qword [rbp - 8], 8
mov rbx, qword [rbp - 0x18]
mov rdx, qword [rbx + 8]
add rbx, 8
mov qword [rbp - 0x18], rbx
test rdx, rdx
jne 0x180001ea9
add qword [rbp - 0x10], 0x14
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001cc3
test edx, edx
je 0x180001cc3
jmp 0x180001ca7
jmp 0x1800020b8
jmp 0x1800020ba
jmp 0x1800020bc
jmp 0x1800020be
cmp eax, 0xa
jl 0x1800020f2
test edx, edx
je 0x1800020f2
mov rax, qword [rbp]
mov eax, dword [rax + 0x28]
add rax, r12
sub rsp, 0x20
call rax
add rsp, 0x20
mov ecx, dword [0x180020a70]
mov eax, dword [0x180020a6c]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x1800020fb
test edx, edx
jne 0x180002129
mov rax, qword [rbp]
mov eax, dword [rax + 0x28]
add rax, r12
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x18000213f
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x18000213f
mov rax, qword [rbp]
mov eax, dword [rax + 0x28]
add rax, r12
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x1800020fb
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret