Function at 0x10055040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
jmp 0x10055077
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x10055e15
mov eax, dword [ebp - 8]
add eax, 1
xor edx, edx
div dword [0x100937f4]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
sub edx, dword [0x10093824]
mov eax, dword [0x1009382c]
imul eax, dword [0x10093828]
sub edx, eax
mov ecx, dword [0x10093820]
imul ecx, dword [0x10093820]
sub edx, ecx
add edx, dword [0x1009382c]
add edx, dword [0x10093824]
add edx, dword [0x10093824]
mov eax, dword [0x10093828]
imul eax, dword [0x10093828]
sub edx, eax
mov ecx, dword [0x1009382c]
imul ecx, dword [0x1009382c]
imul ecx, dword [0x10093820]
sub edx, ecx
add edx, dword [0x10093824]
mov eax, dword [0x10093824]
imul eax, dword [0x10093828]
add edx, dword [0x10093824]
add eax, edx
mov ecx, dword [0x1009382c]
imul ecx, dword [0x10093828]
sub eax, ecx
mov edx, dword [0x10093820]
imul edx, dword [0x10093820]
sub eax, edx
add eax, dword [0x1009382c]
add eax, dword [0x10093824]
add eax, dword [0x10093824]
mov ecx, dword [0x10093828]
imul ecx, dword [0x10093828]
sub eax, ecx
mov edx, dword [0x1009382c]
imul edx, dword [0x1009382c]
imul edx, dword [0x10093820]
sub eax, edx
add eax, dword [0x10093824]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093828]
add eax, dword [0x10093824]
add ecx, eax
mov edx, dword [0x1009382c]
imul edx, dword [0x10093828]
sub ecx, edx
mov eax, dword [0x10093820]
imul eax, dword [0x10093820]
sub ecx, eax
add ecx, dword [0x1009382c]
add ecx, dword [0x10093824]
add ecx, dword [0x10093824]
mov edx, dword [0x10093828]
imul edx, dword [0x10093828]
sub ecx, edx
mov eax, dword [0x1009382c]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093820]
sub ecx, eax
add ecx, dword [0x10093824]
mov edx, dword [0x10093824]
imul edx, dword [0x10093828]
add ecx, dword [0x10093824]
add edx, ecx
mov eax, dword [0x1009382c]
imul eax, dword [0x10093828]
sub edx, eax
mov ecx, dword [0x10093820]
imul ecx, dword [0x10093820]
sub edx, ecx
add edx, dword [0x1009382c]
add edx, dword [0x10093824]
add edx, dword [0x10093824]
mov eax, dword [0x10093828]
imul eax, dword [0x10093828]
sub edx, eax
mov ecx, dword [0x1009382c]
imul ecx, dword [0x1009382c]
imul ecx, dword [0x10093820]
sub edx, ecx
add edx, dword [0x10093824]
mov eax, dword [0x10093824]
imul eax, dword [0x10093828]
add edx, dword [0x10093824]
add eax, edx
mov ecx, dword [0x1009382c]
imul ecx, dword [0x10093828]
sub eax, ecx
mov edx, dword [0x10093820]
imul edx, dword [0x10093820]
sub eax, edx
add eax, dword [0x1009382c]
add eax, dword [0x10093824]
add eax, dword [0x10093824]
mov ecx, dword [0x10093828]
imul ecx, dword [0x10093828]
sub eax, ecx
mov edx, dword [0x1009382c]
imul edx, dword [0x1009382c]
imul edx, dword [0x10093820]
sub eax, edx
add eax, dword [0x10093824]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093828]
add eax, dword [0x10093824]
add ecx, eax
add ecx, dword [0x10093824]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
add eax, dword [ebp - 0x10]
xor edx, edx
div dword [0x100937f4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
sub eax, dword [0x10093824]
mov ecx, dword [0x100937fc]
imul ecx, dword [0x1009382c]
imul ecx, dword [0x10093820]
add eax, ecx
sub eax, dword [0x10093824]
mov edx, dword [0x100937fc]
imul edx, dword [0x1009382c]
imul edx, dword [0x10093820]
add eax, edx
sub eax, dword [0x10093824]
mov ecx, dword [0x100937fc]
imul ecx, dword [0x1009382c]
imul ecx, dword [0x10093820]
add ecx, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov byte [ebp - 1], dl
mov eax, dword [ebp - 0x10]
sub eax, dword [0x100937fc]
add eax, dword [0x1009382c]
mov ecx, dword [0x100937fc]
imul ecx, dword [0x10093820]
sub eax, ecx
add eax, dword [0x10093824]
mov edx, dword [0x100937fc]
imul edx, dword [0x1009382c]
add eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x100937fc]
sub eax, ecx
mov edx, dword [0x1009382c]
imul edx, dword [0x1009382c]
sub eax, edx
mov ecx, dword [0x100937fc]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x1009382c]
imul edx, dword [0x10093828]
add eax, dword [0x10093824]
add edx, eax
mov eax, dword [0x10093828]
imul eax, dword [0x1009382c]
add edx, eax
sub edx, dword [0x10093824]
sub edx, dword [0x100937fc]
add edx, dword [0x1009382c]
mov ecx, dword [0x100937fc]
imul ecx, dword [0x10093820]
sub edx, ecx
add edx, dword [0x10093824]
mov eax, dword [0x100937fc]
imul eax, dword [0x1009382c]
add edx, eax
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x100937fc]
sub edx, ecx
mov eax, dword [0x1009382c]
imul eax, dword [0x1009382c]
sub edx, eax
mov ecx, dword [0x100937fc]
imul ecx, dword [0x100937fc]
add edx, ecx
mov eax, dword [0x100937fc]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093828]
add edx, dword [0x10093824]
add eax, edx
mov ecx, dword [0x10093828]
imul ecx, dword [0x1009382c]
add eax, ecx
sub eax, dword [0x10093824]
sub eax, dword [0x100937fc]
add eax, dword [0x1009382c]
mov edx, dword [0x100937fc]
imul edx, dword [0x10093820]
sub eax, edx
add eax, dword [0x10093824]
mov ecx, dword [0x100937fc]
imul ecx, dword [0x1009382c]
add eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x100937fc]
imul edx, dword [0x100937fc]
sub eax, edx
mov ecx, dword [0x1009382c]
imul ecx, dword [0x1009382c]
sub eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x100937fc]
add eax, edx
mov ecx, dword [0x100937fc]
imul ecx, dword [0x1009382c]
imul ecx, dword [0x10093828]
add eax, dword [0x10093824]
add ecx, eax
mov edx, dword [0x10093828]
imul edx, dword [0x1009382c]
add ecx, edx
sub ecx, dword [0x10093824]
mov eax, dword [ebp - 8]
sub eax, dword [0x1009382c]
mov edx, dword [0x10093824]
imul edx, dword [0x10093828]
add eax, edx
sub eax, dword [0x10093828]
mov edx, dword [0x1009382c]
imul edx, dword [0x10093820]
imul edx, dword [0x10093820]
imul edx, dword [0x10093820]
sub eax, edx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093828]
add eax, edx
sub eax, dword [0x10093824]
mov edx, dword [0x1009382c]
imul edx, dword [0x100937fc]
sub eax, edx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov cl, byte [esi + ecx]
mov byte [edx + eax], cl
mov edx, dword [ebp - 0x10]
sub edx, dword [0x10093828]
add edx, dword [0x1009382c]
mov eax, dword [0x10093820]
imul eax, dword [0x100937fc]
add edx, eax
mov ecx, dword [0x10093828]
imul ecx, dword [0x10093828]
sub edx, ecx
add edx, dword [0x1009382c]
sub edx, dword [0x10093824]
mov eax, dword [0x10093824]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093828]
imul eax, dword [0x10093824]
imul eax, dword [0x1009382c]
add edx, dword [0x1009382c]
add eax, edx
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 1]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 8]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093824]
sub eax, ecx
sub eax, dword [0x10093820]
mov edx, dword [0x10093820]
imul edx, dword [0x10093828]
sub eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x10093824]
sub eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x10093824]
imul edx, dword [0x100937fc]
sub eax, edx
sub eax, dword [0x10093828]
mov ecx, dword [0x1009382c]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093824]
sub eax, edx
add eax, dword [0x100937fc]
add eax, dword [0x100937fc]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093824]
sub eax, ecx
sub eax, dword [0x10093820]
mov edx, dword [0x10093820]
imul edx, dword [0x10093828]
sub eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x10093824]
sub eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x10093824]
imul edx, dword [0x100937fc]
sub eax, edx
sub eax, dword [0x10093828]
mov ecx, dword [0x1009382c]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093824]
sub eax, edx
add eax, dword [0x100937fc]
add eax, dword [0x100937fc]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093824]
sub eax, ecx
sub eax, dword [0x10093820]
mov edx, dword [0x10093820]
imul edx, dword [0x10093828]
sub eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x10093824]
sub eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x10093824]
imul edx, dword [0x100937fc]
sub eax, edx
sub eax, dword [0x10093828]
mov ecx, dword [0x1009382c]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093824]
sub eax, edx
add eax, dword [0x100937fc]
add eax, dword [0x100937fc]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093824]
sub eax, ecx
sub eax, dword [0x10093820]
mov edx, dword [0x10093820]
imul edx, dword [0x10093828]
sub eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x10093824]
sub eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x10093824]
imul edx, dword [0x100937fc]
sub eax, edx
sub eax, dword [0x10093828]
mov ecx, dword [0x1009382c]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093824]
sub eax, edx
add eax, dword [0x100937fc]
add eax, dword [0x100937fc]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093824]
sub eax, ecx
sub eax, dword [0x10093820]
mov edx, dword [0x10093820]
imul edx, dword [0x10093828]
sub eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x10093824]
sub eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x10093824]
imul edx, dword [0x100937fc]
sub eax, edx
sub eax, dword [0x10093828]
mov ecx, dword [0x1009382c]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093824]
sub eax, edx
add eax, dword [0x100937fc]
add eax, dword [0x100937fc]
mov ecx, dword [0x10093824]
imul ecx, dword [0x10093824]
sub eax, ecx
sub eax, dword [0x10093820]
mov edx, dword [0x10093820]
imul edx, dword [0x10093828]
sub eax, edx
mov ecx, dword [0x10093824]
imul ecx, dword [0x100937fc]
imul ecx, dword [0x10093824]
sub eax, ecx
mov edx, dword [0x10093824]
imul edx, dword [0x10093824]
imul edx, dword [0x100937fc]
sub eax, edx
sub eax, dword [0x10093828]
mov ecx, dword [0x1009382c]
imul ecx, dword [0x100937fc]
add eax, ecx
mov edx, dword [0x100937fc]
imul edx, dword [0x10093824]
sub eax, edx
add eax, dword [0x100937fc]
add eax, dword [0x100937fc]
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax]
mov edx, dword [0x10093820]
imul edx, dword [0x10093820]
imul edx, dword [0x10093824]
add edx, dword [ebp - 0x10]
sub edx, dword [0x10093828]
add edx, dword [0x100937fc]
mov ecx, dword [0x100937fc]
imul ecx, dword [0x1009382c]
imul ecx, dword [0x1009382c]
add edx, dword [0x10093824]
add ecx, edx
add ecx, dword [0x10093828]
sub ecx, dword [0x10093820]
add ecx, dword [0x1009382c]
sub ecx, dword [0x10093828]
add ecx, dword [0x10093824]
sub ecx, dword [0x100937fc]
sub ecx, dword [0x10093824]
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
add eax, ecx
xor edx, edx
div dword [0x100937f4]
mov dword [ebp - 0x14], edx
mov edx, dword [0x10093824]
imul edx, dword [0x1009382c]
add edx, dword [ebp - 0xc]
add edx, dword [0x1009382c]
mov eax, dword [0x10093828]
imul eax, dword [0x10093824]
sub edx, eax
sub edx, dword [0x10093820]
mov ecx, dword [0x10093824]
imul ecx, dword [0x1009382c]
add edx, dword [0x10093824]
add ecx, edx
sub ecx, dword [0x1009382c]
mov edx, dword [0x10093820]
imul edx, dword [0x10093824]
sub ecx, edx
sub ecx, dword [0x1009382c]
mov eax, dword [0x10093820]
imul eax, dword [0x100937fc]
add ecx, eax
sub ecx, dword [0x10093824]
add ecx, dword [0x10093828]
mov edx, dword [0x10093824]
imul edx, dword [0x1009382c]
add ecx, dword [0x1009382c]
add edx, ecx
mov eax, dword [0x10093828]
imul eax, dword [0x10093824]
sub edx, eax
sub edx, dword [0x10093820]
mov ecx, dword [0x10093824]
imul ecx, dword [0x1009382c]
add edx, dword [0x10093824]
add ecx, edx
sub ecx, dword [0x1009382c]
mov edx, dword [0x10093820]
imul edx, dword [0x10093824]
sub ecx, edx
sub ecx, dword [0x1009382c]
mov eax, dword [0x10093820]
imul eax, dword [0x100937fc]
add ecx, eax
sub ecx, dword [0x10093824]
add ecx, dword [0x10093828]
mov edx, dword [0x10093824]
imul edx, dword [0x1009382c]
add ecx, dword [0x1009382c]
add edx, ecx
mov eax, dword [0x10093828]
imul eax, dword [0x10093824]
sub edx, eax
sub edx, dword [0x10093820]
mov ecx, dword [0x10093824]
imul ecx, dword [0x1009382c]
add edx, dword [0x10093824]
add ecx, edx
sub ecx, dword [0x1009382c]
mov edx, dword [0x10093820]
imul edx, dword [0x10093824]
sub ecx, edx
sub ecx, dword [0x1009382c]
mov eax, dword [0x10093820]
imul eax, dword [0x100937fc]
add ecx, eax
sub ecx, dword [0x10093824]
add ecx, dword [0x10093828]
mov edx, dword [ebp - 0x14]
add edx, dword [0x10093828]
sub edx, dword [0x10093824]
sub edx, dword [0x10093824]
add edx, dword [0x10093820]
add edx, dword [0x1009382c]
add edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x1009382c]
sub edx, dword [0x10093828]
mov eax, dword [0x10093828]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093824]
add edx, eax
mov eax, dword [0x10093820]
imul eax, dword [0x1009382c]
add edx, eax
sub edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
add edx, dword [0x10093828]
sub edx, dword [0x10093824]
sub edx, dword [0x10093824]
add edx, dword [0x10093820]
add edx, dword [0x1009382c]
add edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x1009382c]
sub edx, dword [0x10093828]
mov eax, dword [0x10093828]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093824]
add edx, eax
mov eax, dword [0x10093820]
imul eax, dword [0x1009382c]
add edx, eax
sub edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
add edx, dword [0x10093828]
sub edx, dword [0x10093824]
sub edx, dword [0x10093824]
add edx, dword [0x10093820]
add edx, dword [0x1009382c]
add edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x1009382c]
sub edx, dword [0x10093828]
mov eax, dword [0x10093828]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093824]
add edx, eax
mov eax, dword [0x10093820]
imul eax, dword [0x1009382c]
add edx, eax
sub edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
add edx, dword [0x10093828]
sub edx, dword [0x10093824]
sub edx, dword [0x10093824]
add edx, dword [0x10093820]
add edx, dword [0x1009382c]
add edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x1009382c]
sub edx, dword [0x10093828]
mov eax, dword [0x10093828]
imul eax, dword [0x1009382c]
imul eax, dword [0x10093824]
add edx, eax
mov eax, dword [0x10093820]
imul eax, dword [0x1009382c]
add edx, eax
sub edx, dword [0x10093820]
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
mov eax, dword [ebp + 8]
movzx edx, byte [eax + edx]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + ecx]
xor ecx, edx
mov edx, dword [0x10093820]
imul edx, dword [0x100937fc]
mov eax, dword [0x10093820]
imul eax, dword [0x10093824]
mov esi, dword [0x10093824]
imul esi, dword [0x1009382c]
mov edi, dword [0x10093828]
imul edi, dword [0x10093824]
mov ebx, dword [0x10093824]
imul ebx, dword [0x1009382c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x10093820]
imul ecx, dword [0x100937fc]
mov dword [ebp - 0x38], edx
mov edx, dword [0x10093820]
imul edx, dword [0x10093824]
mov dword [ebp - 0x34], eax
mov eax, dword [0x10093824]
imul eax, dword [0x1009382c]
mov dword [ebp - 0x30], esi
mov esi, dword [0x10093828]
imul esi, dword [0x10093824]
mov dword [ebp - 0x2c], edi
mov edi, dword [0x10093824]
imul edi, dword [0x1009382c]
mov dword [ebp - 0x28], ebx
mov ebx, dword [0x10093820]
imul ebx, dword [0x100937fc]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x10093820]
imul ecx, dword [0x10093824]
mov dword [ebp - 0x20], edx
mov edx, dword [0x10093824]
imul edx, dword [0x1009382c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10093828]
imul eax, dword [0x10093824]
mov dword [ebp - 0x18], esi
mov esi, dword [0x10093824]
imul esi, dword [0x1009382c]
add esi, dword [ebp - 0xc]
add esi, dword [0x1009382c]
sub esi, eax
sub esi, dword [0x10093820]
add esi, dword [0x10093824]
add edx, esi
sub edx, dword [0x1009382c]
sub edx, ecx
sub edx, dword [0x1009382c]
add edx, ebx
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
add edx, dword [0x1009382c]
add edi, edx
mov ecx, dword [ebp - 0x18]
sub edi, ecx
sub edi, dword [0x10093820]
add edi, dword [0x10093824]
mov edx, dword [ebp - 0x1c]
add edx, edi
sub edx, dword [0x1009382c]
mov eax, dword [ebp - 0x20]
sub edx, eax
sub edx, dword [0x1009382c]
mov ecx, dword [ebp - 0x24]
add edx, ecx
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
add edx, dword [0x1009382c]
mov eax, dword [ebp - 0x28]
add eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sub eax, dword [0x10093820]
add eax, dword [0x10093824]
mov edx, dword [ebp - 0x30]
add edx, eax
sub edx, dword [0x1009382c]
mov eax, dword [ebp - 0x34]
sub edx, eax
sub edx, dword [0x1009382c]
mov ecx, dword [ebp - 0x38]
add edx, ecx
sub edx, dword [0x10093824]
add edx, dword [0x10093828]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov byte [eax + edx], cl
jmp 0x1005506e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret