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 r12, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rsi, rsp
cmp dword [0x180020a6c], 0xa
jl 0x1800010b2
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800010b2
nop dword [rax]
jmp 0x1800010b0
mov r8b, byte [section..data]
mov r15d, dword [0x180020a70]
mov r13d, dword [0x180020a6c]
lea ebx, [r15 - 1]
imul ebx, r15d
and ebx, 1
sete al
cmp r13d, 0xa
setl cl
or cl, al
mov r9b, byte [0x180004001]
mov r10b, byte [0x180004002]
mov eax, dword [0x180020a68]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a64], 0xa
mov r11b, byte [0x180004003]
setl r14b
or r14b, al
mov edx, ecx
or dl, cl
mov byte [r12], r8b
test cl, cl
jne 0x180001128
nop
test cl, cl
je 0x180001120
mov byte [r12], r8b
cmp r13d, 0xa
jl 0x180001136
test ebx, ebx
jne 0x180001360
mov byte [r12 + 1], r9b
test cl, cl
jne 0x180001149
nop
test cl, cl
je 0x180001140
mov byte [r12 + 1], r9b
cmp r13d, 0xa
jl 0x180001157
test ebx, ebx
jne 0x180001360
mov byte [r12 + 2], r10b
test cl, cl
jne 0x180001169
test cl, cl
je 0x180001160
mov byte [r12 + 2], r10b
cmp r13d, 0xa
jl 0x180001177
test ebx, ebx
jne 0x180001360
mov byte [r12 + 3], r11b
test cl, cl
jne 0x180001189
test cl, cl
je 0x180001180
mov byte [r12 + 3], r11b
cmp r13d, 0xa
jl 0x180001197
test ebx, ebx
jne 0x180001360
mov qword [rbp], rsi
mov esi, r13d
mov edi, r15d
test r14b, r14b
jne 0x180001402
cmp esi, 0xa
jl 0x1800011be
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
jne 0x180001370
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
test dl, dl
je 0x180001380
cmp esi, 0xa
jl 0x1800011e1
test eax, eax
jne 0x180001340
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
test dl, dl
je 0x180001390
cmp esi, 0xa
jl 0x180001204
test eax, eax
jne 0x180001340
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
test dl, dl
je 0x1800013a0
cmp esi, 0xa
jl 0x180001227
test eax, eax
jne 0x180001340
test cl, cl
mov edi, ebx
cmovne edi, ebx
mov esi, r13d
cmovne esi, r13d
mov eax, r15d
cmovne eax, eax
test dl, dl
je 0x1800013b0
cmp esi, 0xa
jl 0x180001250
test edi, edi
jne 0x180001340
cmp esi, 0xa
jl 0x180001264
lea esi, [rax - 1]
imul esi, eax
and esi, 1
jne 0x1800013c0
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
test dl, dl
je 0x1800013d0
cmp esi, 0xa
jl 0x180001287
test eax, eax
jne 0x180001350
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
test dl, dl
je 0x1800013e0
cmp esi, 0xa
jl 0x1800012aa
test eax, eax
jne 0x180001350
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
test dl, dl
je 0x1800013f0
cmp esi, 0xa
jl 0x1800012cd
test eax, eax
jne 0x180001350
test cl, cl
mov eax, ebx
cmovne eax, ebx
mov esi, r13d
cmovne esi, r13d
mov edi, r15d
cmovne edi, edi
test dl, dl
je 0x180001400
cmp esi, 0xa
jl 0x1800012f2
test eax, eax
jne 0x180001350
test r14b, r14b
je 0x1800011aa
mov eax, 0x10
call entry0
sub rsp, rax
mov r12, rsp
mov eax, 0x10
call entry0
sub rsp, rax
mov rax, rsp
cmp esi, 0xa
mov rsi, rax
jl 0x180001117
lea eax, [rdi - 1]
imul eax, edi
and eax, 1
je 0x180001117
jmp 0x1800010b0
jmp 0x180001340
jmp 0x180001350
jmp 0x180001360
jmp 0x180001370
jmp 0x180001380
jmp 0x180001390
jmp 0x1800013a0
jmp 0x1800013b0
jmp 0x1800013c0
jmp 0x1800013d0
jmp 0x1800013e0
jmp 0x1800013f0
jmp 0x180001400
mov r12d, dword [r12]
test r12, r12
mov rsi, qword [rbp]
je 0x180001523
xor ecx, ecx
cmp r12d, 0x10
jb 0x1800014f5
lea rax, [r12 - 1]
cmp rax, 0x400
jae 0x1800014f5
mov ecx, r12d
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 0x1800014b8
mov rsi, r8
sub rsi, rax
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 eax, edx
and eax, 0x3e0
movups xmm1, xmmword [rax + 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 eax, [rdx + 0x10]
and eax, 0x3f0
movups xmm2, xmmword [rax + rdi + 4]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [rdx + rdi + 0x414], xmm1
add rdx, 0x20
add rsi, 2
jne 0x180001467
jmp 0x1800014ba
xor edx, edx
test r8, r8
mov rsi, qword [rbp]
je 0x1800014f0
mov eax, edx
and eax, 0x3f0
lea rdi, section..data
movups xmm0, xmmword [rax + rdi + 4]
movups xmm1, xmmword [rdx + rdi + 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 + rdi + 0x404], xmm1
cmp rcx, r12
je 0x180001523
lea rax, section..data
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, r12
jb 0x1800014fc
lea r10, section..data
lea r14, [r12 + r10]
add r14, 0x404
cmp r13d, 0xa
jl 0x180001546
test ebx, ebx
je 0x180001546
nop
jmp 0x180001540
test al, al
je 0x180001540
cmp r13d, 0xa
jl 0x18000155d
lea eax, [r15 - 1]
imul eax, r15d
and eax, 1
jne 0x180001910
mov al, byte [r14]
mov byte [rsi], al
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001580
test ecx, ecx
jne 0x180001560
cmp edx, 0xa
jl 0x18000158d
test ecx, ecx
jne 0x180001910
mov al, byte [r14 + 1]
mov byte [rsi + 1], al
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x1800015db
test ecx, ecx
je 0x1800015db
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x1800015d4
mov byte [rsi + 1], al
cmp edx, 0xa
jl 0x1800015e8
test ecx, ecx
jne 0x180001910
mov al, byte [r14 + 2]
mov byte [rsi + 2], al
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001636
test ecx, ecx
je 0x180001636
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x18000162f
mov byte [rsi + 2], al
cmp edx, 0xa
jl 0x180001643
test ecx, ecx
jne 0x180001910
mov r8b, byte [r14 + 3]
mov byte [rsi + 3], r8b
mov ecx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
cmp edx, 0xa
jl 0x180001693
test ebx, ebx
je 0x180001693
mov ecx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ebx, [rcx - 1]
imul ebx, ecx
and ebx, 1
sete r9b
cmp edx, 0xa
setl al
or al, r9b
test al, al
je 0x18000168b
mov byte [rsi + 3], r8b
cmp edx, 0xa
jl 0x1800016a0
test ebx, ebx
jne 0x180001910
cmp dword [0x180020a64], 0xa
jl 0x180001922
mov eax, dword [0x180020a68]
lea ebx, [rax - 1]
imul ebx, eax
and ebx, 1
je 0x180001922
cmp edx, 0xa
jl 0x1800016d6
lea eax, [rcx - 1]
imul eax, ecx
and eax, 1
jne 0x1800018e0
mov r8d, 3
mov rdx, qword [rbp]
mov rsi, r14
mov al, byte [r14]
jmp 0x1800016f0
mov al, byte [rsi]
nop word [rax + rax]
mov byte [rdx], al
mov ebx, dword [0x180020a70]
mov edi, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edi, 0xa
jl 0x180001710
test ecx, ecx
jne 0x1800016f0
cmp edi, 0xa
jl 0x18000171d
test ecx, ecx
jne 0x180001900
add rdx, 1
add rsi, 1
sub r8, 1
jae 0x1800016e8
cmp edi, 0xa
jl 0x18000173f
lea eax, [rbx - 1]
imul eax, ebx
and eax, 1
jne 0x180001920
mov al, byte [r14]
mov rsi, qword [rbp]
mov byte [rsi], al
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x180001766
test ecx, ecx
jne 0x180001746
cmp edx, 0xa
jl 0x180001773
test ecx, ecx
jne 0x1800018f0
mov al, byte [r14 + 1]
mov byte [rsi + 1], al
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x1800017c1
test ecx, ecx
je 0x1800017c1
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x1800017ba
mov byte [rsi + 1], al
cmp edx, 0xa
jl 0x1800017ce
test ecx, ecx
jne 0x1800018f0
mov al, byte [r14 + 2]
mov byte [rsi + 2], al
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
cmp edx, 0xa
jl 0x18000181c
test ecx, ecx
je 0x18000181c
mov ebx, dword [0x180020a70]
mov edx, dword [0x180020a6c]
lea ecx, [rbx - 1]
imul ecx, ebx
and ecx, 1
sete r8b
cmp edx, 0xa
setl bl
or bl, r8b
test bl, bl
je 0x180001815
mov byte [rsi + 2], al
cmp edx, 0xa
jl 0x180001829
test ecx, ecx
jne 0x1800018f0
mov al, byte [r14 + 3]
mov byte [rsi + 3], al
mov r15d, dword [0x180020a70]
mov r13d, dword [0x180020a6c]
lea ecx, [r15 - 1]
imul ecx, r15d
and ecx, 1
cmp r13d, 0xa
jl 0x18000187f
test ecx, ecx
je 0x18000187f
mov r15d, dword [0x180020a70]
mov r13d, dword [0x180020a6c]
lea ecx, [r15 - 1]
imul ecx, r15d
and ecx, 1
sete bl
cmp r13d, 0xa
setl dl
or dl, bl
test dl, dl
je 0x180001878
mov byte [rsi + 3], al
cmp r13d, 0xa
jl 0x180001889
test ecx, ecx
jne 0x1800018f0
lea eax, [r15 - 1]
imul eax, r15d
test al, 1
sete cl
cmp r13d, 0xa
setl al
or al, cl
cmp dword [0x180020a64], 0xa
jl 0x180001542
mov ecx, dword [0x180020a68]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001542
mov r8d, 3
mov rdx, rsi
mov rsi, r14
test al, al
jne 0x1800016e8
nop word cs:[rax + rax]
nop
jmp 0x1800018e0
jmp 0x1800018f0
jmp 0x180001900
jmp 0x180001910
jmp 0x180001920
add r14, 4
mov r9d, dword [rsi]
test r9, r9
je 0x180001ad5
xor eax, eax
cmp r9d, 0x20
jb 0x180001a6c
lea rdx, [r9 - 1]
cmp rdx, 0x400
jae 0x180001a6c
lea rax, [r12 + r10]
add rax, 0x408
lea rcx, [r9 + r10]
add rcx, 4
cmp rax, rcx
jae 0x18000198d
lea rax, [r9 + r12]
lea rcx, section..data
add rax, rcx
add rax, 0x408
lea rcx, str.xyMlpBqXSpQPYIQkPPHAsmOFzSLBopZohhCtJGYeaCKwXmcHkEOGJvWOubuMRldZoQxFzemzSuDaGccwXqECGxhcMbgmwrSVYPgUzIblSwIqowQPbYBbZxeWkzhRIGTWgUoMcwSIrRLQldbopHbxjslondGDHWWrBvcYeFbKzJXcStBuXYvujRHTLTQDBOBroLauiPazQkxlHbyAzabaDOjsPFnGfWqZPKkbtOXIDCRmjXeUMthiaVrQvxcjLALLQlfaViMlxvFCeUUJTlwPikthUFJnpURwvIjHZoYbWArQDpcWukGASuKktoIFTFUQzXsszMVrOCvpXWzDfYQeZYZJqlvCYFXAQywlqwDsfPMVdPQwGKDtxjbLbIPEQzJdWJLXXbfiVZlmtGpmzgxYTdTqEVGSeJbTkeAtZUWGYVgxWCyEZWWyoWpTziMDGsCKUEZbBLgGtrkvQPBYKTvLUQkGAPSltWerzLrZTxzWEDkEKxUphhSkYcOPlegpLfhOWXHCMQDDTxofutiqeCBXtLswCrMbPUwAUqbHFOAGqPCKKHILhTpMaKZZQwoljytwUTXRUbOysYfqDiXCoTTwUfYpcmqsFVgOoFwOEgVvmpwZYbJPLSxCDqKEjDRcsUxkPhtQuroFCletZHrMFiLMMzvcZtnCOAWLtBkxYiuhJEvpOjCIshOqgBxgAcdnqdoPXuKoeXXZvrSMdDFjmGijbiTnixDkbdWlgRKdflVynumqHbfPQaWwsPyMHfgBxUbKVXwJwSTsHkSMXYlVZGaqdhloduxGRGVsHWELFVInoKwwvHxQCwsGKlQworRusFfHAtQRKnSLlVKvedwJcRQwvlfiaTUYVzuZXakqVCGiSoRrEZahrLmSUKkTPcOBthlGnbQIXHYtSqsaguKgkFVGUYunzqDznMLMhfiygMZDODutYFRZiUblQzkyRORugkoUaYLyTOcRzdXdykPxGFRjDGOEqvatFkWyksUcGUKGiSYmewolOlWlkWbApQCLXJw
cmp rax, rcx
jbe 0x18000198d
xor eax, eax
jmp 0x180001a6c
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 0x180001a2b
lea rsi, section..data
lea rdi, [r12 + rsi]
add rdi, 0x438
mov rbx, r8
sub rbx, rdx
xor ecx, ecx
mov edx, ecx
and edx, 0x3c0
movups xmm0, xmmword [rdx + rsi + 4]
movups xmm1, xmmword [rdx + rsi + 0x14]
movups xmm2, xmmword [rdi + rcx - 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rcx - 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [rdi + rcx - 0x10]
movups xmm3, xmmword [rdi + rcx]
movups xmmword [rdi + rcx - 0x30], xmm2
movups xmmword [rdi + rcx - 0x20], xmm0
lea edx, [rcx + 0x20]
and edx, 0x3e0
movups xmm0, xmmword [rdx + rsi + 4]
xorps xmm0, xmm1
movups xmm1, xmmword [rdx + rsi + 0x14]
xorps xmm1, xmm3
movups xmmword [rdi + rcx - 0x10], xmm0
movups xmmword [rdi + rcx], xmm1
add rcx, 0x40
add rbx, 2
jne 0x1800019c8
jmp 0x180001a2d
xor ecx, ecx
test r8, r8
je 0x180001a67
mov edx, ecx
and edx, 0x3e0
lea rbx, section..data
movups xmm0, xmmword [rdx + rbx + 4]
movups xmm1, xmmword [rdx + rbx + 0x14]
movups xmm2, xmmword [r14 + rcx]
xorps xmm2, xmm0
movups xmm0, xmmword [r14 + rcx + 0x10]
xorps xmm0, xmm1
movups xmmword [r14 + rcx], xmm2
movups xmmword [r14 + rcx + 0x10], xmm0
cmp rax, r9
je 0x180001ad5
mov rdx, rax
not rdx
test r9b, 1
je 0x180001a93
mov ecx, eax
and ecx, 0x3e0
lea rbx, section..data
mov cl, byte [rcx + rbx + 4]
xor byte [r14 + rax], cl
or rax, 1
add rdx, r9
lea rbx, section..data
je 0x180001ad5
lea rdx, [r12 + rbx]
add rdx, 0x409
mov ecx, eax
and ecx, 0x3ff
movzx ecx, byte [rcx + rbx + 4]
xor byte [rdx + rax - 1], cl
lea ecx, [rax + 1]
and ecx, 0x3ff
movzx ecx, byte [rcx + rbx + 4]
xor byte [rdx + rax], cl
add rax, 2
cmp r9, rax
jne 0x180001aaa
movsxd rax, dword [0x180004440]
cmp dword [0x180020a74], 0xa
jl 0x180001b02
mov ecx, dword [0x180020a78]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001b02
nop word cs:[rax + rax]
jmp 0x180001b00
cmp byte [r14], 0
lea r14, [r14 + 1]
jne 0x180001b02
lea rcx, section..data
add rax, rcx
add rax, 0x404
mov qword [rbp], rax
mov r13, r14
cmp byte [r13], 0
lea r13, [r13 + 1]
jne 0x180001b23
mov r15, r13
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001b31
mov qword [rbp - 0x28], r15
cmp byte [r15], 0
lea r15, [r15 + 1]
jne 0x180001b3f
mov rbx, r15
cmp byte [rbx], 0
lea rbx, [rbx + 1]
jne 0x180001b4c
mov rdi, rbx
cmp byte [rdi], 0
lea rdi, [rdi + 1]
jne 0x180001b58
sub rsp, 0x20
mov rcx, r14
call fcn.180002460
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001b90
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001b90
jmp 0x180001b8e
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001bbd
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001bbd
jmp 0x180001bbb
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 0x180001bef
add rsi, 1
add rdx, 1
cmp cl, al
je 0x180001bd9
cmp cl, al
je 0x180001bfd
add r11, 4
add r10, 2
jmp 0x180001bd0
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 0x180001c35
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001c35
jmp 0x180001c33
movsxd rax, dword [r10 + 0x3c]
mov eax, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001c62
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x180001c62
jmp 0x180001c60
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, r15
movzx ebx, byte [rsi]
movzx ecx, byte [rax]
test bl, bl
je 0x180001c93
add rsi, 1
add rax, 1
cmp bl, cl
je 0x180001c7d
cmp bl, cl
je 0x180001ca1
add rdx, 4
add r9, 2
jmp 0x180001c75
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, r14
call fcn.180002460
add rsp, 0x20
mov r10, rax
cmp dword [0x180020a7c], 0xa
jl 0x180001d02
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180001d02
jmp 0x180001d00
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [r10 + rax + 0x88]
mov r8d, dword [r10 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180001d2f
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001d2f
jmp 0x180001d2d
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, [r12 + rax]
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 0x180001d6f
add rsi, 1
cmp bl, cl
je 0x180001d5b
cmp bl, cl
je 0x180001d7d
add rdx, 4
add r9, 2
jmp 0x180001d54
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 r12, rax
mov eax, dword [0x180020a68]
mov edx, dword [0x180020a64]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x180001dcb
test ecx, ecx
je 0x180001dcb
jmp 0x180001dc9
cmp edx, 0xa
jl 0x180001dd6
test ecx, ecx
je 0x180001dd6
jmp 0x180001dd4
mov rcx, qword [rbp]
lea r8, [rcx + 0x108]
xor r9d, r9d
mov rcx, qword [rbp]
movzx ecx, word [rcx + 6]
cmp r9, rcx
jae 0x180001ebc
cmp dword [0x180020a6c], 0xa
jl 0x180001e13
mov eax, dword [0x180020a70]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180001eb8
lea rcx, [r9 + r9*4]
mov eax, dword [r8 + rcx*8 + 0xc]
mov edx, dword [r8 + rcx*8 + 0x10]
mov ecx, dword [r8 + rcx*8 + 0x14]
lea rbx, section..data
lea rdi, [rcx + rbx]
add rdi, 0x404
add rax, r12
sub rdx, 1
jb 0x180001e7e
movzx ecx, byte [rdi]
mov byte [rax], cl
mov esi, dword [0x180020a70]
mov ebx, dword [0x180020a6c]
lea ecx, [rsi - 1]
imul ecx, esi
and ecx, 1
cmp ebx, 0xa
jl 0x180001e6b
test ecx, ecx
je 0x180001e6b
movzx ecx, byte [rdi]
mov byte [rax], cl
jmp 0x180001e41
add rdi, 1
add rax, 1
cmp ebx, 0xa
jl 0x180001e3b
test ecx, ecx
je 0x180001e3b
jmp 0x180001eb6
mov eax, dword [0x180020a68]
mov edx, dword [0x180020a64]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
cmp edx, 0xa
jl 0x180001e9c
test ecx, ecx
jne 0x180001eba
add r9, 1
cmp edx, 0xa
jl 0x180001de4
test ecx, ecx
je 0x180001de4
jmp 0x180001dd4
jmp 0x180001eb6
jmp 0x180001eb8
jmp 0x180001eba
mov rcx, qword [rbp]
mov rbx, qword [rcx + 0x30]
mov rcx, r12
sub rcx, rbx
cmp edx, 0xa
jl 0x180001edc
lea ebx, [rax - 1]
imul ebx, eax
and ebx, 1
je 0x180001edc
jmp 0x180001eda
mov rbx, qword [rbp]
mov ebx, dword [rbx + 0xb0]
add rbx, r12
movabs r8, 0x1fffffff8
cmp dword [rbx], 0
je 0x180002082
mov edi, dword [rbx + 4]
cmp rdi, 8
jb 0x180002050
add rdi, r8
shr rdi, 1
test edi, edi
je 0x180002050
mov r9d, edi
xor r10d, r10d
cmp edx, 0xa
jge 0x180001f36
jmp 0x180001f45
add r10, 1
cmp r10, r9
je 0x180002050
cmp edx, 0xa
jl 0x180001f45
lea edi, [rax - 1]
imul edi, eax
and edi, 1
jne 0x18000207e
movzx edi, word [rbx + r10*2 + 8]
mov esi, edi
shr esi, 0xc
mov r11d, edi
and r11d, 0xfff
cmp edi, 0xa000
jae 0x180002009
cmp esi, 3
jne 0x180001f24
mov eax, dword [rbx]
lea rax, [r12 + rax*4]
add dword [rax + r11*4], ecx
mov eax, dword [0x180020a68]
mov edx, dword [0x180020a64]
cmp edx, 0xa
jl 0x180001f24
lea esi, [rax - 1]
imul esi, eax
and esi, 1
je 0x180001f24
lea rdi, [r12 + r11*4]
cmp edx, 0xa
jl 0x180001fa5
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x180001fc4
mov eax, dword [rbx]
add dword [rdi + rax*4], ecx
cmp dword [0x180020a64], 0xa
jl 0x180001fdf
mov eax, dword [0x180020a68]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001fdf
mov eax, dword [rbx]
add dword [rdi + rax*4], ecx
mov eax, dword [rbx]
add dword [rdi + rax*4], ecx
cmp dword [0x180020a64], 0xa
jl 0x180001fa5
mov eax, dword [0x180020a68]
jmp 0x180001f9a
mov eax, dword [rbx]
add dword [rdi + rax*4], ecx
mov eax, dword [0x180020a68]
mov edx, dword [0x180020a64]
cmp edx, 0xa
jl 0x180001f24
lea esi, [rax - 1]
imul esi, eax
and esi, 1
jne 0x180001f95
jmp 0x180001f24
cmp esi, 0xa
jne 0x180001f24
mov edi, r11d
add rdi, r12
mov eax, dword [rbx]
add qword [rax + rdi], rcx
mov eax, dword [0x180020a68]
mov edx, dword [0x180020a64]
cmp edx, 0xa
jl 0x180001f24
lea esi, [rax - 1]
imul esi, eax
and esi, 1
je 0x180001f24
mov eax, dword [rbx]
add qword [rdi + rax], rcx
mov eax, dword [rbx]
add qword [rdi + rax], rcx
jmp 0x18000201e
lea edi, [rax - 1]
imul edi, eax
and edi, 1
cmp edx, 0xa
jl 0x180002062
test edi, edi
jne 0x180002080
mov esi, dword [rbx + 4]
add rbx, rsi
cmp edx, 0xa
jl 0x180001ef3
test edi, edi
je 0x180001ef3
jmp 0x180001eda
jmp 0x18000207e
jmp 0x180002080
cmp edx, 0xa
jl 0x180002094
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002094
jmp 0x180002092
lea rax, [r12 + 2]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp]
mov eax, dword [rax + 0x90]
add rax, r12
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov r15d, dword [rax + 0xc]
test r15, r15
je 0x1800023d5
sub rsp, 0x20
mov rcx, r14
call fcn.180002460
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x1800020f0
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800023d1
movsxd rax, dword [r9 + 0x3c]
mov eax, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rax + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000211f
mov ecx, dword [0x180020a88]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1800023d3
add r15, r12
add r8, r9
mov edi, dword [r9 + rax + 0x20]
mov ecx, dword [r9 + rax + 0x24]
add rdi, r9
add rcx, r9
mov eax, dword [rdi]
add rax, r9
mov rsi, r13
movzx ebx, byte [rsi]
movzx edx, byte [rax]
test bl, bl
je 0x180002153
add rsi, 1
add rax, 1
cmp bl, dl
je 0x18000213d
cmp bl, dl
je 0x180002161
add rdi, 4
add rcx, 2
jmp 0x180002135
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 - 0x20], rax
mov eax, dword [0x180020a68]
mov ecx, dword [0x180020a64]
cmp ecx, 0xa
jl 0x18000219d
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800023cf
mov rdx, qword [rbp - 8]
mov ebx, dword [rdx]
mov edx, dword [rdx + 0x10]
add rdx, r12
mov qword [rbp - 0x10], rdx
add rbx, r12
mov qword [rbp - 0x18], rbx
mov rdx, qword [rbp - 0x18]
mov rdx, qword [rdx]
test rdx, rdx
je 0x1800023a5
mov rax, qword [rbp - 0x30]
add rax, rdx
test rdx, rdx
movzx r15d, dx
cmovns r15, rax
jmp 0x1800021fb
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x20]
mov rdx, r15
call r9
add rsp, 0x20
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
sub rsp, 0x20
mov rcx, r14
call fcn.180002460
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x18000222c
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800023c7
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x18000225b
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800023c9
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 - 0x28]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x18000228d
add rsi, 1
add rdi, 1
cmp al, bl
je 0x180002277
cmp al, bl
je 0x18000229b
add rdx, 4
add rcx, 2
jmp 0x18000226e
movzx eax, word [rcx]
mov eax, dword [r8 + rax*4]
add r9, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x20]
mov rdx, r15
call r9
add rsp, 0x20
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
mov eax, dword [0x180020a68]
mov ecx, dword [0x180020a64]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x180002388
test edx, edx
je 0x180002388
sub rsp, 0x20
mov rcx, r14
call fcn.180002460
add rsp, 0x20
mov r9, rax
cmp dword [0x180020a7c], 0xa
jl 0x180002315
mov eax, dword [0x180020a80]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1800023cb
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [r9 + rax + 0x88]
mov r8d, dword [r9 + rcx + 0x1c]
cmp dword [0x180020a84], 0xa
jl 0x180002344
mov eax, dword [0x180020a88]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
jne 0x1800023cd
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 - 0x28]
movzx eax, byte [rsi]
movzx ebx, byte [rdi]
test al, al
je 0x180002376
add rsi, 1
add rdi, 1
cmp al, bl
je 0x180002360
cmp al, bl
je 0x1800021d8
add rdx, 4
add rcx, 2
jmp 0x180002357
add qword [rbp - 0x18], 8
add qword [rbp - 0x10], 8
cmp ecx, 0xa
jl 0x1800021b4
test edx, edx
je 0x1800021b4
jmp 0x1800023cf
add qword [rbp - 8], 0x14
cmp ecx, 0xa
jl 0x1800020ae
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1800020ae
jmp 0x180002092
jmp 0x1800023c7
jmp 0x1800023c9
jmp 0x1800023cb
jmp 0x1800023cd
jmp 0x1800023cf
jmp 0x1800023d1
jmp 0x1800023d3
mov rax, qword [rbp]
mov eax, dword [rax + 0x28]
add rax, r12
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002441
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x180002441
mov rsi, qword [rbp]
mov eax, dword [rsi + 0x28]
add rax, r12
sub rsp, 0x20
call rax
add rsp, 0x20
mov eax, dword [rsi + 0x28]
add rax, r12
sub rsp, 0x20
call rax
add rsp, 0x20
cmp dword [0x180020a64], 0xa
jl 0x180002441
mov eax, dword [0x180020a68]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x180002407
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret