Function at 0x403439
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], 4
mov edx, 0x9e3779b9
mov dword [ebp - 0x20], ebx
xor eax, eax
mov dword [ebp - 4], edx
push esi
push edi
mov dword [ebx + 0x80c], eax
mov ecx, edx
mov dword [ebx + 0x808], eax
mov esi, edx
mov dword [ebx + 0x804], eax
mov edi, edx
mov ebx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, edi
add edi, esi
shl eax, 0xb
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], eax
mov eax, esi
shr eax, 2
xor edi, eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], edi
add esi, eax
shl eax, 8
xor esi, eax
mov eax, dword [ebp - 4]
add ebx, esi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0xc]
add dword [ebp - 4], ebx
add esi, eax
shr eax, 0x10
xor esi, eax
mov eax, ebx
shl eax, 0xa
add ecx, esi
xor dword [ebp - 4], eax
add ebx, ecx
add edx, dword [ebp - 4]
mov eax, ecx
shr eax, 4
add ecx, edx
xor ebx, eax
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
mov eax, edx
shl eax, 8
add esi, ebx
xor ecx, eax
mov dword [ebp - 8], esi
mov eax, esi
add edx, esi
mov esi, dword [ebp - 0x24]
add edi, ecx
shr eax, 9
xor edx, eax
mov eax, dword [ebp - 8]
add eax, edi
add esi, edx
sub dword [ebp - 0x1c], 1
mov dword [ebp - 8], eax
jne 0x403478
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], 0x20
lea ecx, [ebx + 0x410]
mov dword [ebp - 0x18], ecx
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x10], ecx
add esi, dword [ecx]
add edi, dword [ecx - 4]
mov ecx, dword [ecx - 8]
add ecx, eax
mov ebx, dword [ebp - 0x10]
mov eax, edi
add edi, esi
shl eax, 0xb
xor ecx, eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, esi
shr eax, 2
add esi, ecx
xor edi, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
add eax, edi
add dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp - 0x14]
shl eax, 8
xor esi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebp - 0xc]
add eax, esi
add ecx, eax
mov eax, dword [ebp - 4]
add ebx, eax
add dword [ebp - 4], ecx
shr eax, 0x10
xor ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
mov eax, dword [eax + 0x10]
add eax, ebx
mov ebx, dword [ebp - 0x1c]
add ebx, eax
mov eax, ecx
shl eax, 0xa
add ecx, ebx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 4]
add edx, eax
mov eax, ebx
shr eax, 4
add ebx, edx
xor ecx, eax
mov eax, edx
add dword [ebp - 8], ecx
shl eax, 8
xor ebx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 8]
add edi, ebx
mov ecx, dword [ebp - 0x18]
add edx, eax
shr eax, 9
xor edx, eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 8]
add esi, edx
add eax, edi
mov dword [ecx - 0xc], eax
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [eax - 8], edi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x400], esi
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ebx
add ecx, 0x20
mov dword [eax + 0x10], edx
add eax, 0x20
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jne 0x40351c
mov eax, dword [ebp - 0x20]
add eax, 0x40c
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x10], eax
add edi, dword [eax - 4]
add esi, dword [eax]
mov ecx, dword [eax - 8]
mov eax, edi
add ecx, dword [ebp - 8]
add edi, esi
shl eax, 0xb
xor ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
add eax, ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, esi
shr eax, 2
add esi, ecx
xor edi, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
mov eax, dword [eax + 8]
add eax, edi
mov edi, dword [ebp - 0xc]
add dword [ebp - 4], eax
mov eax, ecx
shl eax, 8
xor esi, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
add eax, esi
add ecx, eax
mov eax, dword [ebp - 4]
add edi, eax
add dword [ebp - 4], ecx
shr eax, 0x10
xor edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov eax, dword [eax + 0x10]
add eax, edi
mov edi, dword [ebp - 0x1c]
add ebx, eax
mov eax, ecx
shl eax, 0xa
add ecx, ebx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 4]
add edx, eax
mov eax, ebx
shr eax, 4
add ebx, edx
xor ecx, eax
mov eax, edx
add dword [ebp - 8], ecx
shl eax, 8
xor ebx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 8]
add edi, ebx
mov ecx, dword [ebp - 0x10]
add edx, eax
shr eax, 9
xor edx, eax
mov eax, dword [ebp - 8]
add esi, edx
add eax, edi
mov dword [ecx - 8], eax
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [eax - 4], edi
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
add eax, 0x20
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x10], eax
jne 0x403624
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
call fcn.00403178
pop edi
pop esi
mov dword [ebx], 0x100
pop ebx
leave
ret