Function at 0x482870
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, ecx
cmp dword [esi], 0
mov dword [esp + 0x14], ebx
je 0x4828ad
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051ed00
add esp, 0x30
ret 0xc
mov ecx, dword [esi + 4]
cmp ecx, 2
je 0x4828d4
cmp dword [esi + 8], 0
jne 0x4828d4
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051ed00
add esp, 0x30
ret 0xc
test ebx, ebx
je 0x482beb
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x482beb
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
sub ecx, 0
push edi
mov dword [esp + 0x14], eax
je 0x482bab
sub ecx, 1
je 0x482af0
sub ecx, 1
je 0x482925
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051ed00
add esp, 0x30
ret 0xc
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x482bd3
lea ecx, [ecx]
xor edi, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov bl, byte [esp + 0x1d]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.00483150
movzx eax, byte [esp + 0x1c]
add al, al
mov dl, bl
shr dl, 7
or dl, al
mov al, byte [esp + 0x1e]
mov byte [esp + 0x1c], dl
mov cl, al
shr cl, 7
add bl, bl
or cl, bl
mov byte [esp + 0x1d], cl
mov cl, byte [esp + 0x1f]
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [esp + 0x20]
mov byte [esp + 0x1e], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [esp + 0x21]
mov byte [esp + 0x1f], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [esp + 0x22]
mov byte [esp + 0x20], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [esp + 0x23]
mov byte [esp + 0x21], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [esp + 0x24]
mov byte [esp + 0x22], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [esp + 0x25]
mov byte [esp + 0x23], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [esp + 0x26]
mov byte [esp + 0x24], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [esp + 0x27]
mov byte [esp + 0x25], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [esp + 0x28]
mov byte [esp + 0x26], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [esp + 0x29]
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x27], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [esp + 0x2a]
add cl, cl
mov byte [esp + 0x28], dl
mov dl, al
shr dl, 7
or dl, cl
movzx ecx, byte [esp + 0x2b]
shr cl, 7
add al, al
or cl, al
mov byte [esp + 0x2a], cl
mov eax, edi
mov byte [esp + 0x29], dl
shr eax, 3
movzx ebx, byte [eax + ebx]
mov edx, edi
and edx, 7
mov cl, 7
sub cl, dl
shr bl, cl
movzx ecx, byte [esp + 0x2b]
and bl, 1
add cl, cl
or bl, cl
mov byte [esp + 0x2b], bl
movzx ebx, byte [esp + 0x2c]
and bl, 0x80
mov cl, dl
shr bl, cl
inc edi
xor byte [eax + ebp], bl
cmp edi, 0x80
jl 0x482952
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jg 0x482950
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
shl eax, 7
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051ed00
add esp, 0x30
ret 0xc
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x482bd3
lea edx, [esp + 0x2c]
push edx
push ebx
mov edi, esi
call fcn.00483520
mov eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
xor ecx, dword [esp + 0x20]
xor dword [esp + 0x38], edi
mov edi, dword [ebx]
mov edx, dword [esp + 0x34]
xor edx, dword [esp + 0x24]
mov dword [ebp], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 4], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp + 8], edx
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
dec eax
add ebx, 0x10
add ebp, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
test eax, eax
jg 0x482b18
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
shl eax, 7
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051ed00
add esp, 0x30
ret 0xc
mov dword [esp + 0x10], eax
test eax, eax
jle 0x482bd3
push ebp
push ebx
mov edi, esi
call fcn.00483520
mov eax, dword [esp + 0x10]
dec eax
add ebx, 0x10
add ebp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jg 0x482bb3
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
shl eax, 7
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0051ed00
add esp, 0x30
ret 0xc
mov ecx, dword [esp + 0x38]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0051ed00
add esp, 0x30
ret 0xc