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 r8, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov qword [rbp], rsp
mov edi, dword [0x180020a6c]
mov edx, dword [0x180020a70]
cmp edx, 0xa
jl 0x1800010b2
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
je 0x1800010b2
nop
jmp 0x1800010b0
mov r11b, byte [section..data]
mov esi, dword [0x180020a6c]
mov r15d, dword [0x180020a70]
lea r12d, [rsi - 1]
imul r12d, esi
and r12d, 1
sete al
cmp r15d, 0xa
setl cl
or cl, al
mov r9b, byte [0x180004001]
mov r10b, byte [0x180004002]
mov eax, dword [0x180020a68]
lea ebx, [rax - 1]
imul ebx, eax
test bl, 1
mov ebx, r11d
sete al
cmp dword [0x180020a64], 0xa
mov r11b, byte [0x180004003]
setl r14b
or r14b, al
mov r13d, ecx
or r13b, cl
cmp edx, 0xa
jl 0x180001130
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
jne 0x1800012b0
mov byte [r8], bl
test cl, cl
jne 0x180001147
nop word [rax + rax]
test cl, cl
je 0x180001140
mov byte [r8], bl
cmp r15d, 0xa
jl 0x180001156
test r12d, r12d
jne 0x1800012b0
mov byte [r8 + 1], r9b
test cl, cl
jne 0x180001168
nop
test cl, cl
je 0x180001160
mov byte [r8 + 1], r9b
cmp r15d, 0xa
jl 0x180001177
test r12d, r12d
jne 0x1800012b0
mov byte [r8 + 2], r10b
test cl, cl
jne 0x180001188
nop
test cl, cl
je 0x180001180
mov byte [r8 + 2], r10b
cmp r15d, 0xa
jl 0x180001197
test r12d, r12d
jne 0x1800012b0
mov byte [r8 + 3], r11b
test cl, cl
jne 0x1800011a8
nop
test cl, cl
je 0x1800011a0
mov byte [r8 + 3], r11b
cmp r15d, 0xa
jl 0x1800011b7
test r12d, r12d
jne 0x1800012b0
test r14b, r14b
jne 0x180001312
cmp r15d, 0xa
jl 0x1800011cf
test r12d, r12d
jne 0x1800012d0
test cl, cl
mov eax, r12d
cmovne eax, r12d
mov edx, r15d
cmovne edx, r15d
test r13b, r13b
je 0x1800012e0
cmp edx, 0xa
jl 0x1800011f5
test eax, eax
jne 0x1800012c0
test cl, cl
mov eax, r12d
cmovne eax, r12d
mov edx, r15d
cmovne edx, r15d
test r13b, r13b
je 0x1800012f0
cmp edx, 0xa
jl 0x18000121b
test eax, eax
jne 0x1800012c0
test cl, cl
mov eax, r12d
cmovne eax, r12d
mov edx, r15d
cmovne edx, r15d
test r13b, r13b
je 0x180001300
cmp edx, 0xa
jl 0x180001241
test eax, eax
jne 0x1800012c0
test cl, cl
mov eax, r12d
cmovne eax, r12d
mov edi, esi
cmovne edi, edi
mov edx, r15d
cmovne edx, r15d
test r13b, r13b
je 0x180001310
cmp edx, 0xa
jl 0x180001268
test eax, eax
jne 0x1800012c0
mov eax, 0x10
call entry0
sub rsp, rax
mov r8, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov qword [rbp], rsp
cmp edx, 0xa
jl 0x18000111c
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
je 0x18000111c
jmp 0x1800010b0
jmp 0x1800012b0
jmp 0x1800012c0
jmp 0x1800012d0
jmp 0x1800012e0
jmp 0x1800012f0
jmp 0x180001300
jmp 0x180001310
mov r14d, dword [r8]
test r14, r14
je 0x180001437
xor ecx, ecx
cmp r14d, 0x10
jb 0x180001404
lea rax, [r14 - 1]
cmp rax, 0x400
jae 0x180001404
mov rbx, rsi
mov ecx, r14d
and ecx, 0xfffffff0
lea rdx, [rcx - 0x10]
mov rax, rdx
shr rax, 4
add rax, 1
mov r8d, eax
and r8d, 1
test rdx, rdx
je 0x1800013c5
mov rdi, r8
sub rdi, rax
xor edx, edx
lea rsi, section..data
movaps xmm0, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_f]
mov eax, edx
and eax, 0x3e0
movups xmm1, xmmword [rax + rsi + 4]
movups xmm2, xmmword [rdx + rsi + 0x404]
xorps xmm2, xmm1
movups xmm1, xmmword [rdx + rsi + 0x414]
xorps xmm2, xmm0
movups xmmword [rdx + rsi + 0x404], xmm2
lea eax, [rdx + 0x10]
and eax, 0x3f0
movups xmm2, xmmword [rax + rsi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rdx + rsi + 0x414], xmm1
add rdx, 0x20
add rdi, 2
jne 0x180001374
jmp 0x1800013c7
xor edx, edx
test r8, r8
mov rsi, rbx
je 0x1800013ff
mov eax, edx
and eax, 0x3f0
mov rdi, rsi
lea rbx, section..data
movups xmm0, xmmword [rax + rbx + 4]
movups xmm1, xmmword [rdx + 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 [rdx + rbx + 0x404], xmm1
cmp rcx, r14
je 0x180001437
lea rax, section..data
nop dword [rax + rax]
mov edx, ecx
and edx, 0x3ff
movzx edx, byte [rdx + rax + 4]
xor dl, byte [rcx + rax + 0x404]
xor dl, 0xc
mov byte [rcx + rax + 0x404], dl
add rcx, 1
cmp rcx, r14
jb 0x180001410
lea r11, section..data
lea r10, [r14 + r11]
add r10, 0x404
cmp r15d, 0xa
jl 0x180001466
test r12d, r12d
je 0x180001466
nop word cs:[rax + rax]
nop
jmp 0x180001460
test al, al
je 0x180001460
cmp r15d, 0xa
mov r12, qword [rbp]
jl 0x18000147f
lea eax, [rsi - 1]
imul eax, esi
and eax, 1
jne 0x180001860
mov al, byte [r10]
mov byte [r12], al
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x1800014a4
test ecx, ecx
jne 0x180001482
cmp edx, 0xa
jl 0x1800014b1
test ecx, ecx
jne 0x180001860
mov al, byte [r10 + 1]
mov byte [r12 + 1], al
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001503
test ecx, ecx
je 0x180001503
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x1800014fa
mov byte [r12 + 1], al
cmp edx, 0xa
jl 0x180001510
test ecx, ecx
jne 0x180001860
mov al, byte [r10 + 2]
mov byte [r12 + 2], al
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001562
test ecx, ecx
je 0x180001562
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x180001559
mov byte [r12 + 2], al
cmp edx, 0xa
jl 0x18000156f
test ecx, ecx
jne 0x180001860
mov r8b, byte [r10 + 3]
mov byte [r12 + 3], r8b
mov ecx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
cmp edx, 0xa
jl 0x1800015c1
test ebx, ebx
je 0x1800015c1
mov ecx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
sete r9b
cmp edx, 0xa
setl al
or al, r9b
test al, al
je 0x1800015b8
mov byte [r12 + 3], r8b
cmp edx, 0xa
jl 0x1800015ce
test ebx, ebx
jne 0x180001860
cmp dword [0x180020a64], 0xa
jl 0x180001872
mov eax, dword [0x180020a68]
lea ebx, [rax - 1]
imul ebx, eax
and ebx, 1
je 0x180001872
cmp edx, 0xa
jl 0x180001604
lea eax, [rcx - 1]
imul eax, ecx
and eax, 1
jne 0x180001830
mov r8d, 3
mov rdx, r12
mov rsi, r10
mov al, byte [r10]
jmp 0x180001620
mov al, byte [rsi]
nop word [rax + rax]
mov byte [rdx], al
mov ebx, dword [0x180020a6c]
mov edi, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edi, 0xa
jl 0x180001640
test ecx, ecx
jne 0x180001620
cmp edi, 0xa
jl 0x18000164d
test ecx, ecx
jne 0x180001850
add rdx, 1
add rsi, 1
sub r8, 1
jae 0x180001615
cmp edi, 0xa
jl 0x18000166f
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001870
mov al, byte [r10]
nop word cs:[rax + rax]
nop dword [rax]
mov byte [r12], al
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x1800016a2
test ecx, ecx
jne 0x180001680
cmp edx, 0xa
jl 0x1800016af
test ecx, ecx
jne 0x180001840
mov al, byte [r10 + 1]
mov byte [r12 + 1], al
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001709
test ecx, ecx
je 0x180001709
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
nop dword [rax + rax]
test bl, bl
je 0x180001700
mov byte [r12 + 1], al
cmp edx, 0xa
jl 0x180001716
test ecx, ecx
jne 0x180001840
mov al, byte [r10 + 2]
mov byte [r12 + 2], al
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001769
test ecx, ecx
je 0x180001769
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
nop
test bl, bl
je 0x180001760
mov byte [r12 + 2], al
cmp edx, 0xa
jl 0x180001776
test ecx, ecx
jne 0x180001840
mov dl, byte [r10 + 3]
mov byte [r12 + 3], dl
mov esi, dword [0x180020a6c]
mov r15d, dword [0x180020a70]
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
cmp r15d, 0xa
jl 0x1800017dc
test ecx, ecx
je 0x1800017dc
mov eax, dword [0x180020a6c]
mov r15d, dword [0x180020a70]
lea ecx, [rax - 1]
mov rdi, rax
imul ecx, eax
and ecx, 1
sete bl
cmp r15d, 0xa
setl al
or al, bl
nop word cs:[rax + rax]
nop
test al, al
je 0x1800017d0
mov byte [r12 + 3], dl
mov rsi, rdi
cmp r15d, 0xa
jl 0x1800017e6
test ecx, ecx
jne 0x180001840
lea eax, [rsi - 1]
imul eax, esi
test al, 1
sete cl
cmp r15d, 0xa
setl al
or al, cl
cmp dword [0x180020a64], 0xa
jl 0x180001462
mov ecx, dword [0x180020a68]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001462
mov r8d, 3
mov rdx, r12
mov rsi, r10
test al, al
jne 0x180001615
jmp 0x180001830
jmp 0x180001840
jmp 0x180001850
jmp 0x180001860
jmp 0x180001870
add r10, 4
mov r9d, dword [r12]
test r9, r9
je 0x1800019da
xor eax, eax
cmp r9d, 0x20
jb 0x1800019b5
lea rdx, [r9 - 1]
cmp rdx, 0x400
jae 0x1800019b5
lea rcx, [r14 + r11]
add rcx, 0x408
lea rdx, [r9 + r11]
add rdx, 4
cmp rcx, rdx
jae 0x1800018d9
lea rcx, [r9 + r14]
add rcx, r11
add rcx, 0x408
lea rdx, str.UwOJfddxaZLYaBDPhsWeeESmIiOZfZnuRmFYRAdJAMtFPLmCUXqfJlSXLTppSqGQOOlLiEplcYPHmkTWyokrYWbKQGDiJgGUKDCAdCKWAYbBnRzAqHsISriUWQhCsWVWakGaetUEHgFpSlSnLUXGZSJkDOyCFZPBTltdqSIVCScfDPtZPphtYgQnxWDxqrRPQkhHyacxgaOOfKIwvLcJEetgGjrGwnkDjMpUShOjgAgPHUfLtaLAGtwiBvFFyrumfxGbmqmxeqZMcBIuoBLvyZpJtfmdBuBxhzTyHTEaWSHuiFHRZkygggXtMjYSQAWteYKMBviZtCrgZSyQPTWaFnBSyGAtADIXecQDZpYUXXoYblOBKZvcCHYcqvePbJZdHunlJinHBZEDXAvekZqtIpqqQcoOlmqzdmGIUuYfsIvMVLxvXPUqLytWRbklfvqvZLVbthLuXCPxKihuzUsMfMjbCuTjnetsUgEAdSVGhHmPksWnOmVMLvTgakppQaBPdIcCYKdQIbJYRIZHxTkBgdsjCzUsZddAFejgDIVOAMFteHIgeMRVSZoYuTDQeBVOaHOvExwPCTsAeJCcBWRVhrulAVImzTMjbjhLjdOAWCmAZSwOzwkFJzObOkAtiQYlovyZGmQZIsdkBDmzzSuQUcdtpVQdGvhrkLZqradhFXbzdYIoUlSVewLghhqQAWBodWpvmiTPuxqyxYggRitXoQSDDCIPAVHLwrYHsLHiAcErlmHvrmQfcGpSPrzMujhnOSdcPCeroVwYUmDVoFWmAedAMHRFzqXrPReLlKDqSltrgjTMnVWoXFtaMmlZnhEPEjxAVAIZIJWEGAJZqmzseZJhwOGBIpXuDpEpkHjhdDAakcacmqmkqHFjpaZgrhxmYfRizWDViDeZkkTOKROmGwzJEjIOvQrTrczroBCtuYXgFqETjWEycQtJwdabgLaIdeqiHsAyebvevvjxwsjfGEzDQxomocczUjAfMDbdpBPlOpSaHraVGSRGxgnOQLo
cmp rcx, rdx
jbe 0x1800018d9
xor eax, eax
jmp 0x1800019b5
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 0x180001973
mov rcx, r11
lea rdi, [r14 + r11]
add rdi, 0x438
mov rbx, r8
sub rbx, rdx
xor esi, esi
mov edx, esi
and edx, 0x3c0
movups xmm0, xmmword [rdx + rcx + 4]
movups xmm1, xmmword [rdx + rcx + 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 + rcx + 4]
xorps xmm0, xmm1
movups xmm1, xmmword [rdx + rcx + 0x14]
xorps xmm1, xmm3
movups xmmword [rdi + rsi - 0x10], xmm0
movups xmmword [rdi + rsi], xmm1
add rsi, 0x40
add rbx, 2
jne 0x180001910
jmp 0x180001975
xor esi, esi
test r8, r8
je 0x1800019b0
mov edx, esi
and edx, 0x3e0
mov rcx, r11
movups xmm0, xmmword [rdx + r11 + 4]
movups xmm1, xmmword [rdx + r11 + 0x14]
mov rcx, r10
movups xmm2, xmmword [r10 + rsi]
xorps xmm2, xmm0
movups xmm0, xmmword [r10 + rsi + 0x10]
xorps xmm0, xmm1
movups xmmword [r10 + rsi], xmm2
movups xmmword [r10 + rsi + 0x10], xmm0
cmp rax, r9
je 0x1800019da
lea rdx, [r14 + r11]
add rdx, 0x408
mov ecx, eax
and ecx, 0x3ff
movzx ecx, byte [rcx + r11 + 4]
xor byte [rdx + rax], cl
add rax, 1
cmp rax, r9
jb 0x1800019c0
cmp dword [0x180020a74], 0xa
jl 0x180001a02
mov eax, dword [0x180020a78]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001a02
nop word cs:[rax + rax]
nop
jmp 0x180001a00
movsxd rsi, dword [0x180004440]
cmp byte [r10], 0
lea r10, [r10 + 1]
jne 0x180001a09
mov qword [rbp], r10
mov r12, r10
cmp byte [r12], 0
lea r12, [r12 + 1]
jne 0x180001a1a
mov r15, r12
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001a29
mov qword [rbp - 0x20], r15
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001a37
mov r13, r15
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001a44
mov rdi, r13
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x180001a52
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002590
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001a92
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001a92
nop dword [rax]
jmp 0x180001a90
movsxd rax, dword [r9 + 0x3c]
mov eax, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001abf
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001abf
jmp 0x180001abd
lea rcx, section..data
add rcx, rsi
add rcx, 0x404
mov qword [rbp - 8], rcx
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 rdx, r12
movzx ecx, byte [rdx]
movzx ebx, byte [rax]
test cl, cl
je 0x180001b05
add rdx, 1
add rax, 1
cmp cl, bl
je 0x180001aef
cmp cl, bl
je 0x180001b13
add rsi, 4
add r10, 2
jmp 0x180001ae7
movzx eax, word [r10]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r13
call r9
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001b4b
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001b4b
jmp 0x180001b49
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001b78
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001b78
jmp 0x180001b76
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add rdx, r10
add r9, r10
mov esi, dword [rdx]
add rsi, r10
mov rax, r15
movzx ebx, byte [rax]
movzx ecx, byte [rsi]
test bl, bl
je 0x180001ba9
add rax, 1
add rsi, 1
cmp bl, cl
je 0x180001b93
cmp bl, cl
je 0x180001bb7
add rdx, 4
add r9, 2
jmp 0x180001b8b
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]
call fcn.180002590
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001c19
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001c19
jmp 0x180001c17
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001c46
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001c46
jmp 0x180001c44
add r8, r10
mov edx, dword [r10 + rcx + 0x20]
mov r9d, dword [r10 + rcx + 0x24]
add rdx, r10
add r9, r10
lea rax, section..data
lea rdi, [r14 + rax]
add rdi, 0x408
mov esi, dword [rdx]
add rsi, r10
xor eax, eax
movzx ebx, byte [rdi + rax]
movzx ecx, byte [rsi + rax]
test bl, bl
je 0x180001c86
add rax, 1
cmp bl, cl
je 0x180001c72
cmp bl, cl
je 0x180001c94
add rdx, 4
add r9, 2
jmp 0x180001c6b
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 r14, rax
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001ce2
test edx, edx
je 0x180001ce2
jmp 0x180001ce0
cmp eax, 0xa
jl 0x180001ced
test edx, edx
je 0x180001ced
jmp 0x180001ceb
mov rdx, qword [rbp - 8]
lea r11, [rdx + 0x108]
xor r10d, r10d
mov rdx, qword [rbp - 8]
movzx edx, word [rdx + 6]
cmp r10, rdx
jae 0x180001e85
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea rax, [r10 + r10*4]
lea r8, [r11 + rax*8]
add r8, 0xc
lea r13, [r11 + rax*8]
add r13, 0x10
lea r9, [r11 + rax*8]
add r9, 0x14
cmp edx, 0xa
jl 0x180001d48
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001e81
mov eax, dword [r13]
test rax, rax
je 0x180001db6
mov ecx, dword [r9]
lea rdx, section..data
add rcx, rdx
add rcx, 0x404
mov edi, dword [r8]
add rdi, r14
jmp 0x180001d7e
add rax, 0xffffffffffffffff
add rdi, 1
add rcx, 1
test rax, rax
je 0x180001db6
movzx edx, byte [rcx]
mov byte [rdi], dl
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea esi, [rbx - 1]
imul esi, ebx
and esi, 1
cmp edx, 0xa
jl 0x180001da8
test esi, esi
je 0x180001da8
movzx edx, byte [rcx]
mov byte [rdi], dl
jmp 0x180001d7e
cmp edx, 0xa
jl 0x180001d6d
test esi, esi
je 0x180001d6d
jmp 0x180001e7d
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
lea esi, [rcx - 1]
imul esi, ecx
and esi, 1
cmp eax, 0xa
jl 0x180001e63
test esi, esi
je 0x180001e63
cmp edx, 0xa
jl 0x180001df0
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001e83
mov eax, dword [r13]
test rax, rax
je 0x180001d34
mov ecx, dword [r9]
lea rdx, section..data
add rcx, rdx
add rcx, 0x404
mov edi, dword [r8]
add rdi, r14
jmp 0x180001e2e
add rax, 0xffffffffffffffff
add rdi, 1
add rcx, 1
test rax, rax
je 0x180001d34
movzx edx, byte [rcx]
mov byte [rdi], dl
mov ebx, dword [0x180020a6c]
mov edx, dword [0x180020a70]
lea esi, [rbx - 1]
imul esi, ebx
and esi, 1
cmp edx, 0xa
jl 0x180001e58
test esi, esi
je 0x180001e58
movzx edx, byte [rcx]
mov byte [rdi], dl
jmp 0x180001e2e
cmp edx, 0xa
jl 0x180001e19
test esi, esi
je 0x180001e19
jmp 0x180001e7f
add r10, 1
cmp eax, 0xa
jl 0x180001cfb
test esi, esi
je 0x180001cfb
jmp 0x180001ceb
jmp 0x180001e7d
jmp 0x180001e7f
jmp 0x180001e81
jmp 0x180001e83
mov rdx, qword [rbp - 8]
mov rdx, qword [rdx + 0x30]
mov r10, r14
sub r10, rdx
cmp eax, 0xa
jl 0x180001ea5
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001ea5
jmp 0x180001ea3
mov rdx, qword [rbp - 8]
mov r11d, dword [rdx + 0xb0]
add r11, r14
movabs r8, 0x1fffffff8
cmp dword [r11], 0
je 0x180002022
mov edx, dword [r11 + 4]
cmp rdx, 8
jb 0x180001feb
cmp eax, 0xa
jl 0x180001ee9
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
jne 0x18000201a
add rdx, r8
shr rdx, 1
mov r9d, edx
xor edi, edi
cmp r9, rdi
je 0x180001feb
movzx esi, word [r11 + rdi*2 + 8]
mov edx, esi
shr edx, 0xc
mov ebx, esi
and ebx, 0xfff
cmp esi, 0xa000
jae 0x180001f46
cmp edx, 3
jne 0x180001fa3
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001f37
test edx, edx
jne 0x18000201e
cmp eax, 0xa
jl 0x180001fb7
test edx, edx
jne 0x180001fde
jmp 0x180001fb7
cmp edx, 0xa
jne 0x180001fa3
mov esi, ebx
cmp eax, 0xa
jl 0x180001f7c
lea eax, [rcx - 1]
imul eax, ecx
and eax, 1
je 0x180001f7c
lea rdx, [rsi + r14]
jmp 0x180001f75
add rdi, 1
cmp eax, 0xa
jl 0x180001ef4
test edx, edx
je 0x180001ef4
jmp 0x18000201a
mov eax, dword [r11]
add qword [rdx + rax], r10
mov eax, dword [r11]
lea rdx, [rsi + r14]
add qword [rax + rdx], r10
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x180001fa3
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
jne 0x180001f75
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
cmp eax, 0xa
jl 0x180001f63
test edx, edx
je 0x180001f63
jmp 0x18000201c
mov eax, dword [r11]
lea rax, [r14 + rax*4]
add dword [rax + rbx*4], r10d
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x180001fa3
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001fa3
mov eax, dword [r11]
lea rax, [r14 + rax*4]
add dword [rax + rbx*4], r10d
jmp 0x180001fb7
lea edi, [rcx - 1]
imul edi, ecx
and edi, 1
cmp eax, 0xa
jl 0x180001ffd
test edi, edi
jne 0x180002020
mov edx, dword [r11 + 4]
add r11, rdx
cmp eax, 0xa
jl 0x180001ebd
test edi, edi
je 0x180001ebd
jmp 0x180001ea3
jmp 0x18000201a
jmp 0x18000201c
jmp 0x18000201e
jmp 0x180002020
mov rdx, qword [rbp - 8]
mov edx, dword [rdx + 0x90]
add rdx, r14
mov qword [rbp - 0x10], rdx
lea rdx, [r14 + 2]
mov qword [rbp - 0x30], rdx
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete cl
cmp eax, 0xa
setl al
or al, cl
test al, al
je 0x18000204f
mov rax, qword [rbp - 0x10]
mov r13d, dword [rax + 0xc]
test r13, r13
je 0x180002509
add r13, r14
sub rsp, 0x20
jmp 0x180002081
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r13
call r9
mov rcx, qword [rbp]
call fcn.180002590
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x1800020af
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800024f5
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800020de
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800024f7
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, r12
movzx eax, byte [rbx]
movzx edx, byte [rsi]
test al, al
je 0x18000210f
add rbx, 1
add rsi, 1
cmp al, dl
je 0x1800020f9
cmp al, dl
je 0x18000211d
add rdi, 4
add rcx, 2
jmp 0x1800020f1
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, r13
call r9
add rsp, 0x20
mov qword [rbp - 0x18], rax
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x180002201
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180002201
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002590
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x18000218f
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800024f9
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800021be
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800024fb
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, r12
movzx eax, byte [rbx]
movzx edx, byte [rsi]
test al, al
je 0x1800021ef
add rbx, 1
add rsi, 1
cmp al, dl
je 0x1800021d9
cmp al, dl
je 0x18000206d
add rdi, 4
add rcx, 2
jmp 0x1800021d1
mov rbx, qword [rbp - 0x10]
mov edx, dword [rbx]
mov r13d, dword [rbx + 0x10]
add r13, r14
add rdx, r14
mov qword [rbp - 0x28], rdx
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete bl
cmp eax, 0xa
setl dl
or dl, bl
test dl, dl
je 0x180002229
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdx]
test rdx, rdx
je 0x1800024eb
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx r15d, dx
cmovns r15, rax
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002590
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180002281
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002507
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x1800022b0
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002505
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 rax, qword [rbp - 0x20]
movzx ebx, byte [rax]
movzx ecx, byte [rsi]
test bl, bl
je 0x1800022e2
add rax, 1
add rsi, 1
cmp bl, cl
je 0x1800022cc
cmp bl, cl
je 0x1800022f0
add rdx, 4
add rdi, 2
jmp 0x1800022c3
movzx eax, word [rdi]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
mov rdx, r15
call r9
add rsp, 0x20
mov qword [r13], rax
mov ecx, dword [0x180020a68]
mov eax, dword [0x180020a64]
cmp eax, 0xa
jl 0x1800024dd
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1800024dd
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002590
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180002366
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800024fd
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180002395
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800024ff
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdx, r9
add rcx, r9
mov esi, dword [rdx]
add rsi, r9
mov rdi, qword [rbp - 0x20]
movzx eax, byte [rdi]
movzx ebx, byte [rsi]
test al, al
je 0x1800023c7
add rdi, 1
add rsi, 1
cmp al, bl
je 0x1800023b1
cmp al, bl
je 0x1800023d5
add rdx, 4
add rcx, 2
jmp 0x1800023a8
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
mov rdx, r15
call r9
add rsp, 0x20
mov qword [r13], rax
sub rsp, 0x20
mov rcx, qword [rbp]
call fcn.180002590
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180002427
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002501
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180002456
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180002503
add r8, r9
mov edx, dword [r9 + rcx + 0x20]
mov ecx, dword [r9 + rcx + 0x24]
add rdx, r9
add rcx, r9
mov esi, dword [rdx]
add rsi, r9
mov rdi, qword [rbp - 0x20]
movzx eax, byte [rdi]
movzx ebx, byte [rsi]
test al, al
je 0x180002488
add rdi, 1
add rsi, 1
cmp al, bl
je 0x180002472
cmp al, bl
je 0x180002496
add rdx, 4
add rcx, 2
jmp 0x180002469
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
mov rdx, r15
call r9
add rsp, 0x20
mov qword [r13], rax
cmp dword [0x180020a64], 0xa
jl 0x18000224f
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002334
jmp 0x18000224f
add qword [rbp - 0x28], 8
add r13, 8
jmp 0x180002215
add qword [rbp - 0x10], 0x14
jmp 0x18000203b
jmp 0x1800024f5
jmp 0x1800024f7
jmp 0x1800024f9
jmp 0x1800024fb
jmp 0x1800024fd
jmp 0x1800024ff
jmp 0x180002501
jmp 0x180002503
jmp 0x180002505
jmp 0x180002507
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x28]
add rax, r14
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002575
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002575
mov rsi, qword [rbp - 8]
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 [0x180020a64], 0xa
jl 0x180002575
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x18000253b
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret