Function at 0x10003387
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xc
pop eax
call fcn.1005ead0
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100039ed
push esi
mov esi, dword [ebp + 0xc]
add esi, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 4]
push 3
and eax, ebx
xor eax, dword [ebp + 8]
add eax, dword [esi - 0x10]
add ecx, eax
push ecx
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp - 4]
xor ecx, ebx
and ecx, eax
xor ecx, dword [ebp - 4]
push 7
add ecx, dword [esi - 0xc]
mov dword [ebp + 0x10], eax
add dword [ebp + 8], ecx
push dword [ebp + 8]
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
xor ecx, dword [ebp + 0x10]
push 0xb
and ecx, eax
xor ecx, ebx
add ecx, dword [esi - 8]
mov dword [ebp + 8], eax
add dword [ebp - 4], ecx
push dword [ebp - 4]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, dword [ebp + 0x10]
push 0x13
and ecx, eax
xor ecx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
add ecx, dword [esi - 4]
add ebx, ecx
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, eax
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 4]
push 3
and eax, ebx
xor eax, dword [ebp + 8]
add eax, dword [esi]
add dword [ebp + 0x10], eax
push dword [ebp + 0x10]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp - 4]
xor ecx, ebx
and ecx, eax
xor ecx, dword [ebp - 4]
push 7
add ecx, dword [esi + 4]
mov dword [ebp + 0x10], eax
add dword [ebp + 8], ecx
push dword [ebp + 8]
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
xor ecx, dword [ebp + 0x10]
push 0xb
and ecx, eax
xor ecx, ebx
add ecx, dword [esi + 8]
mov dword [ebp + 8], eax
add dword [ebp - 4], ecx
push dword [ebp - 4]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, dword [ebp + 0x10]
push 0x13
and ecx, eax
xor ecx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
add ecx, dword [esi + 0xc]
add ebx, ecx
push ebx
call sub.MSVCR70.dll__lrotl
add esp, 0x40
mov ebx, eax
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 4]
push 3
and eax, ebx
xor eax, dword [ebp + 8]
add eax, dword [esi + 0x10]
add dword [ebp + 0x10], eax
push dword [ebp + 0x10]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp - 4]
xor ecx, ebx
and ecx, eax
xor ecx, dword [ebp - 4]
push 7
add ecx, dword [esi + 0x14]
mov dword [ebp + 0x10], eax
add dword [ebp + 8], ecx
push dword [ebp + 8]
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
xor ecx, dword [ebp + 0x10]
push 0xb
and ecx, eax
xor ecx, ebx
add ecx, dword [esi + 0x18]
mov dword [ebp + 8], eax
add dword [ebp - 4], ecx
push dword [ebp - 4]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, dword [ebp + 0x10]
push 0x13
and ecx, eax
xor ecx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
add ecx, dword [esi + 0x1c]
add ebx, ecx
push ebx
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, dword [ebp - 4]
push 3
and ecx, eax
xor ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
add ecx, dword [esi + 0x20]
add dword [ebp + 0x10], ecx
push dword [ebp + 0x10]
call sub.MSVCR70.dll__lrotl
mov ebx, eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp + 0xc]
push 7
and eax, ebx
xor eax, dword [ebp - 4]
add eax, dword [esi + 0x24]
add dword [ebp + 8], eax
push dword [ebp + 8]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 0xc]
xor ecx, ebx
and ecx, eax
xor ecx, dword [ebp + 0xc]
push 0xb
add ecx, dword [esi + 0x28]
mov dword [ebp + 8], eax
add dword [ebp - 4], ecx
push dword [ebp - 4]
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, ebx
and ecx, eax
xor ecx, ebx
add ecx, dword [esi + 0x2c]
push 0x13
add dword [ebp + 0xc], ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call sub.MSVCR70.dll__lrotl
add esp, 0x40
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
or ecx, eax
and ecx, dword [ebp + 8]
and edx, eax
or ecx, edx
add ecx, dword [esi - 0x10]
push 3
lea ebx, [ebx + ecx + 0x5a827999]
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 0xc]
or ebx, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
mov ecx, ebx
and ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
or ecx, eax
add ecx, dword [esi]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x5a827999]
push 5
push eax
call sub.MSVCR70.dll__lrotl
and ebx, eax
or ebx, dword [ebp - 8]
mov dword [ebp + 8], eax
add ebx, dword [esi + 0x10]
mov eax, dword [ebp - 4]
lea ebx, [eax + ebx + 0x5a827999]
push 9
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, eax
or eax, dword [ebp + 0x10]
mov ecx, ebx
and eax, dword [ebp + 8]
and ecx, dword [ebp + 0x10]
push 0xd
or eax, ecx
add eax, dword [esi + 0x20]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 0x5a827999]
push eax
mov dword [ebp - 4], ebx
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
or ecx, eax
and ecx, dword [ebp + 8]
and ebx, eax
or ecx, ebx
add ecx, dword [esi - 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx + 0x5a827999]
push 3
push eax
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 0xc]
or ebx, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
mov ecx, ebx
and ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
or ecx, eax
add ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x5a827999]
push 5
push eax
call sub.MSVCR70.dll__lrotl
and ebx, eax
or ebx, dword [ebp - 8]
mov dword [ebp + 8], eax
add ebx, dword [esi + 0x14]
mov eax, dword [ebp - 4]
lea ebx, [eax + ebx + 0x5a827999]
push 9
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, eax
or eax, dword [ebp + 0x10]
mov ecx, ebx
and eax, dword [ebp + 8]
and ecx, dword [ebp + 0x10]
push 0xd
or eax, ecx
add eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 0x5a827999]
push eax
mov dword [ebp - 4], ebx
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
or ecx, eax
and ecx, dword [ebp + 8]
and ebx, eax
or ecx, ebx
add ecx, dword [esi - 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
add esp, 0x40
lea eax, [eax + ecx + 0x5a827999]
push 3
push eax
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 0xc]
or ebx, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
mov ecx, ebx
and ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
or ecx, eax
add ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x5a827999]
push 5
push eax
call sub.MSVCR70.dll__lrotl
and ebx, eax
or ebx, dword [ebp - 8]
mov dword [ebp + 8], eax
add ebx, dword [esi + 0x18]
mov eax, dword [ebp - 4]
lea ebx, [eax + ebx + 0x5a827999]
push 9
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, eax
or eax, dword [ebp + 0x10]
mov ecx, ebx
and eax, dword [ebp + 8]
and ecx, dword [ebp + 0x10]
push 0xd
or eax, ecx
add eax, dword [esi + 0x28]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 0x5a827999]
push eax
mov dword [ebp - 4], ebx
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
or ecx, eax
and ecx, dword [ebp + 8]
and ebx, eax
or ecx, ebx
add ecx, dword [esi - 4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx + 0x5a827999]
push 3
push eax
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
or ebx, eax
mov eax, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
mov ecx, ebx
and ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
or ecx, eax
add ecx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x5a827999]
push 5
push eax
call sub.MSVCR70.dll__lrotl
and ebx, eax
or ebx, dword [ebp - 8]
mov dword [ebp + 8], eax
add ebx, dword [esi + 0x1c]
mov eax, dword [ebp - 4]
lea ebx, [eax + ebx + 0x5a827999]
push 9
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, eax
or eax, dword [ebp + 0x10]
mov ecx, ebx
and eax, dword [ebp + 8]
and ecx, dword [ebp + 0x10]
push 0xd
or eax, ecx
add eax, dword [esi + 0x2c]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 0x5a827999]
push eax
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, ebx
xor ecx, eax
add ecx, dword [esi - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
add esp, 0x40
lea eax, [eax + ecx + 0x6ed9eba1]
push 3
push eax
call sub.MSVCR70.dll__lrotl
mov ecx, ebx
xor ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
xor ecx, eax
add ecx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x6ed9eba1]
push 9
push eax
call sub.MSVCR70.dll__lrotl
mov dword [ebp + 8], eax
xor eax, dword [ebp + 0xc]
push 0xb
xor eax, dword [ebp + 0x10]
add eax, dword [esi]
lea ebx, [ebx + eax + 0x6ed9eba1]
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, eax
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, dword [ebp + 0x10]
push 0xf
add eax, dword [esi + 0x20]
lea eax, [ecx + eax + 0x6ed9eba1]
push eax
call sub.MSVCR70.dll__lrotl
xor ebx, eax
add ebx, dword [esi - 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea ebx, [eax + ebx + 0x6ed9eba1]
push 3
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp - 4]
mov ecx, ebx
xor ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
xor ecx, eax
add ecx, dword [esi + 0x18]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x6ed9eba1]
push 9
push eax
call sub.MSVCR70.dll__lrotl
mov dword [ebp + 8], eax
xor eax, dword [ebp + 0xc]
push 0xb
xor eax, dword [ebp + 0x10]
add eax, dword [esi + 8]
lea ebx, [ebx + eax + 0x6ed9eba1]
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, eax
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, dword [ebp + 0x10]
push 0xf
add eax, dword [esi + 0x28]
lea eax, [ecx + eax + 0x6ed9eba1]
push eax
call sub.MSVCR70.dll__lrotl
xor ebx, eax
add ebx, dword [esi - 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
add esp, 0x40
lea ebx, [eax + ebx + 0x6ed9eba1]
push 3
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp - 4]
mov ecx, ebx
xor ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
xor ecx, eax
add ecx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx + 0x6ed9eba1]
push 9
push eax
call sub.MSVCR70.dll__lrotl
mov dword [ebp + 8], eax
xor eax, dword [ebp + 0xc]
push 0xb
xor eax, dword [ebp + 0x10]
add eax, dword [esi + 4]
lea ebx, [ebx + eax + 0x6ed9eba1]
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, eax
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, dword [ebp + 0x10]
push 0xf
add eax, dword [esi + 0x24]
lea eax, [ecx + eax + 0x6ed9eba1]
push eax
call sub.MSVCR70.dll__lrotl
xor ebx, eax
add ebx, dword [esi - 4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea ebx, [eax + ebx + 0x6ed9eba1]
push 3
push ebx
call sub.MSVCR70.dll__lrotl
mov ebx, eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp + 0xc]
xor eax, ebx
add eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x6ed9eba1]
push 9
push eax
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
xor eax, dword [ebp + 0xc]
push 0xb
xor eax, ebx
add eax, dword [esi + 0xc]
lea eax, [ecx + eax + 0x6ed9eba1]
push eax
call sub.MSVCR70.dll__lrotl
mov ecx, dword [ebp + 8]
xor ecx, eax
xor ecx, ebx
add ecx, dword [esi + 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx + 0x6ed9eba1]
push 0xf
push eax
call sub.MSVCR70.dll__lrotl
add dword [edi + 4], eax
mov eax, dword [ebp - 4]
add dword [edi + 8], eax
mov eax, dword [edi + 8]
add dword [edi], ebx
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
add esp, 0x40
add esi, 0x40
dec dword [ebp - 0xc]
mov dword [ebp + 8], eax
jne 0x100033bd
pop esi
pop edi
pop ebx
leave
ret