Function at 0x10018610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, ecx
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x10018d4c
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x80]
mov esi, dword [eax + 0x7c]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x88]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], esi
lea ebx, [ebx]
mov esi, dword [ebp + 8]
add esi, ecx
mov ecx, 0x10
lea edi, [eax + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x20]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, ebx
not ecx
and ecx, edx
mov edi, ebx
and edi, esi
or ecx, edi
add ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
lea ecx, [ecx + edi - 0x28955b88]
rol ecx, 7
add ecx, ebx
mov edi, ecx
not edi
and edi, esi
mov esi, ebx
and esi, ecx
or edi, esi
add edi, dword [eax + 0x24]
mov esi, dword [ebp - 0x14]
lea edx, [edi + edx - 0x173848aa]
rol edx, 0xc
add edx, ecx
mov edi, edx
not edi
and edi, ebx
mov ebx, edx
and ebx, ecx
or edi, ebx
add edi, dword [eax + 0x28]
mov ebx, edx
lea edi, [edi + esi + 0x242070db]
ror edi, 0xf
add edi, edx
and ebx, edi
mov esi, edi
not esi
and esi, ecx
or esi, ebx
add esi, dword [eax + 0x2c]
mov ebx, dword [ebp - 0x1c]
lea esi, [esi + ebx - 0x3e423112]
ror esi, 0xa
add esi, edi
mov dword [ebp - 8], edi
mov ebx, esi
not ebx
and ebx, edx
and edi, esi
or ebx, edi
add ebx, dword [eax + 0x30]
lea ecx, [ebx + ecx - 0xa83f051]
rol ecx, 7
add ecx, esi
mov dword [ebp - 4], ecx
mov edi, dword [ebp - 4]
not ecx
and ecx, dword [ebp - 8]
mov ebx, esi
and ebx, dword [ebp - 4]
or ecx, ebx
add ecx, dword [eax + 0x34]
lea edx, [ecx + edx + 0x4787c62a]
rol edx, 0xc
add edx, edi
mov ecx, edx
not ecx
and ecx, esi
mov ebx, edx
and ebx, edi
or ecx, ebx
add ecx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
lea ecx, [ecx + ebx - 0x57cfb9ed]
ror ecx, 0xf
add ecx, edx
mov ebx, ecx
not ebx
and ebx, edi
mov edi, edx
and edi, ecx
or ebx, edi
add ebx, dword [eax + 0x3c]
lea esi, [ebx + esi - 0x2b96aff]
ror esi, 0xa
add esi, ecx
mov edi, esi
not edi
and edi, edx
mov ebx, ecx
and ebx, esi
or edi, ebx
add edi, dword [eax + 0x40]
mov ebx, dword [ebp - 4]
lea edi, [edi + ebx + 0x698098d8]
rol edi, 7
add edi, esi
mov dword [ebp - 0xc], esi
and esi, edi
mov ebx, edi
not ebx
and ebx, ecx
or ebx, esi
add ebx, dword [eax + 0x44]
lea edx, [ebx + edx - 0x74bb0851]
rol edx, 0xc
add edx, edi
mov esi, edx
not esi
and esi, dword [ebp - 0xc]
mov ebx, edx
and ebx, edi
or esi, ebx
add esi, dword [eax + 0x48]
mov ebx, edx
lea ecx, [esi + ecx - 0xa44f]
ror ecx, 0xf
add ecx, edx
and ebx, ecx
mov esi, ecx
not esi
and esi, edi
or esi, ebx
add esi, dword [eax + 0x4c]
mov ebx, dword [ebp - 0xc]
lea esi, [esi + ebx - 0x76a32842]
ror esi, 0xa
add esi, ecx
mov dword [ebp - 8], ecx
and ecx, esi
mov ebx, esi
not ebx
and ebx, edx
or ebx, ecx
add ebx, dword [eax + 0x50]
lea edi, [ebx + edi + 0x6b901122]
rol edi, 7
add edi, esi
mov dword [ebp - 4], edi
not edi
and edi, dword [ebp - 8]
mov ebx, esi
and ebx, dword [ebp - 4]
or edi, ebx
add edi, dword [eax + 0x54]
lea edx, [edi + edx - 0x2678e6d]
mov edi, dword [ebp - 4]
rol edx, 0xc
add edx, edi
mov ecx, edx
not ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
and ecx, esi
and ebx, edi
or ecx, ebx
add ecx, dword [eax + 0x58]
mov ebx, dword [ebp - 8]
lea ecx, [ecx + ebx - 0x5986bc72]
ror ecx, 0xf
add ecx, edx
mov ebx, ecx
not ebx
mov dword [ebp - 8], ebx
and ebx, edi
mov edi, edx
and edi, ecx
or ebx, edi
add ebx, dword [eax + 0x5c]
mov edi, dword [ebp - 0xc]
lea esi, [ebx + esi + 0x49b40821]
and edi, ecx
ror esi, 0xa
add esi, ecx
mov ebx, edx
and ebx, esi
or edi, ebx
add edi, dword [eax + 0x24]
mov ebx, dword [ebp - 4]
lea edi, [edi + ebx - 0x9e1da9e]
mov ebx, dword [ebp - 8]
and ebx, esi
rol edi, 5
add edi, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
mov ebx, ecx
and ebx, edi
mov edi, dword [ebp - 0xc]
or edi, ebx
add edi, dword [eax + 0x38]
mov ebx, esi
lea edx, [edi + edx - 0x3fbf4cc0]
mov edi, dword [ebp - 4]
not ebx
and ebx, edi
rol edx, 9
add edx, edi
mov edi, edx
and edi, esi
or ebx, edi
add ebx, dword [eax + 0x4c]
mov edi, dword [ebp - 4]
lea ecx, [ebx + ecx + 0x265e5a51]
mov ebx, edi
rol ecx, 0xe
not ebx
and ebx, edx
add ecx, edx
mov dword [ebp - 8], ecx
and ecx, edi
or ebx, ecx
add ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea esi, [ebx + esi - 0x16493856]
ror esi, 0xc
add esi, ecx
mov edi, edx
not edi
and edi, ecx
mov ebx, edx
and ebx, esi
or edi, ebx
add edi, dword [eax + 0x34]
mov ebx, dword [ebp - 4]
lea edi, [edi + ebx - 0x29d0efa3]
rol edi, 5
add edi, esi
mov dword [ebp - 4], edi
mov edi, ecx
not edi
mov ebx, ecx
and ebx, dword [ebp - 4]
and edi, esi
or edi, ebx
add edi, dword [eax + 0x48]
lea edx, [edi + edx + 0x2441453]
mov edi, dword [ebp - 4]
mov ebx, esi
not ebx
and ebx, edi
rol edx, 9
add edx, edi
mov edi, edx
and edi, esi
or ebx, edi
add ebx, dword [eax + 0x5c]
mov edi, dword [ebp - 4]
lea ecx, [ebx + ecx - 0x275e197f]
rol ecx, 0xe
add ecx, edx
not edi
and edi, edx
mov ebx, ecx
and ebx, dword [ebp - 4]
or edi, ebx
add edi, dword [eax + 0x30]
mov ebx, edx
lea esi, [edi + esi - 0x182c0438]
ror esi, 0xc
add esi, ecx
and ebx, esi
mov edi, edx
not edi
and edi, ecx
or edi, ebx
add edi, dword [eax + 0x44]
mov ebx, dword [ebp - 4]
lea edi, [edi + ebx + 0x21e1cde6]
mov dword [ebp - 0xc], esi
mov ebx, ecx
not ebx
and ebx, esi
rol edi, 5
add edi, esi
mov esi, ecx
and esi, edi
or ebx, esi
add ebx, dword [eax + 0x58]
mov esi, dword [ebp - 0xc]
lea edx, [ebx + edx - 0x3cc8f82a]
not esi
and esi, edi
rol edx, 9
add edx, edi
mov ebx, edx
and ebx, dword [ebp - 0xc]
or esi, ebx
add esi, dword [eax + 0x2c]
lea ecx, [esi + ecx - 0xb2af279]
rol ecx, 0xe
add ecx, edx
mov esi, edi
not esi
and esi, edx
mov ebx, ecx
and ebx, edi
or esi, ebx
add esi, dword [eax + 0x40]
mov ebx, dword [ebp - 0xc]
lea esi, [esi + ebx + 0x455a14ed]
ror esi, 0xc
add esi, ecx
mov ebx, edx
not ebx
and ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, edx
and ecx, esi
or ebx, ecx
add ebx, dword [eax + 0x54]
mov ecx, dword [ebp - 8]
lea edi, [ebx + edi - 0x561c16fb]
rol edi, 5
add edi, esi
mov dword [ebp - 4], edi
mov edi, ecx
not edi
and edi, esi
mov ebx, ecx
and ebx, dword [ebp - 4]
or edi, ebx
add edi, dword [eax + 0x28]
mov ebx, esi
lea edx, [edi + edx - 0x3105c08]
mov edi, dword [ebp - 4]
not ebx
and ebx, edi
rol edx, 9
add edx, edi
mov edi, edx
and edi, esi
or ebx, edi
add ebx, dword [eax + 0x3c]
mov edi, dword [ebp - 4]
lea ecx, [ebx + ecx + 0x676f02d9]
rol ecx, 0xe
add ecx, edx
not edi
and edi, edx
mov ebx, ecx
and ebx, dword [ebp - 4]
or edi, ebx
add edi, dword [eax + 0x50]
mov ebx, dword [ebp - 4]
lea esi, [edi + esi - 0x72d5b376]
ror esi, 0xc
add esi, ecx
mov edi, edx
xor edi, ecx
xor edi, esi
add edi, dword [eax + 0x34]
lea edi, [edi + ebx - 0x5c6be]
rol edi, 4
add edi, esi
mov ebx, ecx
xor ebx, esi
xor ebx, edi
add ebx, dword [eax + 0x40]
mov dword [ebp - 4], edi
lea edx, [ebx + edx - 0x788e097f]
rol edx, 0xb
add edx, edi
mov ebx, edx
xor ebx, esi
xor ebx, edi
add ebx, dword [eax + 0x4c]
mov edi, edx
lea ecx, [ebx + ecx + 0x6d9d6122]
rol ecx, 0x10
add ecx, edx
xor edi, ecx
mov ebx, edi
xor ebx, dword [ebp - 4]
add ebx, dword [eax + 0x58]
lea esi, [ebx + esi - 0x21ac7f4]
mov ebx, dword [ebp - 4]
ror esi, 9
add esi, ecx
xor edi, esi
add edi, dword [eax + 0x24]
lea edi, [edi + ebx - 0x5b4115bc]
rol edi, 4
add edi, esi
mov ebx, ecx
xor ebx, esi
xor ebx, edi
add ebx, dword [eax + 0x30]
lea ebx, [ebx + edx + 0x4bdecfa9]
rol ebx, 0xb
add ebx, edi
mov edx, ebx
xor edx, esi
xor edx, edi
add edx, dword [eax + 0x3c]
lea ecx, [edx + ecx - 0x944b4a0]
rol ecx, 0x10
add ecx, ebx
mov edx, ebx
xor edx, ecx
mov dword [ebp - 8], ecx
mov ecx, edx
xor ecx, edi
add ecx, dword [eax + 0x48]
lea ecx, [ecx + esi - 0x41404390]
mov esi, dword [ebp - 8]
ror ecx, 9
add ecx, dword [ebp - 8]
xor edx, ecx
add edx, dword [eax + 0x54]
lea edx, [edx + edi + 0x289b7ec6]
rol edx, 4
add edx, ecx
mov edi, esi
xor edi, ecx
xor edi, edx
add edi, dword [ebp - 0x10]
lea ebx, [edi + ebx - 0x155ed806]
rol ebx, 0xb
add ebx, edx
mov edi, ebx
xor edi, ecx
xor edi, edx
add edi, dword [eax + 0x2c]
lea esi, [edi + esi - 0x2b10cf7b]
rol esi, 0x10
add esi, ebx
mov edi, ebx
xor edi, esi
mov dword [ebp - 0xc], edi
xor edi, edx
add edi, dword [eax + 0x38]
mov dword [ebp - 8], esi
lea ecx, [edi + ecx + 0x4881d05]
mov edi, dword [ebp - 0xc]
ror ecx, 9
add ecx, esi
xor edi, ecx
add edi, dword [eax + 0x44]
xor esi, ecx
lea edx, [edi + edx - 0x262b2fc7]
rol edx, 4
add edx, ecx
xor esi, edx
add esi, dword [eax + 0x50]
lea esi, [esi + ebx - 0x1924661b]
mov ebx, dword [ebp - 8]
rol esi, 0xb
add esi, edx
mov edi, esi
xor edi, ecx
xor edi, edx
add edi, dword [eax + 0x5c]
lea edi, [edi + ebx + 0x1fa27cf8]
rol edi, 0x10
add edi, esi
mov ebx, esi
xor ebx, edi
xor ebx, edx
add ebx, dword [eax + 0x28]
mov dword [ebp - 8], edi
lea ecx, [ebx + ecx - 0x3b53a99b]
ror ecx, 9
add ecx, edi
mov edi, esi
not edi
or edi, ecx
xor edi, dword [ebp - 8]
add edi, dword [ebp - 0x10]
lea edx, [edi + edx - 0xbd6ddbc]
mov edi, dword [ebp - 8]
rol edx, 6
mov ebx, edi
not ebx
add edx, ecx
or ebx, edx
xor ebx, ecx
add ebx, dword [eax + 0x3c]
lea esi, [ebx + esi + 0x432aff97]
rol esi, 0xa
add esi, edx
mov ebx, ecx
not ebx
or ebx, esi
xor ebx, edx
add ebx, dword [eax + 0x58]
lea edi, [ebx + edi - 0x546bdc59]
rol edi, 0xf
add edi, esi
mov ebx, edx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [eax + 0x34]
lea ecx, [ebx + ecx - 0x36c5fc7]
ror ecx, 0xb
add ecx, edi
mov ebx, esi
not ebx
or ebx, ecx
xor ebx, edi
add ebx, dword [eax + 0x50]
lea edx, [ebx + edx + 0x655b59c3]
rol edx, 6
add edx, ecx
mov ebx, edi
not ebx
or ebx, edx
xor ebx, ecx
add ebx, dword [eax + 0x2c]
lea esi, [ebx + esi - 0x70f3336e]
rol esi, 0xa
add esi, edx
mov ebx, ecx
not ebx
or ebx, esi
xor ebx, edx
add ebx, dword [eax + 0x48]
lea edi, [ebx + edi - 0x100b83]
rol edi, 0xf
add edi, esi
mov ebx, edx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [eax + 0x24]
lea ecx, [ebx + ecx - 0x7a7ba22f]
ror ecx, 0xb
add ecx, edi
mov ebx, esi
not ebx
or ebx, ecx
xor ebx, edi
add ebx, dword [eax + 0x40]
lea edx, [ebx + edx + 0x6fa87e4f]
rol edx, 6
add edx, ecx
mov ebx, edi
not ebx
or ebx, edx
xor ebx, ecx
add ebx, dword [eax + 0x5c]
lea esi, [ebx + esi - 0x1d31920]
rol esi, 0xa
add esi, edx
mov ebx, ecx
not ebx
or ebx, esi
xor ebx, edx
add ebx, dword [eax + 0x38]
lea edi, [ebx + edi - 0x5cfebcec]
rol edi, 0xf
mov ebx, edx
not ebx
add edi, esi
or ebx, edi
xor ebx, esi
add ebx, dword [eax + 0x54]
lea ebx, [ebx + ecx + 0x4e0811a1]
ror ebx, 0xb
add ebx, edi
mov ecx, esi
not ecx
or ecx, ebx
xor ecx, edi
add ecx, dword [eax + 0x30]
lea ecx, [ecx + edx - 0x8ac817e]
rol ecx, 6
add ecx, ebx
mov edx, edi
not edx
or edx, ecx
xor edx, ebx
add edx, dword [eax + 0x4c]
lea esi, [edx + esi - 0x42c50dcb]
rol esi, 0xa
add esi, ecx
mov edx, ebx
not edx
or edx, esi
xor edx, ecx
add edx, dword [eax + 0x28]
lea edi, [edx + edi + 0x2ad7d2bb]
mov edx, dword [ebp - 0x18]
add edx, ecx
not ecx
rol edi, 0xf
add edi, esi
or ecx, edi
xor ecx, esi
add ecx, dword [eax + 0x44]
mov dword [ebp - 0x18], edx
lea ecx, [ecx + ebx - 0x14792c6f]
mov ebx, dword [ebp - 0x1c]
ror ecx, 0xb
add ecx, edi
add ebx, ecx
mov ecx, dword [ebp - 0x14]
add ecx, edi
mov dword [ebp - 0x14], ecx
mov dword [eax + 0x84], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x7c], edx
mov edx, dword [ebp - 0x20]
add edx, esi
add ecx, 0x40
mov dword [ebp - 0x1c], ebx
mov dword [eax + 0x80], ebx
mov dword [ebp - 0x20], edx
mov dword [eax + 0x88], edx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp + 0xc]
jb 0x10018650
lea esi, [eax + 0x60]
push 0
lea edx, [eax + 0x7c]
push 0x1007cf5a
mov ecx, esi
mov dword [ebp + 0xc], edx
call fcn.10007690
mov dword [ebp + 8], 0
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
shr ecx, 4
mov bl, byte [ecx + 0x1007ceb8]
sub edx, eax
cmp edx, 1
jbe 0x10018e92
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x10018e92
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x10018dc1
push eax
push edi
mov ecx, esi
call fcn.10007470
test edi, edi
je 0x10018df2
mov ecx, dword [esi + 0x10]
mov edx, 0x10
cmp dword [esi + 0x14], edx
jb 0x10018ddb
mov eax, dword [esi]
jmp 0x10018ddd
test edi, edi
jne 0x10018db0
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x10018dd4
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x10018df2
mov eax, esi
mov byte [eax], 0
jmp 0x10018df2
mov eax, esi
mov byte [eax + ecx], bl
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edx
jb 0x10018dec
mov eax, dword [esi]
jmp 0x10018dee
mov eax, esi
mov byte [eax + edi], 0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
and ecx, 0x8000000f
jns 0x10018e05
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, dword [esi + 0x10]
mov bl, byte [ecx + 0x1007ceb8]
or edx, 0xffffffff
sub edx, eax
cmp edx, 1
jbe 0x10018e92
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x10018e92
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x10018e45
push eax
push edi
mov ecx, esi
call fcn.10007470
test edi, edi
je 0x10018e76
mov ecx, dword [esi + 0x10]
mov edx, 0x10
cmp dword [esi + 0x14], edx
jb 0x10018e5f
mov eax, dword [esi]
jmp 0x10018e61
test edi, edi
jne 0x10018e34
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x10018e58
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x10018e76
mov eax, esi
mov byte [eax], 0
jmp 0x10018e76
mov eax, esi
mov byte [ecx + eax], bl
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edx
jb 0x10018e70
mov eax, dword [esi]
jmp 0x10018e72
mov eax, esi
mov byte [eax + edi], 0
mov eax, dword [ebp + 8]
inc dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, 0x10
jl 0x10018d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.string_too_long
call fcn.1006ab98
int3