Function at 0x180001040
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 [0x180020a64], 0xa
jl 0x180001072
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001072
nop
jmp 0x180001070
mov eax, 0x10
call entry0
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rax, rsp
cmp dword [0x180020a6c], 0xa
jl 0x1800010b2
mov ecx, dword [0x180020a70]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800010b2
nop dword [rax]
jmp 0x1800010b0
mov r8b, byte [section..data]
mov ecx, dword [0x180020a70]
mov r15d, dword [0x180020a6c]
lea r13d, [rcx - 1]
imul r13d, ecx
test r13b, 1
sete dl
cmp r15d, 0xa
setl cl
or cl, dl
mov r10b, byte [0x180004001]
mov r9b, byte [0x180004002]
mov edx, dword [0x180020a68]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020a64], 0xa
mov r11b, byte [0x180004003]
setl r14b
or r14b, dl
mov edx, ecx
xor dl, 1
mov byte [rbx], r8b
test cl, cl
je 0x180001180
mov byte [rbx + 1], r10b
je 0x180001180
mov byte [rbx + 2], r9b
test cl, cl
je 0x180001180
mov byte [rbx + 3], r11b
je 0x180001180
test r14b, r14b
jne 0x1800011a2
test cl, cl
je 0x180001190
je 0x1800011a0
test dl, dl
jne 0x1800011a0
jne 0x1800011a0
test dl, dl
jne 0x1800011a0
mov eax, 0x10
call entry0
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rax, rsp
test cl, cl
jne 0x180001119
jmp 0x1800010b0
jmp 0x180001180
jmp 0x180001190
jmp 0x1800011a0
mov r12d, dword [rbx]
test r12, r12
je 0x1800012c7
xor ebx, ebx
cmp r12d, 0x10
jb 0x180001290
lea rcx, [r12 - 1]
cmp rcx, 0x400
jae 0x180001290
mov ebx, r12d
and ebx, 0xfffffff0
lea rdx, [rbx - 0x10]
mov rcx, rdx
shr rcx, 4
add rcx, 1
mov r8d, ecx
and r8d, 1
test rdx, rdx
je 0x180001256
mov rdx, r8
sub rdx, rcx
xor esi, esi
lea rdi, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov ecx, esi
and ecx, 0x3e0
movups xmm1, xmmword [rcx + rdi + 4]
movups xmm2, xmmword [rsi + rdi + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rsi + rdi + 0x414]
xorps xmm2, xmm0
movups xmmword [rsi + rdi + 0x404], xmm2
lea ecx, [rsi + 0x10]
and ecx, 0x3f0
movups xmm2, xmmword [rcx + rdi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rsi + rdi + 0x414], xmm1
add rsi, 0x20
add rdx, 2
jne 0x180001203
jmp 0x180001258
xor esi, esi
test r8, r8
je 0x18000128b
mov ecx, esi
and ecx, 0x3f0
lea rdx, section..data
movups xmm0, xmmword [rcx + rdx + 4]
movups xmm1, xmmword [rsi + 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 [rsi + rdx + 0x404], xmm1
cmp rbx, r12
je 0x1800012c7
lea rcx, section..data
nop word [rax + rax]
mov edx, ebx
and edx, 0x3ff
movzx edx, byte [rdx + rcx + 4]
xor dl, byte [rbx + rcx + 0x404]
xor dl, 0xc
mov byte [rbx + rcx + 0x404], dl
add rbx, 1
cmp rbx, r12
jb 0x1800012a0
cmp r15d, 0xa
jl 0x1800012e2
and r13d, 1
je 0x1800012e2
nop word cs:[rax + rax]
nop dword [rax]
jmp 0x1800012e0
lea r15, section..data
lea r8, [r12 + r15]
add r8, 0x404
movzx edx, byte [r12 + r15 + 0x404]
mov byte [rax], dl
cmp dword [0x180020a6c], 0xa
jl 0x18000131d
mov edx, dword [0x180020a70]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001480
movzx edx, byte [r8 + 1]
mov byte [rax + 1], dl
cmp dword [0x180020a6c], 0xa
jl 0x180001343
mov edx, dword [0x180020a70]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001480
movzx edx, byte [r8 + 2]
mov byte [rax + 2], dl
cmp dword [0x180020a6c], 0xa
jl 0x180001369
mov edx, dword [0x180020a70]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001480
movzx edx, byte [r8 + 3]
mov byte [rax + 3], dl
mov edi, dword [0x180020a70]
mov ebx, dword [0x180020a6c]
lea edx, [rdi - 1]
imul edx, edi
and edx, 1
cmp ebx, 0xa
jl 0x180001393
test edx, edx
jne 0x180001480
cmp dword [0x180020a64], 0xa
jl 0x1800014a2
mov edi, dword [0x180020a68]
lea esi, [rdi - 1]
imul esi, edi
and esi, 1
je 0x1800014a2
cmp ebx, 0xa
jl 0x1800013c2
test edx, edx
jne 0x1800014a0
movzx edx, byte [r12 + r15 + 0x404]
mov byte [rax], dl
cmp dword [0x180020a6c], 0xa
jl 0x1800013eb
mov edx, dword [0x180020a70]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001490
movzx edx, byte [r12 + r15 + 0x405]
mov byte [rax + 1], dl
cmp dword [0x180020a6c], 0xa
jl 0x180001411
mov edx, dword [0x180020a70]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001490
movzx edx, byte [r12 + r15 + 0x406]
mov byte [rax + 2], dl
cmp dword [0x180020a6c], 0xa
jl 0x180001437
mov edx, dword [0x180020a70]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
jne 0x180001490
movzx edx, byte [r12 + r15 + 0x407]
mov byte [rax + 3], dl
mov edi, dword [0x180020a70]
mov ebx, dword [0x180020a6c]
lea edx, [rdi - 1]
imul edx, edi
and edx, 1
cmp ebx, 0xa
jl 0x180001461
test edx, edx
jne 0x180001490
cmp ebx, 0xa
jl 0x1800012f4
test edx, edx
je 0x1800012f4
jmp 0x1800012e0
jmp 0x180001480
jmp 0x180001490
jmp 0x1800014a0
lea rcx, [r8 + 4]
mov r9d, dword [rax]
test r9, r9
je 0x1800015ef
xor eax, eax
cmp r9d, 0x20
jb 0x1800015ca
lea rbx, [r9 - 1]
cmp rbx, 0x400
jae 0x1800015ca
lea rdx, [r9 + r15]
add rdx, 4
cmp rcx, rdx
jae 0x1800014f7
lea rax, [r8 + r9]
add rax, 4
lea rdx, str.HSQVAHuFSJFCuLpdjXFOCLPvSDehlVAEgpVsnUrZyWZGXXtGJefMAHLsPLqCFPivFbCZyDykSUdsyMKlsZlyWUmMQDdzPEfybxhkeZgSuyPzKyApjIemYxajIpJwBGEedIymepQePpzhyThbaSIHUPSSwUaHghcihaohYJhFyHvOdHBCtWVKvOlBWyhlTRAjZXenJQvniCHFpZshgAbirmKDnwleGpJIBmVpRjbVQILpaZSHsXlivaBUOphclkWoboEQuTbyIxCMBmuAYMcFXQEZDsOgzbikyLUHWQfdMyuJMndjCgYRLsuweBrpsrBmHTyZzYGOQeYlCcbObzptepEuWBzoHdonDnsSkKCouPpMqAgVDBplSnZfBKLhrFPjcEYdftZTpoubxeorEbDEupaUEFYporFbGTGRrmkVeAeEWcHTPCHeevmGBCaxxeWwiHCFBDfpfgFsHmxUGQwFofuPFzbLpfbblSSOrcJewvECDTDTSoJVWMrVnFFwpguFjyyXUqkQXWFkKiCrvEgcuOdHnQlRVrFZinRgTzVjnVbJAMBvgfqvHxkIfHLXGrvdckJFYhPWpPiLaosSXSmOGgDQEwuiZlkrzWLcuLXTkKlTKOXSmfmhpZCtLJSHAbyuXPyVtmfuUBpXIluRzQcVgLlRsdGXMnUsDsTyhfJzePsivhxjehrpfapjdYiWMqMXSUMUxHIlKlnBCwxwCYFqOueBiBmnfgazysSfDLMkAqoVFYxJPrPtgxFCMBeXVcmrWXPUOFlixKdxnCdFscjglJyaKaPrmTIZxzdrTBauqoiJCZfwkDbggBxJjGrEnQhwFfCVIGmMGCzXizzZxdsJtVXceTflEgkphCDtaefIGSTTKMRkzVJbEIabeQTbtxXPfQPQLYykVFAxtupbcluhthplDnPIQvjjqDOHkQtXOABArBMbCMLsrdIopPuHcCrpslyhofxEqvwJojkSjATSfIFUJEGmrWYfdsmSTpyrTweXVTPJxkQesHJsbgSeSzp
cmp rax, rdx
jbe 0x1800014f7
xor eax, eax
jmp 0x1800015ca
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 0x180001592
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 0x18000152b
jmp 0x180001594
xor esi, esi
test r8, r8
je 0x1800015c5
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 0x1800015ef
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 0x1800015d5
movsxd rax, dword [0x180004440]
cmp dword [0x180020a74], 0xa
jl 0x180001612
mov ebx, dword [0x180020a78]
lea edx, [rbx - 1]
imul edx, ebx
and edx, 1
je 0x180001612
jmp 0x180001610
lea rsi, [rax + r15]
add rsi, 0x404
cmp byte [rcx], 0
lea rcx, [rcx + 1]
jne 0x18000161d
mov r13, rcx
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001629
mov r14, r13
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001637
mov qword [rbp - 0x28], r14
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001645
mov rbx, r14
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001652
mov rdi, rbx
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x18000165e
sub rsp, 0x20
mov qword [rbp - 0x10], rcx
call fcn.1800020b0
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x1800016a2
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800016a2
nop word cs:[rax + rax]
nop
jmp 0x1800016a0
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800016d2
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800016d2
nop dword [rax]
jmp 0x1800016d0
mov qword [rbp - 8], rsi
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, r13
movzx ecx, byte [rsi]
movzx eax, byte [rdx]
test cl, cl
je 0x180001708
add rsi, 1
add rdx, 1
cmp cl, al
je 0x1800016f2
cmp cl, al
je 0x180001716
add r11, 4
add r10, 2
jmp 0x1800016e9
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 [0x180020a7c], 0xa
jl 0x180001752
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001752
nop dword [rax]
jmp 0x180001750
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000177f
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x18000177f
jmp 0x18000177d
add r8, r10
mov edx, dword [r10 + rax + 0x20]
mov r9d, dword [r10 + rax + 0x24]
add rdx, r10
add r9, r10
mov eax, dword [rdx]
add rax, r10
mov rsi, r14
movzx ebx, byte [rsi]
movzx ecx, byte [rax]
test bl, bl
je 0x1800017b0
add rsi, 1
add rax, 1
cmp bl, cl
je 0x18000179a
cmp bl, cl
je 0x1800017be
add rdx, 4
add r9, 2
jmp 0x180001792
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 - 0x10]
call fcn.1800020b0
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001820
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001820
jmp 0x18000181e
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000184d
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x18000184d
jmp 0x18000184b
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 0x180001886
add rsi, 1
cmp bl, cl
je 0x180001872
cmp bl, cl
je 0x180001894
add rdx, 4
add r9, 2
jmp 0x18000186b
movzx eax, word [r9]
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 qword [rbp], rax
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x1800018e1
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800018e1
jmp 0x1800018df
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 0x180001a3a
mov edi, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea rax, [r8 + r8*4]
lea r9, [r11 + rax*8]
add r9, 0xc
lea r12, [r11 + rax*8]
add r12, 0x10
lea r10, [r11 + rax*8]
add r10, 0x14
cmp edx, 0xa
jl 0x18000193c
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
jne 0x180001a36
mov eax, dword [r12]
test rax, rax
je 0x180001992
mov edx, dword [r10]
mov ecx, dword [r9]
add rcx, qword [rbp]
lea rbx, [rdx + r15]
add rbx, 0x404
xor r14d, r14d
jmp 0x180001968
add r14, 1
cmp rax, r14
je 0x180001992
movzx edx, byte [rbx + r14]
mov byte [rcx + r14], dl
mov edi, dword [0x180020a70]
mov edx, dword [0x180020a6c]
cmp edx, 0xa
jl 0x18000195f
lea esi, [rdi - 1]
imul esi, edi
and esi, 1
je 0x18000195f
jmp 0x180001a32
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
cmp eax, 0xa
jl 0x180001a18
test ebx, ebx
je 0x180001a18
cmp edx, 0xa
jl 0x1800019c0
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
jne 0x180001a38
mov r14d, dword [r12]
test r14, r14
je 0x180001928
mov eax, dword [r10]
mov ecx, dword [r9]
add rcx, qword [rbp]
lea rbx, [rax + r15]
add rbx, 0x404
xor eax, eax
jmp 0x1800019f3
add rax, 1
cmp r14, rax
je 0x180001928
movzx edx, byte [rbx + rax]
mov byte [rcx + rax], dl
mov edi, dword [0x180020a70]
mov edx, dword [0x180020a6c]
cmp edx, 0xa
jl 0x1800019e6
lea esi, [rdi - 1]
imul esi, edi
and esi, 1
je 0x1800019e6
jmp 0x180001a34
add r8, 1
cmp eax, 0xa
jl 0x1800018ef
test ebx, ebx
je 0x1800018ef
jmp 0x1800018df
jmp 0x180001a32
jmp 0x180001a34
jmp 0x180001a36
jmp 0x180001a38
mov rdx, qword [rbp - 8]
mov rbx, qword [rdx + 0x30]
mov r11, qword [rbp]
sub r11, rbx
cmp eax, 0xa
jl 0x180001a5b
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
je 0x180001a5b
jmp 0x180001a59
mov rdx, qword [rbp - 8]
mov ebx, dword [rdx + 0xb0]
add rbx, qword [rbp]
movabs r8, 0x1fffffff8
cmp dword [rbx], 0
je 0x180001bc4
mov edi, dword [rbx + 4]
cmp rdi, 8
jb 0x180001b90
cmp eax, 0xa
jl 0x180001a9d
lea esi, [rcx - 1]
imul esi, ecx
and esi, 1
jne 0x180001bbe
add rdi, r8
shr rdi, 1
mov r9d, edi
xor r10d, r10d
cmp r10, r9
je 0x180001b90
movzx edx, word [rbx + r10*2 + 8]
mov esi, edx
shr esi, 0xc
mov edi, edx
and edi, 0xfff
cmp edx, 0xa000
jae 0x180001aee
cmp esi, 3
jne 0x180001b7c
mov edi, edi
cmp eax, 0xa
jl 0x180001b42
lea eax, [rcx - 1]
imul eax, ecx
and eax, 1
jne 0x180001b6c
jmp 0x180001b42
cmp esi, 0xa
jne 0x180001b7c
mov eax, dword [rbx]
add rdi, qword [rbp]
add qword [rax + rdi], r11
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x180001b7c
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001b7c
mov eax, dword [rbx]
add qword [rdi + rax], r11
mov eax, dword [rbx]
add qword [rdi + rax], r11
jmp 0x180001b01
add r10, 1
cmp eax, 0xa
jl 0x180001aa9
test edi, edi
je 0x180001aa9
jmp 0x180001bbe
mov eax, dword [rbx]
mov rcx, qword [rbp]
lea rax, [rcx + rax*4]
add dword [rax + rdi*4], r11d
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x180001b7c
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001b7c
mov eax, dword [rbx]
mov rcx, qword [rbp]
lea rax, [rcx + rax*4]
add dword [rax + rdi*4], r11d
jmp 0x180001b42
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
cmp eax, 0xa
jl 0x180001b2b
test edi, edi
je 0x180001b2b
jmp 0x180001bc0
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
cmp eax, 0xa
jl 0x180001ba2
test edi, edi
jne 0x180001bc2
mov edx, dword [rbx + 4]
add rbx, rdx
cmp eax, 0xa
jl 0x180001a73
test edi, edi
je 0x180001a73
jmp 0x180001a59
jmp 0x180001bbe
jmp 0x180001bc0
jmp 0x180001bc2
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001bd8
test edx, edx
je 0x180001bd8
jmp 0x180001bd6
mov rbx, qword [rbp]
lea rcx, [rbx + 2]
mov qword [rbp - 0x30], rcx
mov rcx, qword [rbp - 8]
mov ecx, dword [rcx + 0x90]
add rcx, rbx
mov qword [rbp - 0x18], rcx
mov rcx, qword [rbp - 0x18]
mov r14d, dword [rcx + 0xc]
test r14, r14
je 0x18000201b
sub rsp, 0x20
mov rcx, qword [rbp - 0x10]
call fcn.1800020b0
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001c38
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002009
add r14, qword [rbp]
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001c6b
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000200b
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 0x180001c9c
add rbx, 1
add rsi, 1
cmp al, dl
je 0x180001c86
cmp al, dl
je 0x180001caa
add rdi, 4
add rcx, 2
jmp 0x180001c7e
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 ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001dd6
test edx, edx
je 0x180001dd6
sub rsp, 0x20
mov rcx, qword [rbp - 0x10]
call fcn.1800020b0
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001d1d
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000200d
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001d4c
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x18000200f
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 0x180001d7d
add rbx, 1
add rsi, 1
cmp al, dl
je 0x180001d67
cmp al, dl
je 0x180001d8b
add rdi, 4
add rcx, 2
jmp 0x180001d5f
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 - 0x10]
call fcn.1800020b0
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001c3c
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001c3c
jmp 0x180002009
cmp eax, 0xa
jl 0x180001de3
test edx, edx
jne 0x180002019
mov rdx, qword [rbp - 0x18]
mov ebx, dword [rdx]
mov r12d, dword [rdx + 0x10]
mov rdx, qword [rbp]
add rbx, rdx
mov qword [rbp - 0x20], rbx
add r12, rdx
mov rdx, qword [rbp - 0x20]
mov rdx, qword [rdx]
test rdx, rdx
je 0x180001fe5
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx r14d, dx
cmovns r14, rax
jmp 0x180001e3e
movzx eax, word [rsi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r14
call r9
add rsp, 0x20
mov qword [r12], rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x10]
call fcn.1800020b0
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001e70
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002011
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001e9f
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002013
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 0x180001ed1
add rax, 1
add rdi, 1
cmp bl, cl
je 0x180001ebb
cmp bl, cl
je 0x180001edf
add rdx, 4
add rsi, 2
jmp 0x180001eb2
movzx eax, word [rsi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r15
mov rdx, r14
call r9
add rsp, 0x20
mov qword [r12], rax
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001fc9
test edx, edx
je 0x180001fc9
sub rsp, 0x20
mov rcx, qword [rbp - 0x10]
call fcn.1800020b0
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001f56
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002015
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001f85
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002017
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 0x180001fb7
add rax, 1
add rdi, 1
cmp bl, cl
je 0x180001fa1
cmp bl, cl
je 0x180001e1f
add rdx, 4
add rsi, 2
jmp 0x180001f98
add qword [rbp - 0x20], 8
add r12, 8
cmp eax, 0xa
jl 0x180001dfb
test edx, edx
je 0x180001dfb
jmp 0x180002019
add qword [rbp - 0x18], 0x14
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001bf5
test edx, edx
je 0x180001bf5
jmp 0x180001bd6
jmp 0x180002009
jmp 0x18000200b
jmp 0x18000200d
jmp 0x18000200f
jmp 0x180002011
jmp 0x180002013
jmp 0x180002015
jmp 0x180002017
jmp 0x180002019
cmp eax, 0xa
jl 0x180002024
test edx, edx
jne 0x180002053
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
add rax, qword [rbp]
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002097
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002097
mov rsi, qword [rbp - 8]
mov eax, dword [rsi + 0x28]
mov rdi, qword [rbp]
add rax, rdi
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [rsi + 0x28]
add rax, rdi
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002024
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002053
jmp 0x180002024
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret