Function at 0x100045d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
cmp byte [esp + 0x54], 0
je 0x10004e51
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
mov ebp, dword [ecx + 0xc]
push esi
push edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebp
lea ecx, [ecx]
movzx esi, byte [eax + 1]
movzx ecx, byte [eax]
shl esi, 8
or ecx, esi
movzx esi, byte [eax + 2]
shl esi, 0x10
or ecx, esi
movzx esi, byte [eax + 3]
shl esi, 0x18
or ecx, esi
movzx esi, byte [eax + 4]
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
or esi, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
or esi, ecx
mov ecx, ebp
xor ecx, edi
mov dword [esp + 0x2c], esi
movzx esi, byte [eax + 9]
shl esi, 8
dec byte [esp + 0x64]
and ecx, ebx
xor ecx, ebp
add ecx, dword [esp + 0x10]
lea ecx, [ecx + edx - 0x28955b88]
movzx edx, byte [eax + 8]
or edx, esi
movzx esi, byte [eax + 0xa]
shl esi, 0x10
or edx, esi
movzx esi, byte [eax + 0xb]
shl esi, 0x18
or edx, esi
movzx esi, byte [eax + 0xc]
mov dword [esp + 0x44], edx
mov edx, edi
xor edx, ebx
rol ecx, 7
add ecx, ebx
and edx, ecx
xor edx, edi
add edx, dword [esp + 0x2c]
lea edx, [edx + ebp - 0x173848aa]
movzx ebp, byte [eax + 0xd]
shl ebp, 8
or esi, ebp
movzx ebp, byte [eax + 0xe]
shl ebp, 0x10
or esi, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
or esi, ebp
movzx ebp, byte [eax + 0x11]
mov dword [esp + 0x24], esi
rol edx, 0xc
add edx, ecx
mov esi, ebx
xor esi, ecx
and esi, edx
xor esi, ebx
add esi, dword [esp + 0x44]
shl ebp, 8
lea esi, [esi + edi + 0x242070db]
movzx edi, byte [eax + 0x10]
or edi, ebp
movzx ebp, byte [eax + 0x12]
shl ebp, 0x10
or edi, ebp
movzx ebp, byte [eax + 0x13]
ror esi, 0xf
shl ebp, 0x18
add esi, edx
or edi, ebp
mov dword [esp + 0x3c], edi
mov edi, edx
movzx ebp, byte [eax + 0x15]
shl ebp, 8
xor edi, ecx
and edi, esi
xor edi, ecx
add edi, dword [esp + 0x24]
lea edi, [edi + ebx - 0x3e423112]
movzx ebx, byte [eax + 0x14]
or ebx, ebp
movzx ebp, byte [eax + 0x16]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x17]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x1c], ebx
movzx ebp, byte [eax + 0x19]
ror edi, 0xa
add edi, esi
shl ebp, 8
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x3c]
lea ecx, [ebx + ecx - 0xa83f051]
movzx ebx, byte [eax + 0x18]
or ebx, ebp
movzx ebp, byte [eax + 0x1a]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x1b]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x34], ebx
movzx ebp, byte [eax + 0x1d]
rol ecx, 7
add ecx, edi
mov ebx, esi
xor ebx, edi
and ebx, ecx
xor ebx, esi
add ebx, dword [esp + 0x1c]
shl ebp, 8
lea edx, [ebx + edx + 0x4787c62a]
movzx ebx, byte [eax + 0x1c]
or ebx, ebp
movzx ebp, byte [eax + 0x1e]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x1f]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax + 0x21]
mov dword [esp + 0x14], ebx
rol edx, 0xc
add edx, ecx
mov ebx, edi
xor ebx, ecx
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x34]
shl ebp, 8
lea esi, [ebx + esi - 0x57cfb9ed]
movzx ebx, byte [eax + 0x20]
or ebx, ebp
movzx ebp, byte [eax + 0x22]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x23]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x30], ebx
ror esi, 0xf
mov ebx, edx
xor ebx, ecx
add esi, edx
and ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x14]
lea edi, [ebx + edi - 0x2b96aff]
movzx ebp, byte [eax + 0x25]
movzx ebx, byte [eax + 0x24]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 0x26]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x27]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x48], ebx
movzx ebp, byte [eax + 0x29]
ror edi, 0xa
add edi, esi
shl ebp, 8
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x30]
lea ecx, [ebx + ecx + 0x698098d8]
movzx ebx, byte [eax + 0x28]
or ebx, ebp
movzx ebp, byte [eax + 0x2a]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x2b]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x28], ebx
movzx ebp, byte [eax + 0x2d]
rol ecx, 7
add ecx, edi
mov ebx, esi
xor ebx, edi
and ebx, ecx
xor ebx, esi
add ebx, dword [esp + 0x48]
shl ebp, 8
lea edx, [ebx + edx - 0x74bb0851]
movzx ebx, byte [eax + 0x2c]
or ebx, ebp
movzx ebp, byte [eax + 0x2e]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x2f]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax + 0x31]
mov dword [esp + 0x40], ebx
rol edx, 0xc
add edx, ecx
mov ebx, edi
xor ebx, ecx
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x28]
shl ebp, 8
lea esi, [ebx + esi - 0xa44f]
movzx ebx, byte [eax + 0x30]
or ebx, ebp
movzx ebp, byte [eax + 0x32]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x33]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax + 0x35]
mov dword [esp + 0x20], ebx
ror esi, 0xf
add esi, edx
mov ebx, edx
xor ebx, ecx
and ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x40]
lea edi, [ebx + edi - 0x76a32842]
movzx ebx, byte [eax + 0x34]
ror edi, 0xa
add edi, esi
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 0x36]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x37]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x38], ebx
movzx ebp, byte [eax + 0x39]
shl ebp, 8
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x20]
add eax, 0x40
lea ecx, [ebx + ecx + 0x6b901122]
movzx ebx, byte [eax - 8]
or ebx, ebp
movzx ebp, byte [eax - 6]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax - 5]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax - 3]
mov dword [esp + 0x18], ebx
rol ecx, 7
add ecx, edi
shl ebp, 8
mov ebx, esi
xor ebx, edi
and ebx, ecx
xor ebx, esi
add ebx, dword [esp + 0x38]
lea edx, [ebx + edx - 0x2678e6d]
movzx ebx, byte [eax - 4]
or ebx, ebp
movzx ebp, byte [eax - 2]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax - 1]
shl ebp, 0x18
or ebx, ebp
rol edx, 0xc
add edx, ecx
mov ebp, edi
xor ebp, ecx
and ebp, edx
xor ebp, edi
add ebp, dword [esp + 0x18]
mov dword [esp + 0x4c], ebx
lea esi, [esi + ebp - 0x5986bc72]
ror esi, 0xf
add esi, edx
mov ebp, edx
xor ebp, ecx
and ebp, esi
xor ebp, ecx
add ebp, ebx
lea edi, [edi + ebp + 0x49b40821]
ror edi, 0xa
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x2c]
lea ecx, [ebx + ecx - 0x9e1da9e]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x34]
lea edx, [ebx + edx - 0x3fbf4cc0]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x40]
lea esi, [ebx + esi + 0x265e5a51]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
and ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x10]
lea edi, [ebx + edi - 0x16493856]
ror edi, 0xc
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x1c]
lea ecx, [ebx + ecx - 0x29d0efa3]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x28]
lea edx, [ebx + edx + 0x2441453]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x4c]
lea esi, [ebx + esi - 0x275e197f]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
and ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x3c]
lea edi, [ebx + edi - 0x182c0438]
ror edi, 0xc
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x48]
lea ecx, [ebx + ecx + 0x21e1cde6]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x18]
lea edx, [ebx + edx - 0x3cc8f82a]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x24]
lea esi, [ebx + esi - 0xb2af279]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
and ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x30]
lea edi, [ebx + edi + 0x455a14ed]
ror edi, 0xc
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x38]
lea ecx, [ebx + ecx - 0x561c16fb]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x44]
lea edx, [ebx + edx - 0x3105c08]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x14]
lea esi, [ebx + esi + 0x676f02d9]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
mov ebp, ebx
and ebp, ecx
xor ebp, edx
add ebp, dword [esp + 0x20]
lea edi, [edi + ebp - 0x72d5b376]
ror edi, 0xc
add edi, esi
xor ebx, edi
add ebx, dword [esp + 0x1c]
lea ecx, [ebx + ecx - 0x5c6be]
rol ecx, 4
add ecx, edi
mov ebx, esi
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x30]
lea edx, [ebx + edx - 0x788e097f]
rol edx, 0xb
add edx, ecx
mov ebx, edx
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x40]
mov ebp, edx
lea ebx, [ebx + esi + 0x6d9d6122]
rol ebx, 0x10
add ebx, edx
xor ebp, ebx
mov esi, ebp
xor esi, ecx
add esi, dword [esp + 0x18]
lea esi, [esi + edi - 0x21ac7f4]
ror esi, 9
add esi, ebx
xor ebp, esi
add ebp, dword [esp + 0x2c]
mov edi, ebx
lea ecx, [ecx + ebp - 0x5b4115bc]
xor edi, esi
rol ecx, 4
add ecx, esi
xor edi, ecx
add edi, dword [esp + 0x3c]
lea edi, [edi + edx + 0x4bdecfa9]
rol edi, 0xb
add edi, ecx
mov edx, edi
xor edx, esi
xor edx, ecx
add edx, dword [esp + 0x14]
mov ebp, edi
lea ebx, [edx + ebx - 0x944b4a0]
rol ebx, 0x10
add ebx, edi
xor ebp, ebx
mov edx, ebp
xor edx, ecx
add edx, dword [esp + 0x28]
lea edx, [edx + esi - 0x41404390]
mov esi, ebx
ror edx, 9
add edx, ebx
xor ebp, edx
add ebp, dword [esp + 0x38]
xor esi, edx
lea ecx, [ecx + ebp + 0x289b7ec6]
rol ecx, 4
add ecx, edx
xor esi, ecx
add esi, dword [esp + 0x10]
lea esi, [esi + edi - 0x155ed806]
rol esi, 0xb
add esi, ecx
mov edi, esi
xor edi, edx
xor edi, ecx
add edi, dword [esp + 0x24]
lea edi, [edi + ebx - 0x2b10cf7b]
rol edi, 0x10
add edi, esi
mov ebx, esi
xor ebx, edi
mov ebp, ebx
xor ebp, ecx
add ebp, dword [esp + 0x34]
lea edx, [edx + ebp + 0x4881d05]
mov ebp, dword [esp + 0x48]
ror edx, 9
add edx, edi
xor ebx, edx
add ebx, ebp
lea ecx, [ebx + ecx - 0x262b2fc7]
rol ecx, 4
add ecx, edx
mov ebx, edi
xor ebx, edx
xor ebx, ecx
add ebx, dword [esp + 0x20]
lea esi, [ebx + esi - 0x1924661b]
rol esi, 0xb
add esi, ecx
mov ebx, esi
xor ebx, edx
xor ebx, ecx
add ebx, dword [esp + 0x4c]
lea edi, [ebx + edi + 0x1fa27cf8]
rol edi, 0x10
add edi, esi
mov ebx, esi
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x44]
lea edx, [ebx + edx - 0x3b53a99b]
ror edx, 9
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x10]
lea ecx, [ebx + ecx - 0xbd6ddbc]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x14]
lea esi, [ebx + esi + 0x432aff97]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x18]
lea edi, [ebx + edi - 0x546bdc59]
rol edi, 0xf
add edi, esi
mov ebx, ecx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [esp + 0x1c]
lea edx, [ebx + edx - 0x36c5fc7]
ror edx, 0xb
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x20]
lea ecx, [ebx + ecx + 0x655b59c3]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x24]
lea esi, [ebx + esi - 0x70f3336e]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x28]
lea edi, [ebx + edi - 0x100b83]
rol edi, 0xf
add edi, esi
mov ebx, ecx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [esp + 0x2c]
lea edx, [ebx + edx - 0x7a7ba22f]
ror edx, 0xb
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x30]
lea ecx, [ebx + ecx + 0x6fa87e4f]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x4c]
lea esi, [ebx + esi - 0x1d31920]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x34]
lea edi, [ebx + edi - 0x5cfebcec]
rol edi, 0xf
add edi, esi
mov ebx, ecx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [esp + 0x38]
lea edx, [ebx + edx + 0x4e0811a1]
ror edx, 0xb
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x3c]
lea ecx, [ebx + ecx - 0x8ac817e]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x40]
lea esi, [ebx + esi - 0x42c50dcb]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x44]
lea edi, [ebx + edi + 0x2ad7d2bb]
mov ebx, ecx
not ebx
rol edi, 0xf
add edi, esi
or ebx, edi
xor ebx, esi
add ebx, ebp
mov ebp, dword [esp + 0x60]
add dword [ebp], ecx
mov ecx, dword [esp + 0x50]
lea ebx, [ebx + edx - 0x14792c6f]
mov edx, dword [ebp]
ror ebx, 0xb
add ebx, edi
add ecx, ebx
mov dword [ebp + 4], ecx
mov dword [esp + 0x50], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x54]
add ecx, edi
mov dword [ebp + 8], ecx
mov dword [esp + 0x54], ecx
mov edi, ecx
mov ecx, dword [esp + 0x58]
add ecx, esi
cmp byte [esp + 0x64], 0
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x58], ecx
mov ebp, ecx
jne 0x100045ff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret