Function at 0x411e90
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
push ebx
mov edx, 0xc
sub edx, 0x4fea1c
push ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 8], edx
push esi
mov edx, 0x10
sub edx, 0x4fea1c
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov ecx, 8
mov esi, eax
sub ecx, 0x4fea1c
mov edx, 0x14
xor eax, eax
sub edx, 0x4fea1c
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
jmp 0x411ee4
mov ecx, dword [esp + 0x20]
mov ebx, dword [eax + 0x4fea18]
mov edx, dword [ebp]
mov dword [eax + edx], ebx
mov ebx, dword [eax + 0x4fea1c]
mov edx, dword [ebp]
mov dword [eax + edx + 4], ebx
mov ebx, dword [eax + 0x4fea20]
mov edx, dword [ebp]
lea ecx, [ecx + eax + 0x4fea1c]
mov dword [ecx + edx], ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + 0x4fea24]
lea edx, [ecx + eax + 0x4fea1c]
mov ecx, dword [ebp]
mov dword [edx + ecx], ebx
mov edx, dword [esp + 0x14]
mov ebx, dword [eax + 0x4fea28]
lea ecx, [edx + eax + 0x4fea1c]
mov edx, dword [ebp]
mov dword [ecx + edx], ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [eax + 0x4fea2c]
lea edx, [ecx + eax + 0x4fea1c]
mov ecx, dword [ebp]
add eax, 0x18
cmp eax, 0x48
mov dword [edx + ecx], ebx
jb 0x411ee0
mov eax, 8
sub eax, 0x4fea64
mov dword [esp + 0x18], eax
xor eax, eax
lea ecx, [ecx]
lea edx, [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0x40
nop
mov edx, dword [eax + 0x4fea60]
mov ecx, dword [ebp + 4]
mov dword [eax + ecx], edx
mov edx, dword [eax + 0x4fea64]
mov ecx, dword [ebp + 4]
mov dword [eax + ecx + 4], edx
mov ecx, dword [esp + 0x18]
mov ebx, dword [eax + 0x4fea68]
lea edx, [ecx + eax + 0x4fea64]
mov ecx, dword [ebp + 4]
mov dword [edx + ecx], ebx
mov ecx, dword [esp + 0x20]
mov ebx, dword [eax + 0x4fea6c]
mov edx, dword [ebp + 4]
mov dword [ecx + edx], ebx
add ecx, 0x10
add eax, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x20], ecx
jne 0x411f80
cmp eax, 0x1000
jb 0x411f70
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ecx, 0xc
mov eax, dword [ebp]
lea edx, [ecx + eax - 0xc]
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [ebx + 1]
div esi
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
xor edx, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
div esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x18]
or edx, eax
mov eax, dword [esp + 0x20]
add eax, 3
shl edx, 8
mov dword [esp + 0x18], edx
xor edx, edx
div esi
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
mov eax, dword [esp + 0x20]
add eax, 4
xor edx, edx
div esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax - 8]
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [ebx + 1]
div esi
mov dword [esp + 0x20], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
xor edx, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
div esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
xor edx, edx
mov eax, ebx
add eax, 3
div esi
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
xor edx, edx
mov eax, ebx
add eax, 4
div esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax - 4]
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [ebx + 1]
div esi
mov dword [esp + 0x20], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
xor edx, edx
div esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
xor edx, edx
mov eax, ebx
add eax, 3
div esi
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
xor edx, edx
mov eax, ebx
add eax, 4
div esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [ebx + 1]
div esi
mov dword [esp + 0x20], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
xor edx, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
div esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
xor edx, edx
mov eax, ebx
add eax, 3
div esi
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
xor edx, edx
mov eax, ebx
add eax, 4
div esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax + 4]
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [ebx + 1]
div esi
mov dword [esp + 0x20], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
xor edx, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
div esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov eax, ebx
mov dword [esp + 0x18], edx
add eax, 3
xor edx, edx
div esi
movzx edx, byte [edx + edi]
mov eax, dword [esp + 0x18]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
xor edx, edx
mov eax, ebx
add eax, 4
div esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax + 8]
mov dword [esp + 0x14], edx
xor edx, edx
lea eax, [ebx + 1]
div esi
mov dword [esp + 0x20], ebx
add ecx, 0x18
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
xor edx, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
div esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
xor edx, edx
mov eax, ebx
add eax, 3
div esi
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
mov eax, ebx
add eax, 4
xor edx, edx
div esi
cmp ecx, 0x54
mov ebx, edx
mov dword [esp + 0x20], ebx
jb 0x411fe3
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edi
xor esi, esi
lea ebx, [ebx]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, ebp
call fcn.00411730
mov edx, dword [ebp]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [ebp]
mov edx, dword [esp + 0x10]
mov dword [esi + ecx + 4], edx
add esi, 8
cmp esi, 0x48
jb 0x412250
xor esi, esi
mov edi, 0x80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, ebp
call fcn.00411730
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
mov dword [esi + ecx + 4], edx
add esi, 8
sub edi, 1
jne 0x412285
cmp esi, 0x1000
jb 0x412280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4