Function at 0x48eef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x110
mov eax, dword [0x508578]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x124]
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [esp + 0x130]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x134]
push esi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x48], eax
xor eax, eax
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], edx
xor edi, edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov esi, ebx
lea ecx, [ecx]
mov edx, dword [ecx]
inc dword [esp + edx*4 + 0x9c]
lea edx, [esp + edx*4 + 0x9c]
add ecx, 4
dec esi
jne 0x48efc0
cmp dword [esp + 0x9c], ebx
jne 0x48efef
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov dword [ebp], eax
xor eax, eax
jmp 0x48f3b9
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
mov ecx, 1
jmp 0x48f000
cmp dword [esp + ecx*4 + 0x9c], eax
jne 0x48f00f
inc ecx
cmp ecx, 0xf
jbe 0x48f000
mov edx, ecx
mov dword [esp + 0x1c], edx
cmp ebp, ecx
jae 0x48f01f
mov dword [esp + 0x10], ecx
mov ebp, ecx
mov esi, 0xf
cmp dword [esp + esi*4 + 0x9c], eax
jne 0x48f030
dec esi
jne 0x48f024
mov dword [esp + 0x30], esi
cmp ebp, esi
jbe 0x48f03e
mov dword [esp + 0x10], esi
mov ebp, esi
mov ebx, dword [esp + 0x24]
mov dword [ebx], ebp
mov ebx, 1
shl ebx, cl
cmp ecx, esi
jae 0x48f064
nop
sub ebx, dword [esp + ecx*4 + 0x9c]
js 0x48f157
inc ecx
add ebx, ebx
cmp ecx, esi
jb 0x48f050
lea ecx, [esi*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + ecx + 0x9c]
sub ebx, ecx
mov dword [esp + 0x58], ebx
js 0x48f157
add ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + ebx + 0x9c], ecx
xor ecx, ecx
dec esi
mov dword [esp + 0xe0], eax
je 0x48f0b4
xor ebx, ebx
lea ecx, [ecx]
add ecx, dword [esp + ebx + 0xa0]
add ebx, 4
dec esi
mov dword [esp + ebx + 0xe0], ecx
jne 0x48f0a0
mov ebx, dword [esp + 0x28]
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ebx
cmp ecx, eax
je 0x48f0ec
mov ebx, dword [esp + 0x48]
lea ecx, [esp + ecx*4 + 0xdc]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx]
mov dword [ebx + ecx*4], esi
mov ebx, dword [esp + 0x24]
inc ecx
mov dword [ebx], ecx
mov ebx, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x34]
jb 0x48f0c0
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx + 0xdc]
mov ebx, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x48]
neg ebx
xor esi, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], eax
cmp edx, dword [esp + 0x30]
jg 0x48f3a7
lea ecx, [esp + edx*4 + 0x9c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x48f393
lea eax, [ecx + 1]
mov dword [esp + 0x44], eax
jmp 0x48f165
mov eax, 0xfffffffd
jmp 0x48f3b9
mov ecx, dword [esp + 0x28]
dec dword [esp + 0x44]
dec ecx
lea eax, [ebx + ebp]
mov dword [esp + 0x28], ecx
cmp edx, eax
jle 0x48f275
sub ebx, ebp
mov dword [esp + 0x38], ebx
jmp 0x48f185
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
inc dword [esp + 0x20]
add dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x10]
sub edx, ebx
cmp edx, eax
cmova edx, eax
sub ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, dword [esp + 0x44]
jbe 0x48f1da
mov ebp, dword [esp + 0x14]
or esi, 0xffffffff
sub esi, dword [esp + 0x28]
add eax, esi
cmp ecx, edx
jae 0x48f1da
inc ecx
cmp ecx, edx
jae 0x48f1da
mov esi, dword [ebp + 4]
add ebp, 4
add eax, eax
cmp eax, esi
jbe 0x48f1da
inc ecx
sub eax, esi
cmp ecx, edx
jb 0x48f1c7
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov esi, 1
shl esi, cl
lea edx, [eax + esi]
cmp edx, 0x5a0
ja 0x48f157
mov ebp, dword [esp + 0x54]
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x20]
lea eax, [esp + eax*4 + 0x60]
mov dword [esp + 0x5c], eax
mov dword [eax], ebp
mov eax, dword [esp + 0x4c]
mov dword [eax], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
test eax, eax
je 0x48f25a
mov edi, dword [esp + 0x2c]
mov dl, byte [esp + 0x10]
mov dword [esp + eax*4 + 0xdc], edi
mov byte [esp + 0x3c], cl
mov ecx, dword [esp + 0x38]
mov eax, edi
shr eax, cl
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx - 4]
mov edi, ebp
sub edi, ecx
mov byte [esp + 0x3d], dl
mov edx, dword [esp + 0x3c]
sar edi, 3
sub edi, eax
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
jmp 0x48f260
mov eax, dword [esp + 0x50]
mov dword [eax], ebp
mov ecx, dword [esp + 0x10]
lea eax, [ebx + ecx]
cmp dword [esp + 0x1c], eax
jg 0x48f181
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov al, dl
sub al, bl
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x34]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jb 0x48f297
mov byte [esp + 0x3c], 0xc0
jmp 0x48f2df
mov eax, dword [eax]
mov ecx, dword [esp + 0x128]
cmp eax, ecx
jae 0x48f2b9
cmp eax, 0x100
sbb cl, cl
and cl, 0xa0
add cl, 0x60
mov byte [esp + 0x3c], cl
mov edi, eax
jmp 0x48f2da
sub eax, ecx
mov ecx, dword [esp + 0x130]
add eax, eax
add eax, eax
mov cl, byte [eax + ecx]
add cl, 0x50
mov byte [esp + 0x3c], cl
mov ecx, dword [esp + 0x12c]
mov edi, dword [eax + ecx]
add dword [esp + 0x18], 4
mov ebp, dword [esp + 0x2c]
mov ecx, edx
sub ecx, ebx
mov edx, 1
shl edx, cl
mov eax, ebp
mov ecx, ebx
shr eax, cl
cmp eax, esi
jae 0x48f31c
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + eax*8]
nop
mov ebp, dword [esp + 0x3c]
mov dword [ecx], ebp
lea ebp, [edx*8]
mov dword [ecx + 4], edi
add eax, edx
add ecx, ebp
cmp eax, esi
jb 0x48f300
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
dec ecx
mov eax, 1
shl eax, cl
test ebp, eax
je 0x48f338
lea esp, [esp]
xor ebp, eax
shr eax, 1
test ebp, eax
jne 0x48f330
mov edx, 1
mov ecx, ebx
shl edx, cl
xor ebp, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebp
dec edx
and edx, ebp
cmp edx, dword [esp + eax*4 + 0xdc]
je 0x48f37e
jmp 0x48f360
sub ebx, dword [esp + 0x10]
mov edx, 1
mov ecx, ebx
shl edx, cl
dec eax
dec edx
and edx, ebp
cmp edx, dword [esp + eax*4 + 0xdc]
jne 0x48f360
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
jne 0x48f161
xor eax, eax
add dword [esp + 0x14], 4
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x30]
jle 0x48f140
cmp dword [esp + 0x58], eax
je 0x48f3b9
cmp dword [esp + 0x30], 1
je 0x48f3b9
mov eax, 0xfffffffb
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00493576
add esp, 0x110
ret