Function at 0x195ed8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1964b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.000142e0
mov eax, dword [ebp - 0x18]
call fcn.00013fac
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.00014170
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov edx, 0x1964c8
call fcn.000140bc
jne 0x195f6c
push 0
push 4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x195f84
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 4]
sub eax, 2
sbb edx, 0
push edx
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
push 0
push 4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, 0x75d6ee39
mov dl, 1
mov eax, dword [0xd10f8]
call fcn.000d1150
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x1960df
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0xc56e8]
call fcn.000c6d4c
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x1960c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x195e60]
call fcn.000154bc
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x19603a
inc esi
xor ebx, ebx
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x2c]
call fcn.000c6e1c
mov eax, dword [ebp - 0x28]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x14]
call fcn.000142e0
cmp dword [ebp - 0x14], 0
jle 0x196036
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
call fcn.00014170
mov edx, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
call fcn.000c6e1c
inc ebx
dec esi
jne 0x195ffa
cmp dword [ebp - 0x10], 0x64
jl 0x19608f
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x19608f
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
call fcn.00013fac
test eax, eax
jle 0x19608b
mov dword [ebp - 0x4c], eax
mov edi, 1
mov eax, dword [ebp - 0x1c]
call fcn.000d1240
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + ebx*4]
xor al, byte [edx + edi - 1]
push eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + ebx*4]
call fcn.0001417c
pop edx
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x4c]
jne 0x196062
inc ebx
dec esi
jne 0x19604b
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x1960ac
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 4]
call fcn.00196b50
inc ebx
dec esi
jne 0x19609a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1960c9
mov eax, dword [ebp - 0x2c]
call fcn.00013004
ret