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

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push ebp
xor edi, edi
push 0x48
mov ebp, dword [esp + 0x28]
push 0x6360b0
push ebp
call fcn.00578070
add esp, 0xc
lea eax, [ebp + 0x48]
push 0x400
push 0x6360f8
push eax
call fcn.00578070
add esp, 0xc
lea eax, [ebp + 0x448]
push 0x400
push 0x6364f8
push eax
call fcn.00578070
add esp, 0xc
lea eax, [ebp + 0x848]
push 0x400
push 0x6368f8
push eax
call fcn.00578070
add esp, 0xc
lea eax, [ebp + 0xc48]
push 0x400
push 0x636cf8
push eax
call fcn.00578070
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x12
add esp, 0xc
xor ebx, ebx
mov esi, 4
shl ebx, 8
xor eax, eax
mov al, byte [ecx + edi]
or eax, ebx
mov ebx, eax
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x2c]
mov edi, edx
dec esi
jne 0x5792d5
mov eax, dword [esp + 0x18]
add dword [esp + 0x18], 4
xor dword [eax], ebx
dec dword [esp + 0x1c]
jne 0x5792ce
xor eax, eax
mov edi, ebp
mov esi, 9
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x579354
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x579328
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.005796b0
add esp, 8
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x5793a6
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x57937a
mov eax, dword [esp + 0x10]
add edi, 8
dec esi
mov dword [edi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
jne 0x579310
lea esi, [ebp + 0x48]
mov edi, 0x80
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x57940a
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x5793de
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.005796b0
add esp, 8
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x57945c
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x579430
mov eax, dword [esp + 0x10]
add esi, 8
dec edi
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi - 4], ecx
jne 0x5793c6
lea edi, [ebp + 0x448]
mov esi, 0x80
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x5794c3
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x579497
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.005796b0
add esp, 8
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x579515
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x5794e9
mov eax, dword [esp + 0x10]
add edi, 8
dec esi
mov dword [edi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
jne 0x57947f
lea esi, [ebp + 0x848]
mov edi, 0x80
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x57957c
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x579550
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.005796b0
add esp, 8
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x5795ce
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x5795a2
mov eax, dword [esp + 0x10]
add esi, 8
dec edi
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi - 4], ecx
jne 0x579538
lea edi, [ebp + 0xc48]
mov esi, 0x80
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x579635
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x579609
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.005796b0
add esp, 8
xor eax, eax
mov ax, word [0x6370f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x579687
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x57965b
mov eax, dword [esp + 0x10]
add edi, 8
dec esi
mov dword [edi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
jne 0x5795f1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret