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 0x1800010bf
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001119
mov eax, 0x10
call entry0
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rsi, rsp
sub rsp, 0x20
lea r15, section..data
mov r8d, 4
mov rcx, rbx
mov rdx, r15
call fcn.1800021c0
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x180001148
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001148
mov eax, 0x10
call entry0
sub rsp, rax
mov rcx, rsp
sub rsp, 0x20
lea rdx, section..data
mov r8d, 4
call fcn.1800021c0
add rsp, 0x20
jmp 0x1800010bf
mov r12d, dword [rbx]
test r12, r12
je 0x18000126a
xor eax, eax
cmp r12d, 0x10
jb 0x180001240
lea rcx, [r12 - 1]
cmp rcx, 0x400
jae 0x180001240
mov eax, r12d
and eax, 0xfffffff0
lea rdx, [rax - 0x10]
mov rcx, rdx
shr rcx, 4
add rcx, 1
mov ebx, ecx
and ebx, 1
test rdx, rdx
je 0x180001a72
mov rdx, rbx
sub rdx, rcx
xor edi, edi
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
nop word cs:[rax + rax]
nop
mov ecx, edi
and ecx, 0x3e0
movups xmm1, xmmword [rcx + r15 + 4]
movups xmm2, xmmword [rdi + r15 + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rdi + r15 + 0x414]
xorps xmm2, xmm0
movups xmmword [rdi + r15 + 0x404], xmm2
lea ecx, [rdi + 0x10]
and ecx, 0x3f0
movups xmm2, xmmword [rcx + r15 + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rdi + r15 + 0x414], xmm1
add rdi, 0x20
add rdx, 2
jne 0x1800011b0
test rbx, rbx
je 0x180001236
mov ecx, edi
and ecx, 0x3f0
movups xmm0, xmmword [rcx + r15 + 4]
movups xmm1, xmmword [rdi + r15 + 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 + r15 + 0x404], xmm1
cmp rax, r12
je 0x18000126a
nop dword [rax + rax]
mov ecx, eax
and ecx, 0x3ff
movzx ecx, byte [rcx + r15 + 4]
xor cl, byte [rax + r15 + 0x404]
xor cl, 0xc
mov byte [rax + r15 + 0x404], cl
add rax, 1
cmp rax, r12
jb 0x180001240
lea rdx, [r12 + r15]
add rdx, 0x404
sub rsp, 0x20
mov r8d, 4
mov rcx, rsi
call fcn.1800021c0
add rsp, 0x20
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x180020a6c], 0xa
setl al
or al, cl
cmp al, 1
jne 0x1800012e0
lea rdi, [r12 + r15]
add rdi, 0x408
mov ecx, dword [rsi]
xor ebx, ebx
nop dword [rax]
cmp rcx, rbx
je 0x1800012e2
mov edx, ebx
and edx, 0x3ff
movzx edx, byte [rdx + r15 + 4]
xor byte [rdi + rbx], dl
add rbx, 1
test al, al
jne 0x1800012c0
nop
jmp 0x1800012e0
cmp dword [0x180020a74], 0xa
jl 0x180001302
mov eax, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001302
nop dword [rax]
jmp 0x180001300
add r12, 0x408
mov qword [rbp - 0x18], rdi
movsxd rax, dword [0x180004440]
add rax, r15
add rax, 0x404
nop dword [rax]
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x180001320
mov rcx, rdi
nop dword [rax]
cmp byte [rcx], 0
lea rcx, [rcx + 1]
jne 0x180001330
mov qword [rbp - 8], rax
mov rbx, rcx
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001340
mov r13, rbx
nop dword [rax]
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001350
mov r14, r13
nop
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001360
mov qword [rbp - 0x10], rcx
mov rsi, r14
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x180001380
sub rsp, 0x20
mov rcx, rdi
call fcn.180002350
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x1800013ba
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800019b0
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800013e9
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800019c0
mov qword [rbp - 0x28], rbx
mov qword [rbp], rdi
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 - 0x10]
nop dword [rax + rax]
mov edx, dword [rdi]
add rdx, r9
mov rcx, r11
nop dword [rax + rax]
movzx eax, byte [rcx]
movzx ebx, byte [rdx]
test al, al
je 0x180001436
add rdx, 1
add rcx, 1
cmp al, bl
je 0x180001420
cmp al, bl
je 0x180001450
add rdi, 4
add r10, 2
jmp 0x180001410
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r14
call r9
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x18000148a
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800019d0
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800014b9
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800019e0
add r8, r10
mov edi, dword [r10 + rax + 0x20]
mov r9d, dword [r10 + rax + 0x24]
add rdi, r10
add r9, r10
nop dword [rax]
mov eax, dword [rdi]
add rax, r10
mov rbx, r13
nop dword [rax + rax]
movzx ecx, byte [rbx]
movzx edx, byte [rax]
test cl, cl
je 0x1800014f6
add rax, 1
add rbx, 1
cmp cl, dl
je 0x1800014e0
cmp cl, dl
je 0x180001510
add rdi, 4
add r9, 2
jmp 0x1800014d0
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, rsi
mov r8, rsi
call r10
add rsp, 0x10
mov rcx, qword [rbp]
call fcn.180002350
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001574
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800019f0
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800015a3
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a00
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov ecx, dword [r10 + rcx + 0x24]
add rdx, r10
add rcx, r10
mov r13, qword [rbp - 8]
nop word [rax + rax]
mov esi, dword [rdx]
add rsi, r10
xor edi, edi
nop word [rax + rax]
lea rax, [r12 + rdi]
movzx eax, byte [r15 + rax]
movzx ebx, byte [rsi + rdi]
test al, al
je 0x1800015e9
add rdi, 1
cmp al, bl
je 0x1800015d0
cmp al, bl
je 0x180001600
add rdx, 4
add rcx, 2
jmp 0x1800015c0
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r10, rax
mov edx, dword [r13 + 0x50]
sub rsp, 0x20
mov r8d, 0x3000
mov r9d, 0x40
xor ecx, ecx
call r10
add rsp, 0x20
mov rbx, rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
mov rdi, qword [rbp - 0x18]
jl 0x180001a82
test edx, edx
je 0x180001a82
movsxd rbx, dword [0x180004440]
cmp dword [0x180020a74], 0xa
mov rcx, rdi
jl 0x180001680
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
mov rcx, rdi
and edx, 1
jne 0x180001a10
nop
cmp byte [rcx], 0
lea rcx, [rcx + 1]
jne 0x180001680
mov r13, rcx
nop dword [rax]
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001690
mov r14, r13
nop
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x1800016a0
nop word [rax + rax]
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x1800016b0
mov rsi, r14
nop dword [rax]
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x1800016c0
mov rdi, rsi
nop dword [rax]
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800016d0
sub rsp, 0x20
mov qword [rbp - 0x10], rcx
call fcn.180002350
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x18000170b
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a20
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000173a
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a30
mov qword [rbp - 8], rdi
mov qword [rbp], rbx
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add rdi, r9
add r10, r9
nop word cs:[rax + rax]
nop
mov edx, dword [rdi]
add rdx, r9
mov rcx, r13
nop dword [rax + rax]
movzx eax, byte [rcx]
movzx ebx, byte [rdx]
test al, al
je 0x180001786
add rdx, 1
add rcx, 1
cmp al, bl
je 0x180001770
cmp al, bl
je 0x1800017a0
add rdi, 4
add r10, 2
jmp 0x180001760
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, rsi
call r9
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x1800017da
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a40
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001809
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001a50
add r8, r10
mov esi, dword [r10 + rax + 0x20]
mov edi, dword [r10 + rax + 0x24]
add rsi, r10
add rdi, r10
nop dword [rax]
mov eax, dword [rsi]
add rax, r10
mov rbx, r14
nop dword [rax + rax]
movzx ecx, byte [rbx]
movzx edx, byte [rax]
test cl, cl
je 0x180001846
add rax, 1
add rbx, 1
cmp cl, dl
je 0x180001830
cmp cl, dl
je 0x180001860
add rsi, 4
add rdi, 2
jmp 0x180001820
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, qword [rbp - 8]
mov r8, rdx
call r10
add rsp, 0x10
mov rcx, qword [rbp - 0x10]
call fcn.180002350
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x1800018c4
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a60
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800018f3
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001a70
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov ecx, dword [r10 + rcx + 0x24]
add rdx, r10
add rcx, r10
nop word cs:[rax + rax]
mov esi, dword [rdx]
add rsi, r10
xor edi, edi
nop word [rax + rax]
lea rax, [r12 + rdi]
movzx eax, byte [r15 + rax]
movzx ebx, byte [rsi + rdi]
test al, al
je 0x180001939
add rdi, 1
cmp al, bl
je 0x180001920
cmp al, bl
je 0x180001950
add rdx, 4
add rcx, 2
jmp 0x180001910
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r10, rax
mov rax, qword [rbp]
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 [0x180020a74], 0xa
mov rdi, qword [rbp - 0x18]
jl 0x18000130d
mov eax, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x18000130d
jmp 0x180001300
jmp 0x1800019b0
jmp 0x1800019c0
jmp 0x1800019d0
jmp 0x1800019e0
jmp 0x1800019f0
jmp 0x180001a00
jmp 0x180001a10
jmp 0x180001a20
jmp 0x180001a30
jmp 0x180001a40
jmp 0x180001a50
jmp 0x180001a60
jmp 0x180001a70
xor edi, edi
test rbx, rbx
jne 0x18000120c
jmp 0x180001236
cmp ecx, 0xa
jl 0x180001a8f
test edx, edx
jne 0x180001be0
lea r14, [r13 + 0x108]
xor r12d, r12d
movzx edx, word [r13 + 6]
cmp r12, rdx
jae 0x180001be2
lea rsi, [r12 + r12*4]
mov ecx, dword [r14 + rsi*8 + 0xc]
mov r8d, dword [r14 + rsi*8 + 0x10]
add rcx, rbx
mov eax, dword [r14 + rsi*8 + 0x14]
lea rdx, [rax + r15]
add rdx, 0x404
sub rsp, 0x20
call fcn.1800021c0
add rsp, 0x20
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001bb6
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001bb6
lea rsi, [r14 + rsi*8]
add rsi, 0xc
nop word cs:[rax + rax]
nop dword [rax + rax]
mov ecx, dword [rsi]
add rcx, rbx
mov r8d, dword [rsi + 4]
mov eax, dword [rsi + 8]
lea rdx, [rax + r15]
add rdx, 0x404
sub rsp, 0x20
call fcn.1800021c0
add rsp, 0x20
mov ecx, dword [rsi]
add rcx, rbx
mov r8d, dword [rsi + 4]
mov eax, dword [rsi + 8]
lea rdx, [rax + r15]
add rdx, 0x404
sub rsp, 0x20
call fcn.1800021c0
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x180001b72
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001b10
mov ecx, dword [rsi]
add rcx, rbx
mov r8d, dword [rsi + 4]
mov eax, dword [rsi + 8]
lea rdx, [rax + r15]
add rdx, 0x404
sub rsp, 0x20
call fcn.1800021c0
add rsp, 0x20
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001bb6
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001b10
add r12, 1
cmp ecx, 0xa
jl 0x180001a99
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001a99
nop word cs:[rax + rax]
nop dword [rax]
jmp 0x180001be0
mov rdx, qword [r13 + 0x30]
mov r9, rbx
sub r9, rdx
cmp ecx, 0xa
jl 0x180001c02
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001c02
nop dword [rax]
jmp 0x180001c00
mov r11d, dword [r13 + 0xb0]
add r11, rbx
movabs r8, 0x1fffffff8
cmp dword [r11], 0
je 0x180001d52
mov edx, dword [r11 + 4]
cmp rdx, 8
jb 0x180001cfe
cmp ecx, 0xa
jl 0x180001c42
lea edi, [rax - 1]
imul edi, eax
and edi, 1
jne 0x180001d30
add rdx, r8
shr rdx, 1
mov r10d, edx
xor r14d, r14d
cmp r10, r14
je 0x180001cfe
movzx esi, word [r11 + r14*2 + 8]
mov edi, esi
shr edi, 0xc
mov edx, esi
and edx, 0xfff
cmp esi, 0xa000
jae 0x180001c90
cmp edi, 3
jne 0x180001cea
mov eax, dword [r11]
lea rax, [rbx + rax*4]
add dword [rax + rdx*4], r9d
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
jmp 0x180001cea
cmp edi, 0xa
jne 0x180001cea
mov esi, edx
cmp ecx, 0xa
jl 0x180001cc3
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001cc3
lea rdi, [rsi + rbx]
jmp 0x180001cbc
add r14, 1
cmp ecx, 0xa
jl 0x180001c4e
test esi, esi
je 0x180001c4e
jmp 0x180001d30
mov eax, dword [r11]
add qword [rdi + rax], r9
mov eax, dword [r11]
lea rdi, [rsi + rbx]
add qword [rax + rdi], r9
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001cea
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001cbc
lea esi, [rax - 1]
imul esi, eax
and esi, 1
cmp ecx, 0xa
jl 0x180001cad
test esi, esi
je 0x180001cad
jmp 0x180001d40
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001d10
test edx, edx
jne 0x180001d50
mov edi, dword [r11 + 4]
add r11, rdi
cmp ecx, 0xa
jl 0x180001c16
test edx, edx
je 0x180001c16
jmp 0x180001c00
jmp 0x180001d30
jmp 0x180001d40
jmp 0x180001d50
mov edx, dword [r13 + 0x90]
add rdx, rbx
mov qword [rbp - 0x20], rdx
lea rdx, [rbx + 2]
mov qword [rbp - 0x18], rdx
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete dl
cmp ecx, 0xa
setl al
or al, dl
test al, al
je 0x180001d7c
mov rax, qword [rbp - 0x20]
mov r14d, dword [rax + 0xc]
test r14, r14
je 0x180002098
add r14, rbx
sub rsp, 0x20
jmp 0x180001daf
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r14
call r9
mov rcx, qword [rbp]
call fcn.180002350
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001ddd
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002088
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
mov r11, qword [rbp - 0x10]
jl 0x180001e10
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000208a
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add rdi, r9
add r10, r9
mov esi, dword [rdi]
add rsi, r9
mov rax, r11
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rsi]
test dl, dl
je 0x180001e46
add rsi, 1
add rax, 1
cmp dl, cl
je 0x180001e30
cmp dl, cl
je 0x180001e54
add rdi, 4
add r10, 2
jmp 0x180001e23
movzx eax, word [r10]
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 [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001f48
test edx, edx
je 0x180001f48
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002350
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001ec8
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000208c
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
mov r11, qword [rbp - 0x10]
jl 0x180001efb
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000208e
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add rdi, r9
add r10, r9
mov esi, dword [rdi]
add rsi, r9
mov rax, r11
nop word cs:[rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rsi]
test dl, dl
je 0x180001f36
add rsi, 1
add rax, 1
cmp dl, cl
je 0x180001f20
cmp dl, cl
je 0x180001d9a
add rdi, 4
add r10, 2
jmp 0x180001f0e
cmp ecx, 0xa
jl 0x180001f55
test edx, edx
jne 0x180002090
mov rdx, qword [rbp - 0x20]
mov r14d, dword [rdx]
mov r13d, dword [rdx + 0x10]
add r14, rbx
add r13, rbx
mov rdx, qword [r14]
test rdx, rdx
je 0x18000207e
mov rax, qword [rbp - 0x18]
add rax, rdx
test rdx, rdx
movzx r15d, dx
cmovns r15, rax
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002350
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001fb6
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002092
movsxd rax, dword [r9 + 0x3c]
mov eax, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001fe5
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180002094
add r8, r9
mov esi, dword [r9 + rax + 0x20]
mov r10d, dword [r9 + rax + 0x24]
add rsi, r9
add r10, r9
mov eax, dword [rsi]
add rax, r9
mov rdi, qword [rbp - 0x28]
movzx ecx, byte [rdi]
movzx edx, byte [rax]
test cl, cl
je 0x180002017
add rax, 1
add rdi, 1
cmp cl, dl
je 0x180002001
cmp cl, dl
je 0x180002025
add rsi, 4
add r10, 2
jmp 0x180001ff8
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r12
mov rdx, r15
call r9
add rsp, 0x20
mov qword [r13], rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180002063
test edx, edx
jne 0x180002096
add r14, 8
add r13, 8
cmp ecx, 0xa
jl 0x180001f66
test edx, edx
je 0x180001f66
jmp 0x180002090
add qword [rbp - 0x20], 0x14
jmp 0x180001d68
jmp 0x180002088
jmp 0x18000208a
jmp 0x18000208c
jmp 0x18000208e
jmp 0x180002090
jmp 0x180002092
jmp 0x180002094
jmp 0x180002096
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x1800021a1
mov ecx, dword [0x180020a70]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800021a1
mov rsi, qword [rbp - 8]
cmp eax, 0xa
jl 0x1800020e8
lea eax, [rcx - 1]
imul eax, ecx
and eax, 1
jne 0x1800021b4
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
jmp 0x1800020f4
mov eax, dword [rsi + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x18000216d
mov ecx, dword [0x180020a70]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x18000216d
cmp eax, 0xa
jl 0x180002131
lea eax, [rcx - 1]
imul eax, ecx
and eax, 1
jne 0x1800021b2
mov eax, dword [rsi + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x1800020f1
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800020f1
mov eax, dword [rsi + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x180002131
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
add rax, rbx
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [0x180020a6c]
cmp eax, 0xa
jl 0x1800021a1
mov ecx, dword [0x180020a70]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800020d4
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
jmp 0x1800021b2
jmp 0x1800021b4