Function at 0x629bc0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov edx, dword [ebp + 8]
push ebx
xor eax, eax
push esi
mov ebx, dword [edx + 0x1c]
push edi
sub ebx, 6
mov dword [ebp - 4], eax
cmp ebx, eax
mov dword [ebp - 0xc], ebx
jle 0x629be8
mov esi, dword [ebp + 0xc]
mov ecx, ebx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov esi, 4
test ebx, ebx
jle 0x629c4a
mov dword [ebp - 8], 8
mov edi, dword [ebp - 4]
cmp edi, dword [edx + 0x1c]
ja 0x629c4a
cmp ecx, ebx
jge 0x629c31
lea edi, [ebp + ecx*4 - 0x2c]
mov dword [ebp + 0xc], edi
cmp eax, esi
jge 0x629c33
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
add esi, eax
inc ecx
mov edi, dword [edi]
mov dword [edx + esi*4], edi
mov edi, dword [ebp + 0xc]
mov esi, 4
add edi, esi
inc eax
cmp ecx, ebx
mov dword [ebp + 0xc], edi
jl 0x629c0d
cmp eax, esi
jne 0x629c46
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
add eax, esi
inc edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
xor eax, eax
cmp ecx, ebx
jl 0x629bfa
mov ecx, dword [ebp - 4]
mov esi, dword [edx + 0x1c]
cmp ecx, esi
ja 0x629dcf
mov esi, 0x8590c0
jmp 0x629c62
mov esi, dword [ebp - 8]
mov cl, byte [ebp - 0x2c]
xor edx, edx
mov dl, byte [ebp + ebx*4 - 0x2f]
add esi, 4
mov dword [ebp - 8], esi
xor cl, byte [edx + 0x855ec0]
xor edx, edx
mov byte [ebp - 0x2c], cl
mov dl, byte [ebp + ebx*4 - 0x2e]
mov dl, byte [edx + 0x855ec0]
xor byte [ebp - 0x2b], dl
xor edx, edx
mov dl, byte [ebp + ebx*4 - 0x2d]
mov dl, byte [edx + 0x855ec0]
xor byte [ebp - 0x2a], dl
xor edx, edx
mov dl, byte [ebp + ebx*4 - 0x30]
mov dl, byte [edx + 0x855ec0]
xor byte [ebp - 0x29], dl
mov dl, byte [esi - 4]
xor cl, dl
cmp ebx, 8
mov byte [ebp - 0x2c], cl
je 0x629cd7
cmp ebx, 1
jle 0x629d61
lea ecx, [ebp - 0x28]
lea edx, [ebx - 1]
mov esi, dword [ecx - 4]
mov edi, dword [ecx]
xor edi, esi
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x629cc3
jmp 0x629d61
lea ecx, [ebp - 0x28]
mov edx, 3
mov esi, dword [ecx - 4]
mov edi, dword [ecx]
xor edi, esi
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x629cdf
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
mov dl, byte [ecx + 0x855ec0]
mov cl, byte [ebp - 0x1c]
xor cl, dl
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x1f]
and ecx, 0xff
mov dl, byte [ecx + 0x855ec0]
mov cl, byte [ebp - 0x1b]
xor cl, dl
mov byte [ebp - 0x1b], cl
mov ecx, dword [ebp - 0x1e]
and ecx, 0xff
mov dl, byte [ecx + 0x855ec0]
mov cl, byte [ebp - 0x1a]
xor cl, dl
mov byte [ebp - 0x1a], cl
mov ecx, dword [ebp - 0x1d]
and ecx, 0xff
mov dl, byte [ecx + 0x855ec0]
mov cl, byte [ebp - 0x19]
xor cl, dl
mov edx, 3
mov byte [ebp - 0x19], cl
lea ecx, [ebp - 0x18]
mov esi, dword [ecx - 4]
mov edi, dword [ecx]
xor edi, esi
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x629d52
xor ecx, ecx
test ebx, ebx
jle 0x629dc0
mov edx, dword [ebp - 4]
lea edx, [edx*4 + 8]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 4]
cmp esi, dword [edx + 0x1c]
ja 0x629dc0
cmp ecx, ebx
jge 0x629da5
lea edx, [ebp + ecx*4 - 0x2c]
cmp eax, 4
jge 0x629da8
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [edx]
add esi, eax
inc ecx
add edx, 4
mov dword [ebx + esi*4], edi
mov ebx, dword [ebp - 0xc]
inc eax
cmp ecx, ebx
jl 0x629d87
cmp eax, 4
jne 0x629dbc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add eax, 4
inc edx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], edx
xor eax, eax
cmp ecx, ebx
jl 0x629d74
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [edx + 0x1c]
jbe 0x629c5f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret