Function at 0x495390
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 0x5da4a0
push ebp
call fcn.004941c0
add esp, 0xc
lea eax, [ebp + 0x48]
push 0x400
push 0x5da4e8
push eax
call fcn.004941c0
add esp, 0xc
lea eax, [ebp + 0x448]
push 0x400
push 0x5da8e8
push eax
call fcn.004941c0
add esp, 0xc
lea eax, [ebp + 0x848]
push 0x400
push 0x5dace8
push eax
call fcn.004941c0
add esp, 0xc
lea eax, [ebp + 0xc48]
push 0x400
push 0x5db0e8
push eax
call fcn.004941c0
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 0x495425
mov eax, dword [esp + 0x18]
add dword [esp + 0x18], 4
xor dword [eax], ebx
dec dword [esp + 0x1c]
jne 0x49541e
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 [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4954a4
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 0x495478
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00495800
add esp, 8
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4954f6
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 0x4954ca
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 0x495460
lea esi, [ebp + 0x48]
mov edi, 0x80
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x49555a
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 0x49552e
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00495800
add esp, 8
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4955ac
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 0x495580
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 0x495516
lea edi, [ebp + 0x448]
mov esi, 0x80
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x495613
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 0x4955e7
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00495800
add esp, 8
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x495665
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 0x495639
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 0x4955cf
lea esi, [ebp + 0x848]
mov edi, 0x80
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4956cc
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 0x4956a0
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00495800
add esp, 8
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x49571e
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 0x4956f2
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 0x495688
lea edi, [ebp + 0xc48]
mov esi, 0x80
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x495785
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 0x495759
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00495800
add esp, 8
xor eax, eax
mov ax, word [0x5db4e8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4957d7
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 0x4957ab
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 0x495741
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret