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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74c1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
push str.initCrypt_blowfish
mov edi, ecx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], ebx
call fcn.00474ef0
mov eax, dword [ebx + 0xc]
cdq
push 0x40
and edx, 7
lea ecx, [ebp - 0x50]
lea esi, [edx + eax]
push 0
push ecx
mov dword [ebp - 4], 0
sar esi, 3
call fcn.0070dc20
add ebx, 0x10
add esp, 0xc
mov ecx, ebx
call fcn.004033b0
mov ecx, ebx
cmp eax, 0x40
jbe 0x5614a8
call fcn.0040fbb0
test eax, eax
je 0x5614cd
push 0x40
mov ecx, ebx
call fcn.0040fbb0
push eax
lea edx, [ebp - 0x50]
push edx
jmp 0x5614c5
call fcn.0040fbb0
test eax, eax
je 0x5614cd
mov ecx, ebx
call fcn.004033b0
push eax
mov ecx, ebx
call fcn.0040fbb0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408d60
add esp, 0xc
mov edx, 0xc
sub edx, 0x89742c
mov dword [ebp - 0x54], edx
mov edx, 0x10
sub edx, 0x89742c
mov dword [ebp - 0x5c], edx
mov ecx, 8
sub ecx, 0x89742c
mov edx, 0x14
xor eax, eax
sub edx, 0x89742c
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], edx
jmp 0x561513
mov ecx, dword [ebp - 0x60]
mov ebx, dword [eax + 0x897428]
mov edx, dword [edi + 0x88]
mov dword [eax + edx], ebx
mov ebx, dword [eax + 0x89742c]
mov edx, dword [edi + 0x88]
mov dword [eax + edx + 4], ebx
mov ebx, dword [eax + 0x897430]
mov edx, dword [edi + 0x88]
lea ecx, [ecx + eax + 0x89742c]
mov dword [ecx + edx], ebx
mov ecx, dword [ebp - 0x54]
mov ebx, dword [eax + 0x897434]
lea edx, [ecx + eax + 0x89742c]
mov ecx, dword [edi + 0x88]
mov dword [edx + ecx], ebx
mov edx, dword [ebp - 0x5c]
mov ebx, dword [eax + 0x897438]
lea ecx, [edx + eax + 0x89742c]
mov edx, dword [edi + 0x88]
mov dword [ecx + edx], ebx
mov ecx, dword [ebp - 0x58]
mov ebx, dword [eax + 0x89743c]
lea edx, [ecx + eax + 0x89742c]
mov ecx, dword [edi + 0x88]
add eax, 0x18
mov dword [edx + ecx], ebx
cmp eax, 0x48
jl 0x561510
mov eax, 8
sub eax, 0x897474
mov dword [ebp - 0x58], eax
xor eax, eax
lea edx, [eax + 0xc]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x54], 0x40
mov edx, dword [eax + 0x897470]
mov ecx, dword [edi + 0x8c]
mov dword [eax + ecx], edx
mov edx, dword [eax + 0x897474]
mov ecx, dword [edi + 0x8c]
mov dword [eax + ecx + 4], edx
mov ecx, dword [ebp - 0x58]
mov ebx, dword [eax + 0x897478]
lea edx, [ecx + eax + 0x897474]
mov ecx, dword [edi + 0x8c]
mov dword [edx + ecx], ebx
mov ecx, dword [ebp - 0x60]
mov ebx, dword [eax + 0x89747c]
mov edx, dword [edi + 0x8c]
mov dword [ecx + edx], ebx
add ecx, 0x10
add eax, 0x10
dec dword [ebp - 0x54]
mov dword [ebp - 0x60], ecx
jne 0x5615bb
cmp eax, 0x1000
jl 0x5615ae
xor ecx, ecx
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x54], ecx
cmp byte [edi + 0x90], cl
je 0x561871
mov edi, edi
mov eax, dword [edi + 0x88]
lea edx, [eax + ebx - 0xc]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 1]
cdq
idiv esi
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x50]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 2]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [eax + ebx - 8]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 1]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x50]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 2]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [ebx + eax - 4]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 1]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x50]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 2]
cdq
idiv esi
movzx eax, byte [ebp + edx - 0x50]
mov ecx, dword [ebp - 0x58]
or ecx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [ebx + eax]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 1]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x50]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 2]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [ebx + eax + 4]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 1]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x50]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 2]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov dword [ebp - 0x54], edx
lea eax, [edx + 1]
cdq
idiv esi
mov eax, dword [ebp - 0x54]
add eax, 2
movzx ecx, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + eax - 0x52]
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
cdq
idiv esi
shl ecx, 8
and ecx, 0xffffff00
movzx eax, byte [ebp + edx - 0x50]
or eax, ecx
mov ecx, dword [edi + 0x88]
xor dword [ebx + ecx + 8], eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebx + ecx + 8]
add eax, 4
cdq
idiv esi
add ebx, 0x18
mov ecx, edx
mov dword [ebp - 0x54], ecx
cmp ebx, 0x54
jl 0x561630
jmp 0x561a98
mov edx, dword [edi + 0x88]
lea eax, [edx + ebx - 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ecx + 2]
cdq
idiv esi
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x4d]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 1]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [eax + ebx - 8]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 2]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x4d]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 1]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [eax + ebx - 4]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 2]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x4d]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 1]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
add eax, ebx
mov dword [ebp - 0x5c], eax
mov ecx, edx
lea eax, [ecx + 2]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x4d]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 1]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
mov eax, dword [edi + 0x88]
mov ecx, edx
lea edx, [eax + ebx + 4]
mov dword [ebp - 0x5c], edx
lea eax, [ecx + 2]
cdq
idiv esi
mov dword [ebp - 0x54], ecx
movzx eax, byte [ebp + edx - 0x50]
movzx edx, byte [ebp + ecx - 0x4d]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x58], eax
lea eax, [ecx + 1]
cdq
idiv esi
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
cdq
idiv esi
mov eax, dword [ebp - 0x5c]
shl ecx, 8
movzx edx, byte [ebp + edx - 0x50]
or ecx, edx
xor dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, 4
cdq
idiv esi
lea eax, [edx + 2]
mov dword [ebp - 0x54], edx
cdq
idiv esi
movzx ecx, byte [ebp + edx - 0x50]
mov eax, dword [ebp - 0x54]
movzx edx, byte [ebp + eax - 0x4d]
inc eax
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x54]
cdq
idiv esi
shl ecx, 8
and ecx, 0xffffff00
movzx eax, byte [ebp + edx - 0x50]
or eax, ecx
mov ecx, dword [edi + 0x88]
xor dword [ecx + ebx + 8], eax
mov eax, dword [ebp - 0x54]
lea ecx, [ecx + ebx + 8]
add eax, 4
cdq
idiv esi
add ebx, 0x18
mov ecx, edx
mov dword [ebp - 0x54], ecx
cmp ebx, 0x54
jl 0x561871
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x60], ebx
cmp byte [edi + 0x90], bl
je 0x561b22
mov edi, edi
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0055ecf0
mov ecx, dword [edi + 0x88]
mov edx, dword [ebp - 0x54]
mov dword [esi + ecx], edx
mov eax, dword [edi + 0x88]
mov ecx, dword [ebp - 0x60]
mov dword [esi + eax + 4], ecx
add esi, 8
cmp esi, 0x48
jl 0x561ab0
xor esi, esi
mov ebx, 0x80
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0055ecf0
mov ecx, dword [edi + 0x8c]
mov edx, dword [ebp - 0x54]
mov dword [esi + ecx], edx
mov eax, dword [edi + 0x8c]
mov ecx, dword [ebp - 0x60]
mov dword [esi + eax + 4], ecx
add esi, 8
dec ebx
jne 0x561ae7
cmp esi, 0x1000
jl 0x561ae2
jmp 0x561b96
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0055f140
mov ecx, dword [edi + 0x88]
mov edx, dword [ebp - 0x54]
mov dword [esi + ecx], edx
mov eax, dword [edi + 0x88]
mov ecx, dword [ebp - 0x60]
mov dword [esi + eax + 4], ecx
add esi, 8
cmp esi, 0x48
jl 0x561b22
xor esi, esi
mov ebx, 0x80
lea esp, [esp]
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0055f140
mov ecx, dword [edi + 0x8c]
mov edx, dword [ebp - 0x54]
mov dword [esi + ecx], edx
mov eax, dword [edi + 0x8c]
mov ecx, dword [ebp - 0x60]
mov dword [esi + eax + 4], ecx
add esi, 8
dec ebx
jne 0x561b60
cmp esi, 0x1000
jl 0x561b54
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x561bd2
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 4]
cmp ecx, 3
je 0x561bad
cmp ecx, 4
jne 0x561bd2
mov edx, dword [edi + 0x80]
lea esi, [eax + 0x30]
push edx
mov ecx, esi
call fcn.004033b0
push eax
mov ecx, esi
call fcn.0040fbb0
push eax
lea ecx, [ebx + 0x484]
call fcn.00559cb0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00474f80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 0x10