Function at 0x10004d00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
lea esi, [esp + 0x1c]
mov edi, 0x10
xor ecx, ecx
xor edx, edx
mov cl, byte [eax]
mov dl, byte [eax + 1]
inc eax
add esi, 4
shl ecx, 8
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
mov dword [esi - 4], ecx
dec edi
jne 0x10004d17
lea ecx, [esp + 0x50]
mov edx, 0x40
mov eax, dword [ecx - 0x14]
mov ebx, dword [ecx - 0x2c]
mov edi, dword [ecx - 0x34]
mov ebp, dword [ecx]
xor eax, ebx
add ecx, 4
xor eax, edi
add esi, 4
xor eax, ebp
lea edi, [eax + eax]
shr eax, 0x1f
or edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x10004d4d
mov edi, dword [esp + 0x160]
mov dword [esp + 0x14], 0x14
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x10], edi
lea edi, [esp + 0x1c]
mov ebx, ecx
mov ebp, ecx
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, edx
xor ebp, esi
add edi, 4
and ebp, eax
xor ebp, edx
add ebx, ebp
mov ebp, dword [edi - 4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, esi
mov esi, eax
lea ebx, [ebx + ebp + 0x5a827999]
shl esi, 0x1e
shr eax, 2
or esi, eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x14]
dec ebx
mov dword [esp + 0x14], ebx
jne 0x10004d97
mov dword [esp + 0x14], 0x14
mov ebx, ecx
mov ebp, ecx
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, edx
xor ebp, esi
add edi, 4
xor ebp, eax
add ebx, ebp
mov ebp, dword [edi - 4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, esi
mov esi, eax
lea ebx, [ebx + ebp + 0x6ed9eba1]
shl esi, 0x1e
shr eax, 2
or esi, eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x14]
dec ebx
mov dword [esp + 0x14], ebx
jne 0x10004de7
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x14
mov ebx, esi
mov edi, esi
or ebx, eax
and edi, eax
and ebx, edx
mov ebp, ecx
or ebx, edi
mov edi, ecx
shr edi, 0x1b
shl ebp, 5
or edi, ebp
add ebx, edi
mov edi, dword [esp + 0x14]
mov ebp, dword [edi]
add edi, 4
add ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, esi
mov esi, eax
lea ebx, [ebx + ebp - 0x70e44324]
shl esi, 0x1e
shr eax, 2
or esi, eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
jne 0x10004e39
mov dword [esp + 0x18], 0x14
mov ebx, ecx
mov ebp, ecx
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, edx
xor ebp, esi
add edi, 4
xor ebp, eax
add ebx, ebp
mov ebp, dword [edi - 4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, esi
mov esi, eax
lea ebx, [ebx + ebp - 0x359d3e2a]
mov ebp, dword [esp + 0x18]
shl esi, 0x1e
shr eax, 2
or esi, eax
dec ebp
mov eax, ecx
mov ecx, ebx
mov dword [esp + 0x18], ebp
jne 0x10004e94
mov ecx, dword [esp + 0x160]
mov edi, dword [ecx]
add edi, ebx
mov dword [ecx], edi
mov edi, dword [ecx + 4]
add edi, eax
mov eax, dword [ecx + 8]
add eax, esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov eax, dword [ecx + 0xc]
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x10]
pop edi
add eax, edx
pop esi
pop ebp
mov dword [ecx + 0x10], eax
pop ebx
add esp, 0x14c
ret