Function at 0x483900
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x22c
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x23c]
push edi
lea eax, [ebx + 0x414]
mov dword [esp + 0x18], esi
push eax
call fcn.00482960
push 0x200
push esi
lea eax, [esp + 0x40]
push eax
call fcn.004bcf80
lea edx, [esp + 0x38]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x483948
sub edx, ecx
mov dword [ebx + 0x914], 0xd3a3b879
lea edi, [ebx + 0x814]
mov dword [ebx + 0x918], 0x3f6d12f7
mov ecx, 0x40
mov dword [ebx + 0x91c], 0x7515a235
mov esi, 0x588fc8
mov dword [ebx + 0x920], 0xa4e7f123
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
xor ebp, ebp
test edx, edx
je 0x483a14
jmp 0x4839a0
mov ecx, dword [esp + 0x18]
mov edi, 1
movzx eax, byte [ecx + ebp]
movzx ecx, byte [ecx + ebp + 1]
sub eax, esi
add ecx, esi
movzx eax, al
movzx ecx, cl
movzx eax, byte [ebx + eax*4 + 0x414]
movzx ecx, byte [ebx + ecx*4 + 0x414]
mov dword [esp + 0x14], ecx
cmp eax, ecx
je 0x483a0d
mov dl, byte [ebx + eax + 0x814]
lea ecx, [edi + eax]
add ecx, ebp
lea edi, [edi + 1]
movzx esi, cl
mov cl, byte [esi + ebx + 0x814]
mov byte [ebx + eax + 0x814], cl
inc eax
movzx eax, al
mov byte [esi + ebx + 0x814], dl
cmp eax, dword [esp + 0x14]
jne 0x4839d4
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
add ebp, 2
cmp ebp, edx
jb 0x4839a0
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x100
jb 0x483995
test dl, 0xf
je 0x483a4a
mov ecx, edx
mov eax, edx
or ecx, 0xf
cmp edx, ecx
ja 0x483a4a
cmp eax, 0x200
jae 0x483bdc
mov byte [esp + eax + 0x38], 0
inc eax
cmp eax, ecx
jbe 0x483a35
xor ecx, ecx
mov dword [esp + 0x18], ecx
test edx, edx
je 0x483bc1
jmp 0x483a60
lea edi, [esp + 0x38]
add edi, ecx
mov dword [esp + 0x28], edi
mov ecx, dword [edi]
xor ecx, dword [ebx + 0x914]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
xor esi, dword [ebx + 0x91c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 4]
mov edi, eax
xor ecx, dword [ebx + 0x918]
xor edi, dword [ebx + 0x920]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
and eax, 3
mov ecx, edi
rol ecx, 0xb
add ecx, esi
mov edx, dword [ebx + eax*4 + 0x914]
xor ecx, edx
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ebp, byte [eax + ebx + 0x814]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + ebx + 0x814]
shl eax, 8
or ebp, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl ebp, 8
movzx eax, byte [eax + ebx + 0x814]
or ebp, eax
movzx eax, cl
mov ecx, esi
shl ebp, 8
ror ecx, 0xf
xor ecx, edi
movzx eax, byte [eax + ebx + 0x814]
add ecx, edx
or ebp, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor ebp, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
movzx edx, byte [eax + ebx + 0x814]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + ebx + 0x814]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + ebx + 0x814]
or edx, eax
movzx eax, cl
shl edx, 8
mov ecx, esi
mov esi, ebp
movzx eax, byte [eax + ebx + 0x814]
or edx, eax
mov eax, dword [esp + 0x14]
xor edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], edi
mov edi, edx
mov dword [esp + 0x14], eax
cmp eax, 0x20
jl 0x483aa1
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x914]
xor eax, ebp
push edi
mov dword [edi], eax
mov eax, dword [ebx + 0x918]
xor eax, edx
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x91c]
xor eax, ecx
mov ecx, ebx
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x920]
xor eax, dword [esp + 0x14]
mov dword [edi + 0xc], eax
call fcn.004843e0
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x20]
jb 0x483a60
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x22c
ret 4
call fcn.0052f62d
int3