Function at 0x475f98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], edx
mov esi, 0x47d090
mov edi, 0x47d070
mov ebp, esp
mov dl, byte [ebp + 7]
test dl, 0x40
seta al
mov byte [edi], al
test dl, 0x80
seta al
mov byte [esi], al
mov cl, byte [ebp + 6]
test cl, 0x40
seta al
mov byte [edi + 1], al
test cl, 0x80
seta al
mov byte [esi + 1], al
mov al, byte [ebp + 5]
test al, 0x40
seta bl
mov byte [edi + 2], bl
test al, 0x80
seta bl
mov byte [esi + 2], bl
test byte [ebp + 4], 0x40
seta bl
mov byte [edi + 3], bl
test byte [ebp + 4], 0x80
seta bl
mov byte [esi + 3], bl
test byte [ebp + 3], 0x40
seta bl
mov byte [edi + 4], bl
test byte [ebp + 3], 0x80
seta bl
mov byte [esi + 4], bl
test byte [ebp + 2], 0x40
seta bl
mov byte [edi + 5], bl
test byte [ebp + 2], 0x80
seta bl
mov byte [esi + 5], bl
test byte [ebp + 1], 0x40
seta bl
mov byte [edi + 6], bl
test byte [ebp + 1], 0x80
seta bl
mov byte [esi + 6], bl
test byte [ebp], 0x40
seta bl
mov byte [edi + 7], bl
test byte [ebp], 0x80
seta bl
mov byte [esi + 7], bl
test dl, 0x10
seta bl
mov byte [edi + 8], bl
test dl, 0x20
seta dl
mov byte [esi + 8], dl
test cl, 0x10
seta dl
mov byte [edi + 9], dl
test cl, 0x20
seta dl
mov byte [esi + 9], dl
test al, 0x10
seta dl
mov byte [edi + 0xa], dl
test al, 0x20
seta al
mov byte [esi + 0xa], al
test byte [ebp + 4], 0x10
seta al
mov byte [edi + 0xb], al
test byte [ebp + 4], 0x20
seta al
mov byte [esi + 0xb], al
test byte [ebp + 3], 0x10
seta al
mov byte [edi + 0xc], al
test byte [ebp + 3], 0x20
seta al
mov byte [esi + 0xc], al
test byte [ebp + 2], 0x10
seta al
mov byte [edi + 0xd], al
test byte [ebp + 2], 0x20
seta al
mov byte [esi + 0xd], al
test byte [ebp + 1], 0x10
seta al
mov byte [edi + 0xe], al
test byte [ebp + 1], 0x20
seta al
mov byte [esi + 0xe], al
test byte [ebp], 0x10
seta al
mov byte [edi + 0xf], al
test byte [ebp], 0x20
seta al
mov byte [esi + 0xf], al
test byte [ebp + 7], 4
seta al
mov byte [edi + 0x10], al
test byte [ebp + 7], 8
seta al
mov byte [esi + 0x10], al
test byte [ebp + 6], 4
seta al
mov byte [edi + 0x11], al
test byte [ebp + 6], 8
seta al
mov byte [esi + 0x11], al
test byte [ebp + 5], 4
seta al
mov byte [edi + 0x12], al
test byte [ebp + 5], 8
seta al
mov byte [esi + 0x12], al
test byte [ebp + 4], 4
seta al
mov byte [edi + 0x13], al
test byte [ebp + 4], 8
seta al
mov byte [esi + 0x13], al
test byte [ebp + 3], 4
seta al
mov byte [edi + 0x14], al
test byte [ebp + 3], 8
seta al
mov byte [esi + 0x14], al
test byte [ebp + 2], 4
seta al
mov byte [edi + 0x15], al
test byte [ebp + 2], 8
seta al
mov byte [esi + 0x15], al
test byte [ebp + 1], 4
seta al
mov byte [edi + 0x16], al
test byte [ebp + 1], 8
seta al
mov byte [esi + 0x16], al
test byte [ebp], 4
seta al
mov byte [edi + 0x17], al
test byte [ebp], 8
seta al
mov byte [esi + 0x17], al
mov al, byte [ebp + 7]
and al, 1
mov byte [edi + 0x18], al
test byte [ebp + 7], 2
seta al
mov byte [esi + 0x18], al
mov al, byte [ebp + 6]
and al, 1
mov byte [edi + 0x19], al
test byte [ebp + 6], 2
seta al
mov byte [esi + 0x19], al
mov al, byte [ebp + 5]
and al, 1
mov byte [edi + 0x1a], al
test byte [ebp + 5], 2
seta al
mov byte [esi + 0x1a], al
mov al, byte [ebp + 4]
and al, 1
mov byte [edi + 0x1b], al
test byte [ebp + 4], 2
seta al
mov byte [esi + 0x1b], al
mov al, byte [ebp + 3]
and al, 1
mov byte [edi + 0x1c], al
test byte [ebp + 3], 2
seta al
mov byte [esi + 0x1c], al
mov al, byte [ebp + 2]
and al, 1
mov byte [edi + 0x1d], al
test byte [ebp + 2], 2
seta al
mov byte [esi + 0x1d], al
mov al, byte [ebp + 1]
and al, 1
mov byte [edi + 0x1e], al
test byte [ebp + 1], 2
seta al
mov byte [esi + 0x1e], al
mov al, byte [ebp]
and al, 1
mov byte [edi + 0x1f], al
test byte [ebp], 2
seta al
mov byte [esi + 0x1f], al
mov dl, 0x10
mov eax, 0x47cd70
mov cl, byte [esi + 0x1f]
xor cl, byte [eax]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 4]
xor bl, byte [eax + 5]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi]
xor bl, byte [eax + 1]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 1]
xor bl, byte [eax + 2]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 2]
xor bl, byte [eax + 3]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 3]
xor bl, byte [eax + 4]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479cbc]
xor bl, byte [edi + 8]
mov byte [0x47d0b8], bl
movzx ebx, cx
mov bl, byte [ebx + 0x479ebc]
xor bl, byte [edi + 0x10]
mov byte [0x47d0c0], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a0bc]
xor bl, byte [edi + 0x16]
mov byte [0x47d0c6], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a2bc]
xor cl, byte [edi + 0x1e]
mov byte [0x47d0ce], cl
mov cl, byte [esi + 3]
xor cl, byte [eax + 6]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 8]
xor bl, byte [eax + 0xb]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 4]
xor bl, byte [eax + 7]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 5]
xor bl, byte [eax + 8]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 6]
xor bl, byte [eax + 9]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 7]
xor bl, byte [eax + 0xa]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479cfc]
xor bl, byte [edi + 0xc]
mov byte [0x47d0bc], bl
movzx ebx, cx
mov bl, byte [ebx + 0x479efc]
xor bl, byte [edi + 0x1b]
mov byte [0x47d0cb], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a0fc]
xor bl, byte [edi + 1]
mov byte [0x47d0b1], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a2fc]
xor cl, byte [edi + 0x11]
mov byte [0x47d0c1], cl
mov cl, byte [esi + 7]
xor cl, byte [eax + 0xc]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0xc]
xor bl, byte [eax + 0x11]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 8]
xor bl, byte [eax + 0xd]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 9]
xor bl, byte [eax + 0xe]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0xa]
xor bl, byte [eax + 0xf]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0xb]
xor bl, byte [eax + 0x10]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479d3c]
xor bl, byte [edi + 0x17]
mov byte [0x47d0c7], bl
movzx ebx, cx
mov bl, byte [ebx + 0x479f3c]
xor bl, byte [edi + 0xf]
mov byte [0x47d0bf], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a13c]
xor bl, byte [edi + 0x1d]
mov byte [0x47d0cd], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a33c]
xor cl, byte [edi + 5]
mov byte [0x47d0b5], cl
mov cl, byte [esi + 0xb]
xor cl, byte [eax + 0x12]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x10]
xor bl, byte [eax + 0x17]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0xc]
xor bl, byte [eax + 0x13]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0xd]
xor bl, byte [eax + 0x14]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0xe]
xor bl, byte [eax + 0x15]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0xf]
xor bl, byte [eax + 0x16]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479d7c]
xor bl, byte [edi + 0x19]
mov byte [0x47d0c9], bl
movzx ebx, cx
mov bl, byte [ebx + 0x479f7c]
xor bl, byte [edi + 0x13]
mov byte [0x47d0c3], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a17c]
xor bl, byte [edi + 9]
mov byte [0x47d0b9], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a37c]
xor cl, byte [edi]
mov byte [0x47d0b0], cl
mov cl, byte [esi + 0xf]
xor cl, byte [eax + 0x18]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x14]
xor bl, byte [eax + 0x1d]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x10]
xor bl, byte [eax + 0x19]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x11]
xor bl, byte [eax + 0x1a]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x12]
xor bl, byte [eax + 0x1b]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x13]
xor bl, byte [eax + 0x1c]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479dbc]
xor bl, byte [edi + 7]
mov byte [0x47d0b7], bl
movzx ebx, cx
mov bl, byte [ebx + 0x479fbc]
xor bl, byte [edi + 0xd]
mov byte [0x47d0bd], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a1bc]
xor bl, byte [edi + 0x18]
mov byte [0x47d0c8], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a3bc]
xor cl, byte [edi + 2]
mov byte [0x47d0b2], cl
mov cl, byte [esi + 0x13]
xor cl, byte [eax + 0x1e]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x18]
xor bl, byte [eax + 0x23]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x14]
xor bl, byte [eax + 0x1f]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x15]
xor bl, byte [eax + 0x20]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x16]
xor bl, byte [eax + 0x21]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x17]
xor bl, byte [eax + 0x22]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479dfc]
xor bl, byte [edi + 3]
mov byte [0x47d0b3], bl
movzx ebx, cx
mov bl, byte [ebx + 0x479ffc]
xor bl, byte [edi + 0x1c]
mov byte [0x47d0cc], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a1fc]
xor bl, byte [edi + 0xa]
mov byte [0x47d0ba], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a3fc]
xor cl, byte [edi + 0x12]
mov byte [0x47d0c2], cl
mov cl, byte [esi + 0x17]
xor cl, byte [eax + 0x24]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x1c]
xor bl, byte [eax + 0x29]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x18]
xor bl, byte [eax + 0x25]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x19]
xor bl, byte [eax + 0x26]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x1a]
xor bl, byte [eax + 0x27]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x1b]
xor bl, byte [eax + 0x28]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479e3c]
xor bl, byte [edi + 0x1f]
mov byte [0x47d0cf], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a03c]
xor bl, byte [edi + 0xb]
mov byte [0x47d0bb], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a23c]
xor bl, byte [edi + 0x15]
mov byte [0x47d0c5], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a43c]
xor cl, byte [edi + 6]
mov byte [0x47d0b6], cl
mov cl, byte [esi + 0x1b]
xor cl, byte [eax + 0x2a]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi]
xor bl, byte [eax + 0x2f]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x1c]
xor bl, byte [eax + 0x2b]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x1d]
xor bl, byte [eax + 0x2c]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x1e]
xor bl, byte [eax + 0x2d]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x1f]
xor bl, byte [eax + 0x2e]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x479e7c]
xor bl, byte [edi + 4]
mov byte [0x47d0b4], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a07c]
xor bl, byte [edi + 0x1a]
mov byte [0x47d0ca], bl
movzx ebx, cx
mov bl, byte [ebx + 0x47a27c]
xor bl, byte [edi + 0xe]
mov byte [0x47d0be], bl
movzx ecx, cx
mov cl, byte [ecx + 0x47a47c]
xor cl, byte [edi + 0x14]
mov byte [0x47d0c4], cl
push esi
push edi
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov edi, esi
mov esi, 0x47d0b0
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add eax, 0x30
dec dl
jne 0x476228
mov al, byte [edi + 7]
shl eax, 7
mov dl, byte [esi + 7]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xf]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xf]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x17]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x17]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1f]
add edx, edx
or al, dl
or al, byte [esi + 0x1f]
mov edx, dword [esp + 8]
mov byte [edx], al
mov al, byte [edi + 6]
shl eax, 7
mov dl, byte [esi + 6]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xe]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xe]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x16]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x16]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1e]
add edx, edx
or al, dl
or al, byte [esi + 0x1e]
mov edx, dword [esp + 8]
mov byte [edx + 1], al
mov al, byte [edi + 5]
shl eax, 7
mov dl, byte [esi + 5]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xd]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xd]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x15]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x15]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1d]
add edx, edx
or al, dl
or al, byte [esi + 0x1d]
mov edx, dword [esp + 8]
mov byte [edx + 2], al
mov al, byte [edi + 4]
shl eax, 7
mov dl, byte [esi + 4]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xc]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xc]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x14]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x14]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1c]
add edx, edx
or al, dl
or al, byte [esi + 0x1c]
mov edx, dword [esp + 8]
mov byte [edx + 3], al
mov al, byte [edi + 3]
shl eax, 7
mov dl, byte [esi + 3]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xb]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xb]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x13]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x13]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1b]
add edx, edx
or al, dl
or al, byte [esi + 0x1b]
mov edx, dword [esp + 8]
mov byte [edx + 4], al
mov al, byte [edi + 2]
shl eax, 7
mov dl, byte [esi + 2]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xa]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xa]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x12]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x12]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1a]
add edx, edx
or al, dl
or al, byte [esi + 0x1a]
mov edx, dword [esp + 8]
mov byte [edx + 5], al
mov al, byte [edi + 1]
shl eax, 7
mov dl, byte [esi + 1]
shl edx, 6
or al, dl
mov dl, byte [edi + 9]
shl edx, 5
or al, dl
mov dl, byte [esi + 9]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x11]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x11]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x19]
add edx, edx
or al, dl
or al, byte [esi + 0x19]
mov edx, dword [esp + 8]
mov byte [edx + 6], al
mov al, byte [edi]
shl eax, 7
mov dl, byte [esi]
shl edx, 6
or al, dl
mov dl, byte [edi + 8]
shl edx, 5
or al, dl
mov dl, byte [esi + 8]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x10]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x10]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x18]
add edx, edx
or al, dl
or al, byte [esi + 0x18]
mov edx, dword [esp + 8]
mov byte [edx + 7], al
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret